/* Container & Layout - 11x.ai Proportions */
.container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 40px;
  }
}

/* ==========================================================================
   Motion System: Choreographed Reveals & Tactile Micro-interactions
   ========================================================================== */

/* Header Slide-Down on Load */
.site-header {
  animation: headerSlideDown var(--duration-smooth) var(--ease-out-smooth) both;
}

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

/* Choreographed Hero Staggered Reveals */
.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeInUp var(--duration-deliberate) var(--ease-out-smooth) forwards;
  will-change: opacity, transform;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.28s; }
.delay-4 { animation-delay: 0.38s; }
.delay-5 { animation-delay: 0.48s; }
.delay-6 { animation-delay: 0.58s; }

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

/* Right-side Hero Visual Card Entrance */
.hero-visual-stack.reveal-item {
  animation: heroCardEntrance 0.75s var(--ease-out-smooth) 0.24s forwards;
}

@keyframes heroCardEntrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Scroll-triggered reveal with GPU acceleration */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-deliberate) var(--ease-out-smooth),
              transform var(--duration-deliberate) var(--ease-out-smooth);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   Interactive Controls: Clear Hover, Active (Pressed) & Focus-Visible
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-body-sm);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast),
              color var(--transition-fast),
              filter var(--transition-fast);
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

/* Hover (Protected for touch screens) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

/* Active / Pressed state: Immediate tactile micro-compression */
.btn:active {
  transform: translateY(1px) scale(0.985) !important;
}

/* Keyboard Accessible Focus */
.btn:focus-visible {
  outline: 2px solid var(--color-leaf-bright);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--color-coral-pulse);
  color: #17145C;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(110, 208, 74, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background-color: var(--color-coral-pulse-hover);
    color: #0f0c3c;
    box-shadow: 0 8px 24px rgba(110, 208, 74, 0.55);
    filter: brightness(1.03);
  }
}

.btn-primary:active {
  box-shadow: 0 2px 6px rgba(110, 208, 74, 0.3);
  filter: brightness(0.97);
}

.btn-ghost-white {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-paper-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost-white:hover {
    border-color: var(--color-paper-white);
    background-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }
}

.btn-ghost-white:active {
  background-color: rgba(255, 255, 255, 0.14);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-ink-black);
  border: 1.5px solid var(--color-ink-black);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-dark:hover {
    background-color: var(--color-ink-black);
    color: var(--color-paper-white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--text-caption);
}

/* ==========================================================================
   1. Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(23, 20, 92, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  transition: background-color var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-paper-white);
  font-weight: var(--font-weight-bold);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.logo-icon-box {
  width: 32px;
  height: 32px;
  background: var(--color-leaf-bright);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-canopy-green);
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-glow-leaf);
}

.nav-menu {
  display: none;
  list-style: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
  }
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--color-canopy-green);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 12px;
  min-width: 260px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.97);
  transform-origin: top center;
  transition: opacity var(--duration-fast) var(--ease-out-smooth),
              transform var(--duration-fast) var(--ease-out-smooth),
              visibility var(--duration-fast);
  z-index: 100;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast);
  will-change: transform;
}

.dropdown-link svg {
  width: 15px;
  height: 15px;
  color: #ffffff; /* Blanco en fondo oscuro */
  flex-shrink: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-leaf-bright);
  transform: translateX(3px);
}

.dropdown-link:hover svg {
  color: var(--color-leaf-bright);
  transform: scale(1.1);
}

.dropdown-link:active {
  transform: scale(0.985);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-body-sm);
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-leaf-bright);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-leaf-bright);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile Hamburger Toggle Button */
.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  z-index: 101;
}

.nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--color-leaf-bright);
}

.nav-mobile-toggle .hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out-smooth), opacity var(--duration-fast);
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px) {
  .nav-mobile-toggle {
    display: none !important;
  }
}

/* Mobile Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out-smooth), visibility var(--duration-normal);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Drawer Container */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 360px);
  background: #120f4c;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--duration-smooth) var(--ease-out-smooth), visibility var(--duration-smooth);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-leaf-bright);
}

.mobile-drawer-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-main-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-main-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-leaf-bright);
}

.mobile-nav-accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-accordion-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-accordion-toggle .accordion-chevron {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast) var(--ease-out-smooth);
}

.mobile-accordion-toggle[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.mobile-accordion-panel {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px 12px 10px;
}

.mobile-accordion-panel.open {
  display: flex;
}

.mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-sublink:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-leaf-bright);
}

.sublink-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.nav-actions .btn,
.nav-actions .btn-primary {
  background-color: #ffffff;
  color: #17145C;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-fast), 
              color var(--transition-fast), 
              border-color var(--transition-fast),
              box-shadow var(--transition-fast), 
              transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .nav-actions .btn:hover,
  .nav-actions .btn-primary:hover {
    background-color: var(--color-leaf-bright);
    color: #ffffff;
    border-color: var(--color-leaf-bright);
    box-shadow: 0 6px 20px rgba(110, 208, 74, 0.45);
    filter: brightness(1.02);
  }
}

.nav-actions .btn:active,
.nav-actions .btn-primary:active {
  background-color: #5ec03a;
  color: #ffffff;
  border-color: #5ec03a;
  box-shadow: 0 2px 8px rgba(110, 208, 74, 0.3);
}

/* Ocultar botón CTA en la barra de navegación en vista móvil/celular para evitar saturación junto al menú hamburguesa */
@media (max-width: 991px) {
  .nav-actions .btn,
  .nav-actions .btn-primary,
  .nav-actions .btn-open-demo-modal {
    display: none !important;
  }
}

/* ==========================================================================
   2. Imposing Hero Section with Right-Aligned Photorealistic Subject
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #0b101d;
  color: var(--color-paper-white);
  padding: 85px 0 95px;
  overflow: hidden;
}

/* Background Crossfade Slideshow */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.2s ease;
  transform: scale(1.04);
  will-change: opacity, transform;
  z-index: 1;
}

