/* Glassmorphism Framework CSS */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  min-height: 100vh;
}

/* Typography Refinements */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

/* Text Colors - Corporate Palette */
.text-gray-900 {
  color: #0f172a;
}

.text-gray-800 {
  color: #1e293b;
}

.text-gray-700 {
  color: #334155;
}

.glass-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.glass-input {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 16px rgba(0, 48, 97, 0.1);
  transition: all 0.3s ease;
  color: #003061 !important;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 48, 97, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 48, 97, 0.15);
  color: #003061 !important;
}

.glass-input::placeholder {
  color: rgba(0, 48, 97, 0.5) !important;
}

.btn-cta {
  background: linear-gradient(135deg, #0A49C9 0%, #1B67FF 45%, #1FC7C1 100%);
  border: none;
  box-shadow: 0 6px 20px rgba(10, 73, 201, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(10, 73, 201, 0.28);
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-secondary {
  background: linear-gradient(135deg, #002F7C 0%, #0A49C9 55%, #1FC7C1 140%);
  border: none;
  box-shadow: 0 4px 15px rgba(10, 73, 201, 0.18);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 73, 201, 0.28);
}

.hero-gradient {
  background: linear-gradient(135deg, rgba(0, 47, 124, 0.97) 0%, rgba(10, 73, 201, 0.92) 60%, rgba(31, 199, 193, 0.88) 100%);
}

.feature-icon {
  background: linear-gradient(135deg, rgba(31, 199, 193, 0.1), rgba(10, 73, 201, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(31, 199, 193, 0.2);
}

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

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { transform: scale(1); }
}

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

.stagger-1 { animation: fadeInUp 0.6s ease-out 0.1s both; }
.stagger-2 { animation: fadeInUp 0.6s ease-out 0.2s both; }
.stagger-3 { animation: fadeInUp 0.6s ease-out 0.3s both; }
.stagger-4 { animation: fadeInUp 0.6s ease-out 0.4s both; }
.stagger-5 { animation: fadeInUp 0.6s ease-out 0.5s both; }

.bounce-in { animation: bounceIn 0.8s ease-out; }
.pulse-cta { animation: pulse 2s infinite; }

.testimonial-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.stats-card {
  background: linear-gradient(145deg, rgba(0, 48, 97, 0.9), rgba(0, 64, 128, 0.8));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-divider {
  background: linear-gradient(90deg, transparent, rgba(0, 48, 97, 0.3), transparent);
}

/* Mobile Menu Styles */
#mobileMenu {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#mobileMenuBtn {
  transition: all 0.2s ease;
}

#mobileMenuBtn:hover {
  background: rgba(10, 73, 201, 0.08);
  border-radius: 8px;
}

/* Nav Links - SaaS Premium Style */
.nav-link {
  display: inline-block;
  color: #334155;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding-bottom: 2px;
  text-decoration: none;
}

.nav-link:hover {
  color: #0A49C9;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #1FC7C1;
  transition: width 0.2s ease;
}

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

/* Primary CTA Button - Hero */
.cta-primary {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(10, 73, 201, 0.28) !important;
}

/* ========================================
   2026 MARKETING HERO SECTION STYLES - REFINED
   ======================================== */

/* Animated Blob Background - Refined Opacity */
@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-0 {
  animation-delay: 0s;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Pulse Slow Animation for Live Badges */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover Lift Effect - Refined */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  color: #1FC7C1;
}

/* Hero 2026 Section - Refined */
.hero-2026 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-2026::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(31, 199, 193, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(10, 73, 201, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* CTA Button - Refined Shadow and Hover */
a[href*="/registro"]:not(.btn-secondary) {
  position: relative;
  box-shadow: 0 4px 15px rgba(10, 73, 201, 0.15);
  border: none;
}

a[href*="/registro"]:not(.btn-secondary):hover {
  box-shadow: 0 16px 35px rgba(10, 73, 201, 0.24);
  transform: translateY(-2px);
}

/* Preview Card - Corporate Shadow */
.bg-white.rounded-2xl {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.bg-white.rounded-2xl:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Stagger animations for hero content */
.stagger-6 { animation: fadeInUp 0.6s ease-out 0.6s both; }
.stagger-7 { animation: fadeInUp 0.6s ease-out 0.7s both; }

/* Trust Indicators - Refined with Separators */
.border-t.border-gray-200 {
  border-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent) 1;
}

/* Vertical Separators for Trust Items */
.w-px.h-4.bg-gradient-to-b {
  opacity: 0.5;
}

/* ========================================
   REFINED VISUAL EFFECTS - SaaS Corporate
   ======================================== */

/* Depth and Lighting - Subtle Corporate Feel */
.shadow-lg.hover\:shadow-2xl {
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.12);
}

/* Button Text Refinement */
.text-base.font-bold {
  letter-spacing: -0.01em;
  font-weight: 600;
}

/* Trust Indicators Text - Refined */
.font-semibold.text-gray-800 {
  font-weight: 500;
  color: #1e293b;
}

/* Smooth Transitions for All Interactive Elements */
*[class*="transition"] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Refinement in Preview Cards */
img.rounded-lg {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

img.rounded-lg:hover {
  filter: brightness(1.02);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .animate-blob,
  .hover-lift,
  *[class*="transition"],
  *[class*="animate"] {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   COMPANIES CAROUSEL ANIMATION
   ======================================== */

@keyframes carrusel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-carrusel {
  animation: carrusel 25s linear infinite;
  will-change: transform;
}

.animate-carrusel:hover {
  animation-play-state: paused;
}

/* Carousel Logo Items */
.carrusel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carrusel-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border-color: rgba(22, 163, 74, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: scale(1.05);
}

.carrusel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: all 0.3s ease;
}

.carrusel-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Hero compact carousel items */
.hero-carrusel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  width: 130px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.hero-carrusel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.hero-carrusel-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Carousel Width */
#carrusel-track {
  gap: 1.5rem;
}

/* Desktop: 5 logos visible (approx 870px width = 5*140 + 4*24 gap) */
@media (min-width: 1024px) {
  #carrusel-track {
    max-width: 870px;
  }
}

/* Mobile: 2 logos visible (approx 324px width = 2*140 + 1*24 gap) */
@media (max-width: 640px) {
  .carrusel-item {
    width: 120px;
    height: 70px;
  }
  
  #carrusel-track {
    gap: 1rem;
  }
}

/* Live Counter Animation */
@keyframes slide-number {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

#live-invoice-counter {
  display: inline-block;
  animation: slide-number 0.5s ease-out;
}

/* Interactive Preview Card Glow */
.group > .absolute.blur {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Trust Badge Enhanced Hover */
.bg-white\/10[href*="/registro"] {
  position: relative;
  overflow: hidden;
}

/* Improved Microinteractions */
@keyframes micro-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.group:hover .material-icons {
  animation: micro-bounce 0.6s ease-in-out;
}

/* Social Proof Cards Subtle Hover */
.flex.gap-3.text-sm {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flex.gap-3.text-sm:hover {
  transform: translateX(4px);
  padding-left: 8px;
}

/* CTA Gradient Animated Border */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.absolute.-inset-0\.5 {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Feature Row Interactive */
.grid.grid-cols-3 .group\/feature {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.grid.grid-cols-3 .group\/feature:hover {
  transform: scale(1.05);
}

.grid.grid-cols-3 .group\/feature:hover .text-2xl {
  animation: pulse 0.8s ease-in-out;
}

/* Responsive Hero 2026 */
@media (max-width: 768px) {
  .hero-2026 {
    min-height: auto;
    padding-top: 120px !important;
  }

  .animate-blob {
    width: 200px !important;
    height: 200px !important;
  }

  .hero-2026 h1 {
    font-size: 2rem !important;
  }

  .hover-lift:hover {
    transform: none;
  }
}

/* Accessibility: Reduce motion for users with motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-blob,
  .animate-pulse-slow,
  .hover-lift,
  .group:hover .material-icons,
  .group:hover .absolute.blur {
    animation: none;
    transform: none;
  }

  .hover-lift:hover,
  .grid.grid-cols-3 .group\/feature:hover {
    transform: none;
  }
}

/* ============================================================
   Sección "Incluido en tu suscripción" (#incluido de index.html)
   POS + Compras. Prefijo fwi- porque style.css lo comparten
   panel.html, mi_empresa.html y los formularios: sin prefijo,
   nombres como .card o .feature chocarían con los suyos.
   Cada tarjeta trae su paleta en --fwi-*; el resto es común.
   ============================================================ */
.fwi-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}

.fwi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(31, 199, 193, 0.12);
  border: 1px solid rgba(31, 199, 193, 0.3);
  color: #0f766e;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.fwi-eyebrow .material-icons { font-size: 15px; }

.fwi-head h2 {
  color: #003061;
  font-size: 33px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  text-wrap: balance;
}

.fwi-head p {
  color: #475569;
  font-size: 16.5px;
  line-height: 1.65;
}

.fwi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 940px;
  margin: 0 auto;
}

.fwi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  padding: 28px 28px 24px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Barra superior que se despliega en hover */
.fwi-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fwi-from), var(--fwi-to));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fwi-card:hover {
  transform: translateY(-5px);
  border-color: var(--fwi-to);
  box-shadow: 0 22px 38px -22px var(--fwi-shadow);
}

.fwi-card:hover::after { transform: scaleX(1); }

.fwi-card-top {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.fwi-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--fwi-from), var(--fwi-to));
  box-shadow: 0 10px 20px -10px var(--fwi-shadow);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fwi-icon .material-icons { font-size: 27px; }

.fwi-card:hover .fwi-icon { transform: translateY(-2px) rotate(-6deg) scale(1.05); }

.fwi-titulo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  color: #003061;
  line-height: 1.2;
  margin: 0;
}

.fwi-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: #166534;
  background: #dcfce7;
}