.hero-bg-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 5;
  opacity: 1;
  pointer-events: none;
  filter: brightness(0.88) contrast(1.06);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(11, 16, 29, 0.95) 0%, 
    rgba(11, 16, 29, 0.82) 36%, 
    rgba(11, 16, 29, 0.28) 62%, 
    rgba(11, 16, 29, 0.08) 85%
  );
  z-index: 6;
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero-bg-overlay {
    background: linear-gradient(180deg, 
      rgba(11, 16, 29, 0.95) 0%, 
      rgba(11, 16, 29, 0.72) 48%, 
      rgba(11, 16, 29, 0.35) 100%
    );
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 520px;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    min-height: 540px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 650px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(110, 208, 74, 0.15);
  border: 1px solid rgba(110, 208, 74, 0.35);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-leaf-bright);
  width: fit-content;
}

.hero-badge-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-leaf-bright);
  box-shadow: 0 0 10px var(--color-leaf-bright);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-title .highlight {
  color: var(--color-leaf-bright);
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-decoration-color: rgba(110, 208, 74, 0.4);
  text-underline-offset: 6px;
}

/* Rotating Hero Keyword */
.rotating-word-container {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  min-width: 200px;
}

.rotating-word-target {
  display: inline-block;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.35s ease;
  will-change: transform, opacity, filter;
}

.rotating-word-target.word-exit {
  opacity: 0;
  transform: translateY(-18px);
  filter: blur(4px);
}

.rotating-word-target.word-enter {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
}

.hero-description {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--color-mint-wash);
  line-height: 1.5;
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

/* Hero Live Floating Widget (Minimalist Unobtrusive Glass Pill) */
.hero-visual-stack {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-height: 440px;
  pointer-events: none;
}

.hero-visual-controls {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-live-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: rgba(11, 16, 29, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(110, 208, 74, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(110, 208, 74, 0.2);
  animation: floatCard 6s ease-in-out infinite;
  color: #ffffff;
  user-select: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hero-slides-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 16, 29, 0.65);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-slide-dot {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.hero-slide-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slide-dot.active {
  width: 36px;
  background: var(--color-leaf-bright);
  box-shadow: 0 0 12px rgba(110, 208, 74, 0.6);
}

.pill-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color-leaf-bright);
  box-shadow: 0 0 12px var(--color-leaf-bright);
  animation: pulseDot 1.8s infinite ease-in-out;
}

.hero-live-pill-text {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.hero-live-pill-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-leaf-bright);
  background: rgba(110, 208, 74, 0.15);
  border: 1px solid rgba(110, 208, 74, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

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

.hero-phone-top {
  background: var(--color-canopy-green);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-phone-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-leaf-bright);
  color: var(--color-canopy-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.hero-phone-body {
  padding: 16px;
  background: #f8faf9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble-real {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-bubble-real.agent {
  background: #ffffff;
  color: var(--color-charcoal);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble-real.user {
  background: #d9fdd3;
  color: #111b21;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Mini Waveform Visualizer in Phone */
.mini-waveform-box {
  background: #17145C;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.wave-bar {
  width: 3px;
  background: var(--color-leaf-bright);
  border-radius: 2px;
  height: 6px;
  animation: soundWave 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; height: 14px; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; height: 18px; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; height: 10px; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; height: 16px; }
.wave-bar:nth-child(6) { animation-delay: 0.75s; height: 8px; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.2); }
}

/* Infinite Continuous Brand Logo Marquee */
.hero-logo-strip {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero-logo-label {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  flex: 1;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.logo-marquee-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: infiniteMarqueeScroll 28s linear infinite;
  will-change: transform;
}

.logo-marquee-wrapper:hover .logo-marquee-track {
  animation-play-state: paused;
}

.logo-marquee-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-badge-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  user-select: none;
  cursor: default;
}

.brand-logo-svg {
  width: 17px;
  height: 17px;
  color: #ffffff; /* Blanco en fondo oscuro */
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.logo-badge-item:hover {
  background: rgba(110, 208, 74, 0.16);
  border-color: rgba(110, 208, 74, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.logo-badge-item:hover .brand-logo-svg {
  color: var(--color-leaf-bright); /* Verde en hover */
  transform: scale(1.12);
}

.logo-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-leaf-bright);
  box-shadow: 0 0 6px var(--color-leaf-bright);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes infiniteMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

/* ==========================================================================
   3. The 7 Services (Pastel Cards Grid)
   ========================================================================== */
.services-section {
  background-color: var(--color-paper-white);
  padding: 100px 0;
}

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

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(23, 20, 92, 0.08);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-semibold);
  color: var(--color-canopy-green);
  margin-bottom: 16px;
}

.section-heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--color-ink-black);
  margin-bottom: 16px;
}

.section-subtext {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--color-graphite);
  line-height: 1.45;
}

/* ==========================================================================
   3. The 7 Core Services Section (Bento Grid Architecture)
   ========================================================================== */
/* ==========================================================================
   3. The 7 Core Services Section (Bento Grid: 3 Row 1 + 4 Row 2)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-card:nth-child(7) {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
  }
  /* Row 1: 3 cards across (span 4 each: 4 * 3 = 12) */
  .service-card.bento-row1 {
    grid-column: span 4;
  }
  /* Row 2: 4 cards across (span 3 each: 3 * 4 = 12) */
  .service-card.bento-row2 {
    grid-column: span 3;
  }
}

.service-card {
  border-radius: 22px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 92, 0.08);
  box-shadow: 0 4px 18px rgba(23, 20, 92, 0.04);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(23, 20, 92, 0.12);
  border-color: rgba(110, 208, 74, 0.45);
}

.service-card-top {
  display: flex;
  flex-direction: column;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17145C;
  box-shadow: 0 2px 8px rgba(23, 20, 92, 0.06);
}

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

.service-card-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #17145C;
  margin: 0 0 10px;
}

.service-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 14px;
}

.service-key-benefit {
  background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid #6ED04A;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #17145C;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #17145C;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card-link:hover {
  color: #15803d;
  transform: translateX(3px);
}

.bento-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 20, 92, 0.06);
  color: #17145C;
  border: 1px solid rgba(23, 20, 92, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bento-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #17145C;
  display: inline-block;
  flex-shrink: 0;
}

.service-card.card-featured .bento-badge-pill,
.service-card:first-child .bento-badge-pill {
  background: rgba(110, 208, 74, 0.22);
  color: #0d380b;
  border-color: rgba(110, 208, 74, 0.45);
}

.service-card.card-featured .bento-dot,
.service-card:first-child .bento-dot {
  background-color: var(--color-leaf-bright);
}

@media (min-width: 1024px) {
  .service-card.bento-row1 {
    min-height: 300px;
    padding: 32px 28px;
  }
  .service-card.bento-row1 .service-card-title {
    font-size: clamp(21px, 1.6vw, 25px);
  }
  .service-card.bento-row2 {
    min-height: 310px;
    padding: 28px 22px;
  }
  .service-card.bento-row2 .service-card-title {
    font-size: clamp(18px, 1.35vw, 21px);
  }
  .service-card.bento-row2 .service-card-desc {
    font-size: 13px;
  }
}

/* ==========================================================================
   Mobile-Only Minimalist Redesign for the 7 Core Services (< 680px)
   Eliminates excess whitespace, compacts card height, focuses on Title + 1 Benefit
   ========================================================================== */
@media (max-width: 679px) {
  .services-section {
    padding: 40px 0;
  }

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

  .services-grid .service-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    min-height: unset !important;
    padding: 16px 18px !important;
    border-radius: 16px !important;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(23, 20, 92, 0.04);
    border: 1px solid rgba(23, 20, 92, 0.08);
  }

  .services-grid .service-card:hover {
    transform: translateY(-2px);
  }

  .service-card-top {
    gap: 6px;
  }

  .service-card-header {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .service-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    min-width: 36px;
    box-shadow: 0 2px 6px rgba(23, 20, 92, 0.05);
  }

  .service-card-icon svg {
    width: 18px;
    height: 18px;
  }

  .bento-badge-pill {
    padding: 3px 8px;
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }

  .service-card-title {
    font-size: 17px !important;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 2px 0;
    color: #17145C;
  }

  /* Ocultar descripción extensa en vista celular para eliminar el espacio en blanco */
  .service-card-desc {
    display: none !important;
  }

  /* 1 Beneficio único minimalista y visualmente destacado */
  .service-key-benefit {
    margin: 2px 0 0 0;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    border-left-width: 3px;
    border-left-color: #6ED04A;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
  }

  .service-key-benefit strong {
    color: #15803d;
    font-weight: 700;
  }

  .service-card-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #17145C;
    margin-top: 2px;
    padding-top: 4px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

/* Dynamic Assembling Entrance for Services Grid Cards */
.services-grid .service-card {
  opacity: 0;
  transform: translateY(50px) scale(0.92) rotateX(10deg);
  filter: blur(8px);
  transform-origin: bottom center;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1),
              filter 0.7s ease,
              box-shadow 0.4s ease;
  will-change: opacity, transform, filter;
}

.services-grid .service-card .service-card-top {
  transform: translateY(-16px);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease;
}

.services-grid .service-card .service-card-visual {
  transform: translateY(45px);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.75s ease;
}

.services-grid.is-visible .service-card {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
  filter: blur(0);
}

.services-grid.is-visible .service-card .service-card-top,
.services-grid.is-visible .service-card .service-card-visual {
  transform: translateY(0);
  opacity: 1;
}

/* Staggered micro-assembly delays */
.services-grid.is-visible .service-card:nth-child(1) { transition-delay: 0.05s; }
.services-grid.is-visible .service-card:nth-child(1) .service-card-top { transition-delay: 0.12s; }
.services-grid.is-visible .service-card:nth-child(1) .service-card-visual { transition-delay: 0.22s; }

.services-grid.is-visible .service-card:nth-child(2) { transition-delay: 0.15s; }
.services-grid.is-visible .service-card:nth-child(2) .service-card-top { transition-delay: 0.22s; }
.services-grid.is-visible .service-card:nth-child(2) .service-card-visual { transition-delay: 0.32s; }

.services-grid.is-visible .service-card:nth-child(3) { transition-delay: 0.25s; }
.services-grid.is-visible .service-card:nth-child(3) .service-card-top { transition-delay: 0.32s; }
.services-grid.is-visible .service-card:nth-child(3) .service-card-visual { transition-delay: 0.42s; }

.services-grid.is-visible .service-card:nth-child(4) { transition-delay: 0.35s; }
.services-grid.is-visible .service-card:nth-child(4) .service-card-top { transition-delay: 0.42s; }
.services-grid.is-visible .service-card:nth-child(4) .service-card-visual { transition-delay: 0.52s; }

.services-grid.is-visible .service-card:nth-child(5) { transition-delay: 0.45s; }
.services-grid.is-visible .service-card:nth-child(5) .service-card-top { transition-delay: 0.52s; }
.services-grid.is-visible .service-card:nth-child(5) .service-card-visual { transition-delay: 0.62s; }

.services-grid.is-visible .service-card:nth-child(6) { transition-delay: 0.55s; }
.services-grid.is-visible .service-card:nth-child(6) .service-card-top { transition-delay: 0.62s; }
.services-grid.is-visible .service-card:nth-child(6) .service-card-visual { transition-delay: 0.72s; }

.services-grid.is-visible .service-card:nth-child(7) { transition-delay: 0.65s; }
.services-grid.is-visible .service-card:nth-child(7) .service-card-top { transition-delay: 0.72s; }
.services-grid.is-visible .service-card:nth-child(7) .service-card-visual { transition-delay: 0.82s; }