.fwi-lead {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}

.fwi-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fwi-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fwi-ink);
  background: var(--fwi-soft);
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.fwi-feature .material-icons { font-size: 15px; }

/* Escalonado: las pastillas se levantan una tras otra */
.fwi-card:hover .fwi-feature {
  transform: translateY(-3px);
  border-color: var(--fwi-border);
}

.fwi-card:hover .fwi-feature:nth-child(2) { transition-delay: 0.04s; }
.fwi-card:hover .fwi-feature:nth-child(3) { transition-delay: 0.08s; }
.fwi-card:hover .fwi-feature:nth-child(4) { transition-delay: 0.12s; }
.fwi-card:hover .fwi-feature:nth-child(5) { transition-delay: 0.16s; }

/* ---- Banda 1: convergencia (Compras y POS → mismo kardex) ---- */
.fwi-circuito {
  max-width: 940px;
  margin: 30px auto 0;
  padding: 26px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fafc, #eef6ff);
  border: 1px solid #dbe7f7;
}

.fwi-circuito-titulo,
.fwi-ticket-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b4a8f;
  margin-bottom: 20px;
  text-align: center;
}

.fwi-circuito-titulo { margin-bottom: 22px; }
.fwi-circuito-titulo .material-icons,
.fwi-ticket-titulo .material-icons { font-size: 17px; }