/* Shine Sweep Diagonal Reflection on Hover */
.service-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -90%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(26deg);
  pointer-events: none;
  opacity: 0;
  z-index: 6;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px -8px rgba(23, 20, 92, 0.14);
}

.service-card:hover::after {
  opacity: 1;
  left: 140%;
  transition: left 0.85s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.25s ease-out;
}

.service-card.card-featured {
  background-color: var(--color-mint-wash);
}

.service-card.bg-mint { background-color: var(--color-mint-wash); }
.service-card.bg-sky { background-color: var(--color-sky-wash); }
.service-card.bg-cream { background-color: var(--color-cream); }
.service-card.bg-lilac { background-color: var(--color-lilac-wash); }
.service-card.bg-sage { background-color: var(--color-sage-wash); }
.service-card.bg-peach { background-color: var(--color-peach-wash); }

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17145C;
  border: 1px solid rgba(23, 20, 92, 0.08);
  box-shadow: 0 2px 10px rgba(23, 20, 92, 0.06);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.service-card-icon svg {
  width: 20px;
  height: 20px;
  color: #17145C;
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-card-icon {
  transform: scale(1.08) translateY(-2px);
  background: #17145C;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 20, 92, 0.2);
}

.service-card:hover .service-card-icon svg {
  color: #ffffff;
}

.service-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #17145C;
  margin: 0 0 10px;
}

.service-card.bento-row1 .service-card-title {
  font-size: clamp(23px, 1.85vw, 27px);
}

.service-card.bento-row2 .service-card-title {
  font-size: clamp(19px, 1.45vw, 22px);
}

.service-card-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}

.service-card.bento-row2 .service-card-desc {
  font-size: 13px;
  line-height: 1.45;
}

.service-key-benefit {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 20, 92, 0.08);
  border-left: 3.5px solid #6ED04A;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #17145C;
  margin-bottom: 18px;
}

.service-key-benefit strong {
  font-weight: 700;
  color: #17145C;
}

.service-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: #17145C;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.service-card-link:hover {
  gap: 9px;
  color: #15803d;
  transform: translateX(2px);
}

.service-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 20, 92, 0.05);
  border: 1px solid rgba(23, 20, 92, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: #17145C; /* Azul en fondos claros */
  line-height: 1.3;
}

.service-tag svg {
  width: 12px;
  height: 12px;
  color: #17145C; /* Azul en fondos claros */
  flex-shrink: 0;
}

/* ==========================================================================
   Service Card Turn.io Style Mockup Illustrations
   ========================================================================== */
.service-card {
  padding: 32px 28px 0 28px;
  min-height: 520px;
}

.service-card-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-visual {
  width: 100%;
  height: 245px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
  overflow: hidden;
}

/* Concentric Ripple Badge */
.mockup-ripple-badge {
  position: absolute;
  left: 4px;
  bottom: 24px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.mockup-ripple-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ripple-outer, rgba(255, 100, 59, 0.15));
}

.mockup-ripple-badge::after {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--ripple-mid, rgba(255, 100, 59, 0.28));
}

.mockup-ripple-inner {
  position: relative;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ripple-solid, #ff643b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Phone Mockup Frame */
.mockup-phone-frame {
  margin-left: auto;
  width: 248px;
  background: #efeae2;
  border: 5px solid #111b21;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-bottom: -4px;
}

.mockup-phone-header {
  background: #075e54;
  color: #ffffff;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
}

.mockup-phone-header.navy {
  background: #17145C;
}

.mockup-phone-header.insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.mockup-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
}

.mockup-avatar.navy {
  background: #17145C;
}

.mockup-avatar.lime {
  background: #6ED04A;
  color: #17145C;
}

.mockup-phone-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #efeae2;
  min-height: 190px;
}

.mockup-chat-bubble {
  background: #ffffff;
  border-radius: 10px 10px 10px 2px;
  padding: 6px 8px;
  font-size: 10.5px;
  color: #111b21;
  line-height: 1.32;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 92%;
}

.mockup-chat-bubble.highlight {
  background: #dcf8c6;
  border-radius: 10px 10px 2px 10px;
  align-self: flex-end;
}

.mockup-file-attach {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  background: #f1f5f9;
  border-radius: 6px;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
  color: #17145C;
}

.mockup-quick-replies {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.mockup-reply-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  color: #007aff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Card Window Mockup (for Web, CRM, Knowledge, Email) */
.mockup-window-frame {
  margin-left: auto;
  width: 256px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-bottom: -4px;
  overflow: hidden;
}

.mockup-window-top {
  background: #f3f4f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-window-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.mockup-window-dot.red { background: #ef4444; }
.mockup-window-dot.yellow { background: #f59e0b; }
.mockup-window-dot.green { background: #10b981; }

.mockup-window-body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11px;
}

.mockup-window-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 10px;
  line-height: 1.35;
}

/* ==========================================================================
   4. Interactive Client Sandbox (Chatwoot & ElevenLabs Ready)
   ========================================================================== */
.sandbox-section {
  position: relative;
  background-color: #0b0f24;
  background-image: 
    linear-gradient(135deg, 
      rgba(11, 15, 36, 0.90) 0%, 
      rgba(23, 20, 92, 0.82) 48%, 
      rgba(11, 15, 36, 0.92) 100%
    ),
    url('../assets/receptionist-latina-closeup.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  padding: 110px 0;
  border-top: 1px solid rgba(110, 208, 74, 0.25);
  border-bottom: 1px solid rgba(110, 208, 74, 0.25);
  color: #ffffff;
  overflow: hidden;
}

.sandbox-section .section-header-center .section-heading-lg {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.sandbox-section .section-header-center .section-subtext {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}

.sandbox-section .section-header-center .section-tag-pill {
  background: rgba(110, 208, 74, 0.18) !important;
  color: var(--color-leaf-bright) !important;
  border: 1px solid rgba(110, 208, 74, 0.45);
}

.sandbox-container-box {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-3xl);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(110, 208, 74, 0.12);
}

.sandbox-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--color-frost-gray);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.sandbox-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-slate);
  background: #fff;
  border: 1px solid var(--color-frost-gray);
  transition: transform var(--transition-fast),
              background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  will-change: transform;
  cursor: pointer;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .sandbox-tab-btn:hover {
    color: var(--color-ink-black);
    transform: translateY(-1px);
    border-color: rgba(23, 20, 92, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
}

.sandbox-tab-btn:active {
  transform: translateY(1px) scale(0.975);
}

.sandbox-tab-btn:focus-visible {
  outline: 2px solid var(--color-leaf-bright);
  outline-offset: 3px;
}

.sandbox-tab-btn.active {
  background: var(--color-canopy-green);
  color: #fff;
  border-color: var(--color-canopy-green);
  box-shadow: 0 4px 14px rgba(23, 20, 92, 0.25);
}

.sandbox-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-fast) var(--ease-out-smooth),
              transform var(--duration-fast) var(--ease-out-smooth);
}

.sandbox-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Voice Call Console (ElevenLabs Ready) */
.voice-console-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .voice-console-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

.voice-call-box {
  background: var(--color-canopy-green);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.voice-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-leaf-bright);
}

.live-waveform-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 80px;
  margin: 24px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
}

.large-wave-bar {
  width: 5px;
  height: 12px;
  background: var(--color-leaf-bright);
  border-radius: 4px;
  transition: height 0.15s ease;
}

.large-wave-bar.active {
  animation: largeWave 1s infinite alternate ease-in-out;
}

@keyframes largeWave {
  0% { height: 10px; }
  100% { height: 64px; }
}

/* ==========================================================================
   Sofia Smartphone Mockup (Close-up & Live Call Trigger)
   ========================================================================== */
.sofia-phone-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  padding: 10px 0;
}

.sofia-phone-frame {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 560px;
  border-radius: 46px;
  background: #090d16;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.14),
              inset 0 0 0 2px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: rotate(-0.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.sofia-phone-frame:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 32px 70px -12px rgba(15, 23, 42, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.22),
              inset 0 0 0 2px rgba(0, 0, 0, 0.8);
}

/* Dynamic Island */
.phone-dynamic-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0b1528;
  border: 1px solid #1e3a8a;
  box-shadow: inset 0 0 2px #38bdf8;
}

.island-sensor {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #020617;
}

/* Status Bar */
.phone-status-bar {
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  padding: 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 15;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  pointer-events: none;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-5g {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Phone Screen Media */
.phone-screen-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #0b0f19;
}

.phone-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  animation: sofiaSubtleMotion 10s ease-in-out infinite alternate;
}

@keyframes sofiaSubtleMotion {
  0% { transform: scale(1.02) translateY(0px); }
  100% { transform: scale(1.06) translateY(-4px); }
}

.phone-screen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.45) 0%,
    rgba(10, 14, 26, 0.05) 30%,
    rgba(10, 14, 26, 0.35) 60%,
    rgba(10, 14, 26, 0.94) 95%
  );
  pointer-events: none;
}

/* Top Floating Tags (Alice 11x style) */
.phone-top-tags {
  position: absolute;
  top: 50px;
  left: 18px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tag-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #6ED04A;
  box-shadow: 0 0 8px #6ED04A;
  display: inline-block;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.phone-tag-pill.pill-autopilot {
  color: #a7f3d0;
  border-color: rgba(110, 208, 74, 0.35);
  background: rgba(6, 78, 59, 0.65);
  font-size: 10.5px;
}

/* Bottom Overlay with Card & Call Button */
.phone-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 22px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Glassmorphic Call Card */
.phone-call-card {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.phone-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.phone-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6ED04A;
  color: #17145C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(110, 208, 74, 0.4);
}

.phone-card-meta {
  display: flex;
  flex-direction: column;
}

.phone-caller-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.phone-call-status {
  font-size: 10.5px;
  color: #6ED04A;
  font-weight: 600;
}

.phone-call-msg {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0;
}

/* Action Controls & Call Button */
.phone-action-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.phone-call-btn {
  position: relative;
  background: #22c55e;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.phone-call-btn:hover {
  transform: scale(1.03);
  background: #16a34a;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.55);
}

.phone-call-btn:active {
  transform: scale(0.97);
}

.phone-icon-call {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.phone-btn-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid rgba(34, 197, 94, 0.6);
  animation: phonePulseRing 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes phonePulseRing {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}

.phone-call-btn.is-active {
  background: #dc2626 !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5) !important;
}

.phone-call-btn.is-active .phone-btn-pulse {
  border-color: rgba(239, 68, 68, 0.7);
}

.phone-call-btn.is-active .phone-icon-call {
  transform: rotate(135deg);
}

/* Chatwoot Container Ready */
.chatwoot-embed-frame {
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-frost-gray);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatwoot-header-bar {
  background: var(--color-canopy-green);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   5. Real Industry Showcase - Fluid Interactive Carousel
   ========================================================================== */
.industries-section {
  background-color: #f8fafc;
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(23, 20, 92, 0.05);
  border-bottom: 1px solid rgba(23, 20, 92, 0.05);
  scroll-margin-top: 95px;
}

.industries-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.industries-header-text {
  flex: 1 1 500px;
}

.carousel-controls-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-counter-display {
  font-family: var(--font-dm-sans);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-slate);
}

.counter-current {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-canopy-green);
  min-width: 28px;
}

.counter-divider {
  opacity: 0.4;
}

.counter-total {
  font-weight: 600;
  opacity: 0.7;
}

.carousel-nav-buttons {
  display: flex;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(23, 20, 92, 0.12);
  color: var(--color-canopy-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 20, 92, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow-btn:hover {
  background: var(--color-canopy-green);
  color: #ffffff;
  border-color: var(--color-canopy-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(23, 20, 92, 0.2);
}

.carousel-arrow-btn:active {
  transform: translateY(0) scale(0.95);
}

.carousel-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Full Width Fluid Track Container */
.industries-carousel-container {
  width: 100%;
  position: relative;
}

.industries-carousel-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 16px max(24px, calc((100vw - 1240px) / 2)) 36px max(24px, calc((100vw - 1240px) / 2));
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.industries-carousel-track::-webkit-scrollbar {
  display: none;
}

.industries-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* Eye-Catching & Wider Sector Card */
.industry-carousel-card {
  flex: 0 0 clamp(340px, 32vw, 440px);
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(23, 20, 92, 0.08);
  box-shadow: 0 10px 30px rgba(23, 20, 92, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.industry-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(23, 20, 92, 0.12);
  border-color: rgba(110, 208, 74, 0.5);
}

.industry-carousel-img-box {
  width: 100%;
  height: 235px;
  position: relative;
  overflow: hidden;
}

.industry-carousel-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-carousel-card:hover .industry-carousel-img-box img {
  transform: scale(1.06);
}

.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 12, 60, 0.35) 0%,
    transparent 35%,
    rgba(15, 12, 60, 0.75) 100%
  );
  pointer-events: none;
}

/* Floating Sector Highlight Pill */
.sector-hero-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 12, 60, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff; /* Blanco en fondo oscuro */
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.sector-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-leaf-bright);
  box-shadow: 0 0 8px var(--color-leaf-bright);
  display: inline-block;
  flex-shrink: 0;
}