.fwi-circuito-flujo {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.fwi-circuito-extremo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 16px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.fwi-circuito-extremo .rol {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fwi-c-ink);
}

.fwi-circuito-extremo .accion {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.fwi-circuito-extremo .efecto { font-size: 12.5px; color: #64748b; }

.fwi-circuito-flecha,
.fwi-ticket-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.fwi-ticket-sep { color: #cbd5e1; }
.fwi-circuito-flecha .material-icons { font-size: 26px; }
.fwi-ticket-sep .material-icons { font-size: 22px; }

.fwi-circuito-centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 20px 18px;
  border-radius: 15px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(135deg, #003061, #0a6ed1);
  box-shadow: 0 14px 26px -14px rgba(0, 48, 97, 0.6);
}

.fwi-circuito-centro .material-icons { font-size: 28px; }

.fwi-circuito-centro .nombre {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fwi-circuito-centro .detalle {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.fwi-circuito-pie {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

/* ---- Banda 2: secuencia (ciclo de vida del ticket) ---- */
.fwi-ticket {
  max-width: 940px;
  margin: 18px auto 0;
  padding: 24px 28px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.fwi-ticket-pasos {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 12px;
}

.fwi-ticket-paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  text-align: center;
}

.fwi-ticket-paso .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef4fd;
  color: #0b4a8f;
  flex-shrink: 0;
}

.fwi-ticket-paso .ico .material-icons { font-size: 21px; }

.fwi-ticket-paso .que {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
}

.fwi-ticket-paso .detalle {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

.fwi-ticket-pie {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

.fwi-ticket-pie strong { color: #0f172a; font-weight: 600; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .fwi-grid { grid-template-columns: 1fr; gap: 18px; }
  .fwi-head h2 { font-size: 27px; }
  .fwi-head p { font-size: 15.5px; }
  .fwi-card { padding: 24px 22px 22px; border-radius: 18px; }
  .fwi-circuito, .fwi-ticket { padding: 22px 20px; }
}

@media (max-width: 860px) {
  .fwi-circuito-flujo,
  .fwi-ticket-pasos { grid-template-columns: 1fr; }
  .fwi-circuito-flecha,
  .fwi-ticket-sep { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fwi-card,
  .fwi-card::after,
  .fwi-icon,
  .fwi-feature { transition: none; }

  .fwi-card:hover,
  .fwi-card:hover .fwi-icon,
  .fwi-card:hover .fwi-feature { transform: none; }
}

/* Capturas de pantalla dentro de la sección #incluido */
.fwi-shot {
  max-width: 940px;
  margin: 30px auto 0;
}

.fwi-shot picture { display: block; }

.fwi-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px -24px rgba(0, 48, 97, 0.55);
}

.fwi-shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* La que va dentro de la banda del circuito: hereda su ancho y se pega al texto */
.fwi-shot-inline {
  max-width: 900px;
  margin-top: 20px;
}

.fwi-shot-inline img { border-radius: 12px; }

@media (max-width: 900px) {
  .fwi-shot { margin-top: 22px; }
  .fwi-shot img { border-radius: 10px; }
}

/* === Hero: marco de navegador alrededor de la captura del panel ===
   El marco va en CSS y no dentro del PNG: no suma peso, se ve nitido en
   cualquier densidad de pantalla y se puede quitar sin tocar la imagen. */
.hero-marco {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow:
    0 2px 6px rgba(0, 47, 124, 0.06),
    0 24px 48px -20px rgba(0, 47, 124, 0.28);
}

.hero-marco-barra {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.hero-punto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.hero-punto:nth-child(1) { background: #f0a4a0; }
.hero-punto:nth-child(2) { background: #f2d09a; }
.hero-punto:nth-child(3) { background: #a9d9b4; }

.hero-url {
  flex: 1;
  margin-left: 8px;
  padding: 3px 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  letter-spacing: 0.01em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero-marco picture { display: block; }

.hero-marco img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .hero-marco { border-radius: 11px; }
  .hero-marco-barra { padding: 8px 11px; gap: 6px; }
  .hero-punto { width: 8px; height: 8px; }
  .hero-url { font-size: 10px; padding: 2px 9px; }
}