.sector-num-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-canopy-green);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* Card Body & Eye-Catching Title */
.industry-carousel-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.industry-carousel-title {
  font-family: var(--font-dm-sans);
  font-size: clamp(23px, 2.2vw, 29px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--color-canopy-green);
  margin: 0;
  transition: color 0.25s ease;
}

.industry-carousel-card:hover .industry-carousel-title {
  color: #100d45;
}

.industry-carousel-desc {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.55;
  margin: 0;
}

.industry-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 20, 92, 0.07);
}

.btn-sector-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-canopy-green);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.btn-sector-link .arrow-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(110, 208, 74, 0.18);
  color: var(--color-canopy-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sector-link:hover {
  color: #0b0832;
}

.btn-sector-link:hover .arrow-circle {
  background: var(--color-coral-pulse);
  color: #17145C;
  transform: translateX(4px);
}

/* Indicators & Progress Bar */
.carousel-indicators-bar {
  margin: 8px auto 0;
  max-width: 1240px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.carousel-progress-track {
  height: 4px;
  flex: 1;
  background: rgba(23, 20, 92, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.carousel-progress-fill {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--color-coral-pulse) 0%, #1dbf73 100%);
  border-radius: 4px;
  transition: width 0.25s ease;
}

.carousel-dots-list {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(23, 20, 92, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: var(--color-canopy-green);
}

.carousel-dot:hover:not(.active) {
  background: rgba(23, 20, 92, 0.35);
}

/* ==========================================================================
   6. Complete Automation Flow (Indigo Purple)
   ========================================================================== */
.journey-automation-section {
  background-color: var(--color-indigo-bloom);
  color: var(--color-paper-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.journey-pillars-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
}

.journey-progress-track {
  display: none;
  position: absolute;
  top: 52px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  border-radius: 3px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .journey-progress-track {
    display: block;
  }
}

.journey-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #6ED04A, #38bdf8);
  box-shadow: 0 0 14px rgba(110, 208, 74, 0.9);
  transition: width 0.9s var(--ease-out-smooth);
  border-radius: 3px;
}

.journey-automation-section.in-view .journey-progress-bar {
  width: 100%;
}

@media (min-width: 600px) {
  .journey-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .journey-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition-normal),
              border-color var(--transition-normal),
              background-color var(--transition-normal),
              box-shadow var(--transition-normal);
  will-change: transform;
}

.pillar-card.step-active {
  border-color: rgba(110, 208, 74, 0.6);
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.pillar-number {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-leaf-bright);
  color: var(--color-canopy-green);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease-spring),
              box-shadow 300ms ease;
}

.pillar-card.step-active .pillar-number {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(110, 208, 74, 0.7);
}

/* ==========================================================================
   7. Testimonial & Real Results (Sticky Stacked Deck on Scroll)
   ========================================================================== */
.results-section {
  background-color: var(--color-paper-white);
  padding: 90px 0 130px;
  position: relative;
}

.results-cards-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 44px;
}

.results-split-card.stack-card {
  position: sticky;
  top: calc(85px + (var(--card-index) - 1) * 22px);
  z-index: var(--card-index);
  background-color: var(--color-sky-wash);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 -8px 28px rgba(23, 20, 92, 0.06), 0 22px 50px -8px rgba(23, 20, 92, 0.16);
  border: 1px solid rgba(23, 20, 92, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

@media (min-width: 900px) {
  .results-split-card.stack-card {
    grid-template-columns: 1.25fr 0.85fr;
  }
}

.results-info-side {
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.results-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

/* Rating Stars */
.results-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.stars-row svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.rating-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #17145C;
  background: rgba(255, 255, 255, 0.8);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(23, 20, 92, 0.1);
}

.results-quote {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--color-canopy-green);
  margin: 0;
}

.results-metrics-strip {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 20, 92, 0.08);
}

.metric-stat-box .metric-number {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-canopy-green);
}

.metric-stat-box .metric-label {
  font-size: 12.5px;
  color: var(--color-graphite);
  margin-top: 2px;
}

/* Author Avatar Profile */
.results-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.results-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(23, 20, 92, 0.12);
  flex-shrink: 0;
}

.results-author-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-canopy-green);
  margin: 0;
}

.results-author-role {
  font-size: 12.5px;
  color: var(--color-slate);
  margin: 2px 0 0;
}

/* Right Visual Side */
.results-visual-side {
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.results-visual-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.results-visual-side.bg-card-1 {
  background: linear-gradient(135deg, #0e1530 0%, #17145C 100%);
}

.results-visual-side.bg-card-2 {
  background: linear-gradient(135deg, #0d2137 0%, #14365d 100%);
}

.results-visual-side.bg-card-3 {
  background: linear-gradient(135deg, #161a38 0%, #221c54 100%);
}

.results-visual-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-leaf-bright, #6ED04A);
  margin-bottom: 8px;
}

.results-visual-title {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.results-visual-desc {
  font-size: 13.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* ==========================================================================
   8. Pre-footer CTA Banner (Celeste Suave & Minimalist Floating Watermark)
   ========================================================================== */
.prefooter-banner-section {
  background-color: #cbeeef;
  background: radial-gradient(circle at 50% 30%, #e6f7fc 0%, #cceef8 60%, #bce6f5 100%);
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(23, 20, 92, 0.08);
  border-bottom: 1px solid rgba(23, 20, 92, 0.12);
}

/* Floating Bytec Icon Background Matrix - Single Subtle Watermark */
.bytec-bg-icons-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bytec-floating-bg-icon {
  position: absolute;
  will-change: transform;
}

.bytec-icon-subtle {
  width: clamp(360px, 36vw, 540px);
  height: clamp(360px, 36vw, 540px);
  top: 50%;
  right: -60px;
  transform: translateY(-50%) rotate(18deg);
  opacity: 0.9;
  filter: drop-shadow(0 15px 35px rgba(23, 20, 92, 0.05));
  animation: floatBytecSubtle 16s ease-in-out infinite alternate;
}

@keyframes floatBytecSubtle {
  0% { transform: translateY(-50%) rotate(15deg) translate(0, 0); }
  50% { transform: translateY(-50%) rotate(22deg) translate(-20px, 14px); }
  100% { transform: translateY(-50%) rotate(15deg) translate(0, 0); }
}

.prefooter-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.prefooter-title {
  font-family: var(--font-dm-sans);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #111720;
  margin: 0;
  text-wrap: balance;
}

.prefooter-subtitle {
  font-family: var(--font-dm-sans);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(17, 23, 32, 0.76);
  max-width: 620px;
  margin: 0;
  text-wrap: balance;
}

.prefooter-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn-prefooter-dark {
  background-color: var(--color-canopy-green, #17145c);
  color: #ffffff;
  padding: 17px 36px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(23, 20, 92, 0.22);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background-color 0.25s ease;
}

.btn-prefooter-dark:hover {
  background-color: #0f0c3c;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(23, 20, 92, 0.32);
}

.btn-prefooter-dark:active {
  transform: translateY(0) scale(0.98);
}

.btn-prefooter-secondary {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  color: #17145c;
  padding: 15px 32px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  border: 1.5px solid rgba(23, 20, 92, 0.22);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(23, 20, 92, 0.06);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.btn-prefooter-secondary:hover {
  background-color: #ffffff;
  border-color: #17145c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 20, 92, 0.12);
}

.btn-prefooter-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   9. Site Footer (Sitemap Ready)
   ========================================================================== */
.site-footer {
  background-color: var(--color-ink-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  font-size: 14px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  color: var(--color-paper-white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-leaf-bright);
}

.footer-bottom-bar {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   10. Ripple Badge Subtle Ambient Pulse
   ========================================================================== */
.mockup-ripple-badge .ripple-ring:nth-child(1) {
  animation: rippleGlow 3.6s var(--ease-in-out-smooth) infinite;
}
.mockup-ripple-badge .ripple-ring:nth-child(2) {
  animation: rippleGlow 3.6s var(--ease-in-out-smooth) 0.6s infinite;
}

@keyframes rippleGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ==========================================================================
   11. FAQ Accordion System (Zero-jank Grid-Template-Rows Transitions)
   ========================================================================== */
.faq-section {
  background-color: var(--color-paper-white);
  padding: 96px 0;
  border-top: 1px solid rgba(23, 20, 92, 0.08);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(23, 20, 92, 0.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    border-color: rgba(23, 20, 92, 0.28);
  }
}

.faq-item.active {
  border-color: #17145C;
  box-shadow: 0 10px 28px rgba(23, 20, 92, 0.08);
}

.faq-trigger {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: #17145C;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--color-coral-pulse);
  outline-offset: -2px;
}

.faq-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-lavender-mist);
  color: #17145C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 280ms var(--ease-out-smooth),
              background-color var(--transition-fast),
              color var(--transition-fast);
}

.faq-item.active .faq-icon-bubble {
  transform: rotate(45deg);
  background-color: var(--color-coral-pulse);
  color: #17145C;
}

/* Grid animation for height expansion */
.faq-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out-smooth);
}

.faq-item.active .faq-collapse {
  grid-template-rows: 1fr;
}

.faq-collapse-inner {
  overflow: hidden;
}

.faq-answer-text {
  padding: 0 28px 26px;
  color: var(--color-graphite);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   12. Native Modal Dialog System (<dialog id="demoModal">)
   ========================================================================== */
dialog.demo-dialog {
  border: none;
  border-radius: var(--radius-3xl);
  padding: 0;
  max-width: 520px;
  width: calc(100% - 36px);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 20, 92, 0.3);
  margin: auto;
  opacity: 0;
  transform: scale(0.95) translateY(14px);
  transition: opacity 260ms var(--ease-out-smooth),
              transform 260ms var(--ease-out-smooth),
              display 260ms allow-discrete,
              overlay 260ms allow-discrete;
  overflow: hidden;
}

dialog.demo-dialog[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@starting-style {
  dialog.demo-dialog[open] {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
  }
}

dialog.demo-dialog::backdrop {
  background: rgba(15, 12, 60, 0.65);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 260ms var(--ease-out-smooth),
              display 260ms allow-discrete,
              overlay 260ms allow-discrete;
}

dialog.demo-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  dialog.demo-dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog-header {
  background: #17145C;
  color: #ffffff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.dialog-close-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.28);
}

.dialog-close-btn:active {
  transform: scale(0.95);
}

.dialog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #17145C;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-frost-gray);
  font-size: 14px;
  font-family: inherit;
  color: var(--color-ink-black);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: #17145C;
  box-shadow: 0 0 0 3px rgba(23, 20, 92, 0.12);
}

/* ==========================================================================
   13. Floating Widget Slot
   ========================================================================== */
.floating-assistant-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background-color: var(--color-coral-pulse);
  color: #17145C;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(110, 208, 74, 0.45);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .floating-assistant-launcher:hover {
    transform: translateY(-2px) scale(1.03);
    background-color: var(--color-coral-pulse-hover);
    box-shadow: 0 14px 36px rgba(110, 208, 74, 0.55);
  }
}

.floating-assistant-launcher:active {
  transform: translateY(1px) scale(0.97);
}

/* ==========================================================================
   13b. Giant Full-Width Typographic Brand Showpiece (BYTEC AI - Minimalist Dark)
   ========================================================================== */
.giant-brand-banner {
  position: relative;
  width: 100%;
  min-height: 320px;
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle Ambient Glow */
.giant-brand-ambient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  animation: subtleAmbientPulse 8s ease-in-out infinite alternate;
}

@keyframes subtleAmbientPulse {
  0% { opacity: 0.4; transform: scale(0.97); }
  100% { opacity: 0.9; transform: scale(1.03); }
}

.giant-brand-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  user-select: none;
}

/* Colossal Typography Centered Edge-to-Edge */
.giant-brand-wordmark {
  margin: 0;
  font-family: var(--font-dm-sans);
  font-size: clamp(64px, 14vw, 210px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  opacity: 0.92;
  text-shadow: 0 4px 40px rgba(255, 255, 255, 0.12), 0 0 80px rgba(255, 255, 255, 0.06);
  animation: subtleWordmarkBreathe 7s ease-in-out infinite alternate;
}

@keyframes subtleWordmarkBreathe {
  0% {
    opacity: 0.85;
    text-shadow: 0 4px 24px rgba(255, 255, 255, 0.08);
  }
  100% {
    opacity: 0.98;
    text-shadow: 0 6px 50px rgba(255, 255, 255, 0.18), 0 0 90px rgba(255, 255, 255, 0.08);
  }
}

.giant-brand-caption {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Feature Detail Card Vector Icon Box (Subpages standard) */
.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-mint-wash, #eef9ee);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17145C; /* Azul en fondos claros */
  margin-bottom: 20px;
  border: 1px solid rgba(23, 20, 92, 0.08);
  box-shadow: 0 4px 12px rgba(23, 20, 92, 0.05);
}

.feature-card-icon svg {
  width: 22px;
  height: 22px;
  color: #17145C; /* Azul en fondos claros */
}

/* ==========================================================================
   13b. Accessible Touch Targets (>= 44x44px for WCAG 2.5.5 / 2.5.8)
   ========================================================================== */
.carousel-arrow-btn {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.dialog-close-btn {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.hero-slide-dot {
  position: relative;
  touch-action: manipulation;
}

.hero-slide-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.sandbox-tab-btn {
  min-height: 44px;
  touch-action: manipulation;
}

.faq-trigger {
  min-height: 48px;
  touch-action: manipulation;
}

.footer-link {
  display: inline-block;
  padding: 8px 0;
  min-height: 36px;
  touch-action: manipulation;
}

@media (max-width: 767px) {
  .footer-link {
    padding: 10px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ==========================================================================
   13c. Visible High-Contrast Keyboard Focus Rings (:focus-visible)
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-leaf-bright) !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   13d. Form Validation & Accessible Feedback Styling
   ========================================================================== */
.form-error-msg {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 600;
  min-height: 16px;
}

.form-input.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fff8f8 !important;
}

.form-success-alert {
  padding: 12px 14px;
  background: #ecfdf5;
  border: 1px solid #6ED04A;
  color: #065f46;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.required-mark {
  color: #ef4444;
  margin-left: 2px;
}

/* ==========================================================================
   13e. Responsive Safeguards across 375px, 768px, 1024px & 1440px
   ========================================================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(28px, 8.5vw, 36px) !important;
    line-height: 1.12 !important;
  }

  .rotating-word-container {
    min-width: unset !important;
    display: inline !important;
  }

  .sofia-phone-frame {
    max-width: 100% !important;
    height: 500px !important;
    border-width: 7px !important;
    border-radius: 36px !important;
  }

  .phone-call-card {
    padding: 12px !important;
  }

  .hero-badge-pill {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-wrapper {
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1360px !important;
  }
}

/* ==========================================================================
   14. Reduced Motion Version (@media prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .site-header,
  .reveal-item,
  .scroll-reveal,
  .services-grid .service-card,
  .pillar-card,
  .hero-visual-stack {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    visibility: visible !important;
    animation: none !important;
  }

  .hero-phone-card,
  .hero-phone-beam-wrapper,
  .hero-phone-beam-wrapper::before,
  .logo-marquee-track,
  .wave-bar,
  .large-wave-bar,
  .mini-wave-bar {
    animation: none !important;
    transform: none !important;
  }

  .mockup-ripple-badge .ripple-ring {
    animation: none !important;
    transform: none !important;
  }

  .journey-progress-bar {
    width: 100% !important;
    transition: none !important;
  }

  .faq-collapse {
    transition: none !important;
  }

  dialog.demo-dialog,
  dialog.demo-dialog::backdrop {
    transition: none !important;
    transform: none !important;
  }
}
