/* ==== SECTIONS ==== */

/* Hero Section Base */
.hero {
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
  /* Offset for sticky header */
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

/* Hero - Personas (Optimized for trust and emotional connection) */
#personas-hero {
  background: var(--color-gradient-hero-personas);
  overflow: hidden;
  position: relative;
  /* Maintain layout flex direction for containing slider + nav */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#personas-hero h1 {
  color: var(--color-primary);
}

/* Hero slide colored word highlights */
.hero-highlight--salmon {
  color: var(--color-secondary-red);
  position: relative;
}

.hero-highlight--green {
  color: var(--color-secondary-red);
  position: relative;
}

.hero-highlight--purple {
  color: var(--color-secondary-red);
  position: relative;
}

/* Pill label above h1 in each hero slide */
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background-color: rgba(102, 57, 252, 0.08);
  border: 1px solid rgba(102, 57, 252, 0.2);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Disclaimer note below CTA */
.hero-slide-disclaimer {
  margin-top: 0.75rem !important;
  font-size: 0.75rem !important;
  color: var(--color-neutral-600) !important;
  line-height: 1.4;
}

/* Personas Slider Elements */
.personas-slider-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  perspective: 1000px;
}

/* Slider Navigation Guide */
.slider-nav-container {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.slider-progress-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.progress-dot {
  width: 32px;
  height: 4px;
  background-color: var(--color-neutral-400);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.progress-dot:hover {
  opacity: 0.8;
}

.progress-dot.active {
  opacity: 1;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-primary);
  border-radius: 4px;
}

.slider-play-pause {
  background: var(--color-white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.slider-play-pause:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Hero - Empresas (Optimized for ROI / conversion / tech) */
#empresas-hero {
  background: var(--color-gradient-hero-empresas);
  color: var(--color-white);
}

#empresas-hero h1 {
  color: var(--color-white);
}

#empresas-hero .text-lead {
  color: var(--color-neutral-400);
}

/* Two Worlds Section Logic */
/* We toggle entirely different sections based on body attribute */

.world-section {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

body[data-active-section="personas"] .world-section[data-world="personas"] {
  display: block;
  opacity: 1;
}

body[data-active-section="empresas"] .world-section[data-world="empresas"] {
  display: block;
  opacity: 1;
}

/* ===== SECCIÓN: HERRAMIENTAS ===== */
.herramientas-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Educación ocupa 2 filas en la primera columna */
.herr-card--tall {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* Crédito y Ahorro ocupan las col 2-3 en fila 1 */
.herr-bg-salmon {
  grid-column: 2 / 4;
}

.herr-bg-green {
  grid-column: 2 / 4;
}

/* Tarjeta, Bitcoin y Score en la segunda fila inferior */
.herr-bg-navy {
  grid-column: 1;
  grid-row: 3;
}

.herr-bg-yellow {
  grid-column: 2;
  grid-row: 3;
}

.herr-bg-aqua {
  grid-column: 3;
  grid-row: 3;
}

.herr-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.herr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.herr-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-secondary-blue);
}

.herr-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0;
}

/* Fondos por variante */
.herr-bg-purple {
  background: rgba(102, 57, 252, 0.07);
}

.herr-bg-salmon {
  background: rgba(255, 113, 119, 0.08);
}

.herr-bg-green {
  background: rgba(219, 252, 117, 0.18);
}

.herr-bg-navy {
  background: rgba(30, 28, 94, 0.06);
}

.herr-bg-yellow {
  background: rgba(252, 218, 38, 0.12);
}

.herr-bg-aqua {
  background: rgba(21, 213, 215, 0.10);
}

/* Header de cada card */
.herr-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Íconos por variante */
.herr-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.herr-icon--purple {
  background: rgba(102, 57, 252, 0.12);
  color: var(--color-primary);
}

.herr-icon--salmon {
  background: rgba(255, 113, 119, 0.15);
  color: #d94f55;
}

.herr-icon--green {
  background: rgba(130, 180, 20, 0.18);
  color: #5a7a10;
}

.herr-icon--navy {
  background: rgba(30, 28, 94, 0.12);
  color: var(--color-secondary-blue);
}

.herr-icon--yellow {
  background: rgba(252, 218, 38, 0.2);
  color: #9a7800;
}

.herr-icon--aqua {
  background: rgba(21, 213, 215, 0.15);
  color: #0a8f91;
}

/* Tag pill dentro del card header */
.herr-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-neutral-400);
  background: rgba(0, 0, 0, 0.05);
  padding: 3px 10px;
  border-radius: 99px;
}

/* Mini mockup del módulo Aprende */
.aprende-mockup {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(4px);
}

.aprende-mockup-header {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.aprende-mockup-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid rgba(102, 57, 252, 0.25);
  color: var(--color-neutral-700);
  width: fit-content;
}

.active-pill {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.aprende-mockup-lesson {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
}

.lesson-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(219, 252, 117, 0.6), rgba(102, 57, 252, 0.15));
  flex-shrink: 0;
}

.lesson-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-secondary-blue);
}

.lesson-sub {
  font-size: 0.72rem;
  color: var(--color-neutral-400);
}

/* Screenshot del módulo Aprende — integrado al borde del card */
.aprende-screenshot-wrapper {
  margin-top: 1.25rem;
  margin-left: -1.75rem;
  margin-right: -1.75rem;
  margin-bottom: -1.75rem;
  display: flex;
  justify-content: center;
  height: 260px;
  /* Sin overflow:hidden — permite que el box-shadow se vea */
  align-items: flex-start;
}

.aprende-screenshot {
  width: 68%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  height: 100%;
}

/* Disclaimer legal en cards */
.herr-disclaimer {
  display: block;
  font-size: 0.7rem;
  color: var(--color-neutral-400);
  margin-top: 0.4rem;
  font-style: italic;
}

/* Screenshot FinZi — ocupa todo el lado derecho del card de arriba a abajo */
.herr-card--with-screenshot {
  position: relative;
  overflow: hidden;
}

.herr-card-text-content {
  position: relative;
  z-index: 2;
  max-width: 52%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.finzi-screenshot-wrapper {
  position: absolute;
  right: 1.75rem;
  top: 1.75rem;
  bottom: 0;
  width: 38%;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.finzi-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Logo de aliado inline dentro de un párrafo */
.inline-partner-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  display: inline;
  position: relative;
  top: -1px;
  margin: 0 2px;
}

/* Mención de aliado sutil */
.herr-aliado-text {
  font-size: 0.78rem;
  color: var(--color-neutral-400);
  font-weight: 500;
}

/* Badge "A través de + logo" en cards FinZi */
.herr-aliado-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.herr-aliado-badge span {
  font-size: 0.72rem;
  color: var(--color-neutral-400);
  font-weight: 500;
  white-space: nowrap;
}

.herr-aliado-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* Responsive bento */
@media (max-width: 900px) {
  .herramientas-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .herr-card--tall {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .herr-bg-salmon {
    grid-column: 1;
  }

  .herr-bg-green {
    grid-column: 2;
  }

  .herr-bg-navy {
    grid-column: 1;
    grid-row: auto;
  }

  .herr-bg-yellow {
    grid-column: 2;
    grid-row: auto;
  }

  .herr-bg-aqua {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .herramientas-bento {
    grid-template-columns: 1fr;
  }

  .herr-card--tall,
  .herr-bg-salmon,
  .herr-bg-green,
  .herr-bg-navy,
  .herr-bg-yellow,
  .herr-bg-aqua {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ===== FIN: HERRAMIENTAS ===== */

/* ===== CARRUSEL DE ALIADOS ===== */
.aliados-section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.aliados-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neutral-400);
  margin-bottom: 1.75rem;
}

.aliados-track-wrapper {
  overflow: hidden;
  /* Fade suave en los bordes */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.aliados-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  animation: scroll-logos 28s linear infinite;
}

.aliados-track:hover {
  animation-play-state: paused;
}

.aliado-logo {
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity var(--transition-base);
  filter: grayscale(1);
}

.aliado-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.aliado-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  max-width: 120px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== FIN: CARRUSEL DE ALIADOS ===== */

/* ===== SECCIÓN: QUÉ ES GLIK ===== */
.que-es-glik-section {
  padding: var(--space-3xl) 0;
  margin: var(--space-2xl) 0;
}

.glik-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: rgba(219, 252, 117, 0.28);
  border-radius: var(--radius-xl);
  padding: 4rem;
  margin: 0 1rem;
}

.glik-explainer-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.explainer-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-neutral-700);
  margin-bottom: 2.5rem;
}

.glik-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.glik-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.glik-feature-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(102, 57, 252, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.glik-feature-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
}

.glik-feature-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0;
}

/* Visual: app screenshot + badges */
.glik-explainer-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-visual-wrapper {
  position: relative;
  display: inline-block;
}

.app-screenshot-img {
  width: 280px;
  border-radius: 32px;
  box-shadow: 0 24px 64px rgba(30, 28, 94, 0.18);
  display: block;
}

/* Info badges over the app screenshot */
.info-badge {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(30, 28, 94, 0.12);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-secondary-blue);
  white-space: nowrap;
  animation: badge-float 3s ease-in-out infinite;
}

.info-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.info-badge--top-right {
  top: 10%;
  right: -30%;
  animation-delay: 0s;
}

.info-badge--mid-left {
  top: 45%;
  left: -35%;
  animation-delay: 1s;
}

.info-badge--bottom-right {
  bottom: 12%;
  right: -28%;
  animation-delay: 2s;
}

@keyframes badge-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .glik-explainer {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }

  .app-visual-wrapper {
    margin: 3rem auto 0;
  }

  .info-badge--top-right {
    right: -10%;
  }

  .info-badge--mid-left {
    left: -10%;
  }

  .info-badge--bottom-right {
    right: -10%;
  }
}

@media (max-width: 480px) {
  .info-badge {
    font-size: 0.7rem;
    padding: 6px 8px;
    gap: 6px;
  }

  .info-badge--top-right {
    right: -2% !important;
  }

  .info-badge--mid-left {
    left: -2% !important;
  }

  .info-badge--bottom-right {
    right: -2% !important;
  }
}

/* ===== FIN: QUÉ ES GLIK ===== */

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

/* Timeline / Stepper (How it works - Personas) */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  /* Centered relative to 80px image width */
  width: 2px;
  background-color: var(--color-neutral-400);
  opacity: 0.3;
}

.timeline-step {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
  /* Keep images above line */
}

/* Obsolete step-number removed */

.step-content h3 {
  margin-top: 8px;
}

/* Footer Shared */
.footer {
  background-color: var(--color-secondary-blue);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Floating Badges for Hero */
.floating-badge {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(30, 28, 94, 0.08);
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-secondary-blue);
  white-space: nowrap;
  pointer-events: none;
}

.badge-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Badge positioning — Slide 1 */
.badge-1 {
  bottom: 52%;
  right: 10px;
}

.badge-2 {
  bottom: 10%;
  left: 10px;
}

.badge-3 {
  bottom: 15%;
  right: 10px;
}

.badge-4 {
  bottom: 50%;
  left: 10px;
}

/* Slide 2 badges */
.badge-s2-a {
  top: 2%;
  left: 10px;
  bottom: auto;
  right: auto;
}

.badge-s2-b {
  top: 45%;
  right: 10px;
  bottom: auto;
  left: auto;
}

.badge-s2-c {
  bottom: 8%;
  left: 10px;
  top: auto;
  right: auto;
}

/* Slide 3 badges */
.badge-s3-a {
  top: 20%;
  right: 10px;
  bottom: auto;
  left: auto;
}

.badge-s3-b {
  top: 48%;
  left: 10px;
  bottom: auto;
  right: auto;
}

.badge-s3-c {
  bottom: 8%;
  right: 10px;
  top: auto;
  left: auto;
}

@media (max-width: 900px) {
  .badge-1 {
    right: 5px;
  }

  .badge-3 {
    right: 5px;
  }
}

@media (max-width: 768px) {
  .floating-badge {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 8px auto;
    width: fit-content;
  }
}

/* Download App Banner (PWA / App Store) */
.download-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary-blue) 100%);
  border-radius: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  padding: 4rem 5rem;
}

.download-banner-content {
  position: relative;
  z-index: 2;
  max-width: 450px;
}

.download-icon-circle {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary-blue);
  margin-bottom: 2rem;
}

.download-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.download-banner-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge-img {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge-img:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.store-badge-img img {
  border-radius: 8px;
  /* Clean edge for store badges */
  display: block;
}

/* Mockup Phone CSS Art Refined */
.download-banner-mockup {
  position: absolute;
  right: 40px;
  top: 60px;
  /* Peek out from bottom right properly */
  width: 340px;
  height: 680px;
  z-index: 1;
}

.mockup-phone {
  background: #000;
  border: 12px solid #222;
  /* Titanium-like border */
  border-radius: 48px;
  width: 100%;
  height: 100%;
  position: relative;
  box-shadow: -20px 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.mockup-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 2;
}

.mockup-screen {
  background: #000;
  width: 100%;
  height: 100%;
  position: relative;
  background-image: linear-gradient(180deg, #181646 0%, #000 100%);
  display: flex;
  flex-direction: column;
}

.mockup-search {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 16px 20px;
  border-radius: 24px;
  margin: 60px 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.mockup-dock {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 36px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
}

.mockup-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 20px 0;
  align-content: start;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.app-glik {
  background: var(--color-white);
  padding: 0;
}

.app-safari {
  background: #fff;
}

.app-messages {
  background: #34C759;
}

@media (max-width: 900px) {
  .download-banner {
    flex-direction: column;
    padding: 3rem 2rem 0;
    /* Add bottom padding to hide clipping */
  }

  .download-banner-mockup {
    position: relative;
    right: 0;
    top: 40px;
    width: 280px;
    height: 380px;
    /* Chop it visually to sit at bottom */
    margin: 0 auto;
  }

  .download-banner-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* -- Secciones compartidas -- */

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--color-white);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-logo-svg-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  max-width: 300px;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition-base), color var(--transition-base);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.footer-regulatory {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-regulatory-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-regulatory-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.footer-regulatory-value {
  font-size: 0.95rem;
  color: var(--color-white);
}

.footer-regulatory-value strong {
  color: var(--color-accent);
}

.footer-sic {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-bottom: var(--space-lg);
}

.footer-sic-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.footer-sic-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45) !important;
  margin: 0 !important;
  max-width: 680px;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-white);
}

/* Store buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  min-width: 160px;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn--apple,
.store-btn--google {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
}

.store-btn--apple:hover,
.store-btn--google:hover {
  color: var(--color-primary);
  background-color: #cef55e;
  box-shadow: 0 4px 20px rgba(219, 252, 117, 0.45);
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-sub {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.store-btn-main {
  font-size: 0.95rem;
  font-weight: 700;
}

/* B2B HERO PARTICLE EXPERIMENT */
#empresas-hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
  background: var(--color-secondary-blue);
}

#empresas-hero canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.hero-bg-logo {
  position: absolute;
  top: 48%;
  left: 68%;
  transform: translate(-50%, -50%);
  width: 416px;
  max-width: 55%;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.particle-hero-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  padding: 0 var(--space-lg);
}

.particle-hero-text {
  padding: 3rem 0;
  /* Use container margins by overriding fixed 4rem padding on sides */
  max-width: 560px;
}

body[data-active-section="empresas"] .particle-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary-red);
  /* Salmon logo color */
  background: rgba(255, 113, 119, 0.1);
  border: 1px solid rgba(255, 113, 119, 0.2);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

body[data-active-section="empresas"] h1.particle-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white) !important;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

body[data-active-section="empresas"] p.particle-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.65;
  margin-bottom: 28px;
}

.particle-hero-cta {
  display: inline-block;
  background: #FF7177;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.particle-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 113, 119, 0.3);
  color: #ffffff;
}

/* Standalone hero text rules — always white since this section is always dark */
.particle-hero-h1 {
  color: #ffffff;
}

.particle-hero-sub {
  color: rgba(255, 255, 255, 0.72);
}

/* Highlight text in empresas hero paragraph */
.empresas-accent-text {
  color: var(--color-accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .particle-hero-text {
    padding: 2rem 0;
    max-width: 100%;
  }
}

/* ============================================================
   SOLUCIONES MEGA-DROPDOWN
   ============================================================ */

.nav-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Make button inherit nav-link look */
.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  line-height: inherit;
  color: inherit;
  /* inherits from parent body[data] rule */
  transition: color var(--transition-base);
}

.nav-dropdown-trigger:hover {
  color: var(--color-secondary-red);
}

/* Chevron rotates when open */
.ndi-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Chevron rotates only when .open (JS-controlled) */
.nav-dropdown-wrapper.open .ndi-chevron {
  transform: rotate(180deg);
}

/* Panel — top:100% + padding-top creates gap WITHOUT breaking hover zone */
.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 16px;
  /* visual gap — inside hover zone */
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: 390px;
  /* White / high-transparency — on-brand light */
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.06);
  z-index: 2000;
}

/* Inner wrapper so padding-top doesn't affect the visible card */
.nav-dropdown-inner {
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
}

/* Arrow tip — positioned inside the padding-top area */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: 10px;
  /* inside the 16px padding gap */
  left: 50%;
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateX(-50%) rotate(45deg);
  z-index: 1;
}

/* Open state — JS adds .open class */
.nav-dropdown-wrapper.open .nav-dropdown-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Each item row */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
  position: relative;
}

.nav-dropdown-item:hover {
  background: rgba(102, 57, 252, 0.05);
}

.nav-dropdown-item+.nav-dropdown-item {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Icon container */
.ndi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.ndi-icon--huw {
  background: rgba(255, 113, 119, 0.12);
}

.ndi-icon--sponsors {
  background: rgba(30, 28, 94, 0.08);
}

.ndi-icon--saas {
  background: rgba(102, 57, 252, 0.10);
}

/* Text */
.ndi-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ndi-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.ndi-desc {
  font-size: 0.75rem;
  color: var(--color-neutral-600);
  font-family: var(--font-body);
  line-height: 1.4;
}

/* ── HUW: Radar sonar pulse ── */
.ndi-huw-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ndi-huw-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 113, 119, 0.6);
  width: 8px;
  height: 8px;
  animation: ndi-radar 2.4s ease-out infinite;
}

.ndi-huw-ring--1 {
  animation-delay: 0s;
}

.ndi-huw-ring--2 {
  animation-delay: 0.8s;
}

.ndi-huw-ring--3 {
  animation-delay: 1.6s;
}

.ndi-huw-dot {
  width: 8px;
  height: 8px;
  background: #FF7177;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 8px rgba(255, 113, 119, 0.8);
}

@keyframes ndi-radar {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0.9;
  }

  100% {
    width: 42px;
    height: 42px;
    opacity: 0;
  }
}

/* ── Sponsors: Network nodes pulse ── */
.ndi-node {
  transform-box: fill-box;
  transform-origin: center;
}

.ndi-node-a {
  animation: ndi-node-pulse 2.2s ease-in-out infinite 0s;
}

.ndi-node-b {
  animation: ndi-node-pulse 2.2s ease-in-out infinite 0.55s;
}

.ndi-node-c {
  animation: ndi-node-pulse 2.2s ease-in-out infinite 1.1s;
}

@keyframes ndi-node-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.6);
    opacity: 0.35;
  }
}

/* ── SaaS: Bars breathe sequentially ── */
.ndi-bar {
  transform-box: fill-box;
  transform-origin: bottom center;
}

.ndi-bar--1 {
  animation: ndi-bar-breathe 2s ease-in-out infinite 0s;
}

.ndi-bar--2 {
  animation: ndi-bar-breathe 2s ease-in-out infinite 0.28s;
}

.ndi-bar--3 {
  animation: ndi-bar-breathe 2s ease-in-out infinite 0.56s;
}

@keyframes ndi-bar-breathe {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

/* ============================================================
   INFRAESTRUCTURA INTEGRAL — 3-card product section (Empresas)
   ============================================================ */

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

.infra-card {
  border-radius: 22px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

/* ── Card backgrounds — all same light style, different brand color tints ── */
.infra-card--score {
  background: #F4F0FF;
  border: 1px solid rgba(102, 57, 252, 0.14);
}

.infra-card--saas {
  background: #F0F0F9;
  border: 1px solid rgba(30, 28, 94, 0.12);
}

.infra-card--sponsors {
  background: #FFF2F3;
  border: 1px solid rgba(255, 113, 119, 0.16);
}

/* ── Hover animations — branded lift per card, no text color change ── */
.infra-card:hover {
  color: inherit !important;
}

.infra-card:hover .infra-card-title,
.infra-card:hover .infra-card-highlight,
.infra-card:hover .infra-card-desc,
.infra-card:hover h3,
.infra-card:hover p,
.infra-card:hover span {
  color: inherit;
}

.infra-card--score:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 56px rgba(102, 57, 252, 0.2);
}

.infra-card--saas:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 56px rgba(30, 28, 94, 0.18);
}

.infra-card--sponsors:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 56px rgba(255, 113, 119, 0.22);
}

/* ── Icon ── */
.infra-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.infra-card--score .infra-card-icon {
  background: rgba(102, 57, 252, 0.12);
  color: var(--color-primary);
}

.infra-card--saas .infra-card-icon {
  background: rgba(30, 28, 94, 0.10);
  color: var(--color-secondary-blue);
}

.infra-card--sponsors .infra-card-icon {
  background: rgba(255, 113, 119, 0.14);
  color: var(--color-secondary-red);
}

/* ── "CORE B2B" badge on SaaS card ── */
.infra-card-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-secondary-red);
  color: white;
}

/* ── Typography ── */
.infra-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

/* Colored titles per card — Syne + brand color, locked on hover */
.infra-card--score .infra-card-title,
.infra-card--score:hover .infra-card-title {
  color: var(--color-primary);
}

.infra-card--saas .infra-card-title,
.infra-card--saas:hover .infra-card-title {
  color: var(--color-secondary-blue);
}

.infra-card--sponsors .infra-card-title,
.infra-card--sponsors:hover .infra-card-title {
  color: var(--color-secondary-red);
}

.infra-card-highlight {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.infra-card--score .infra-card-highlight,
.infra-card--score:hover .infra-card-highlight {
  color: var(--color-primary);
}

.infra-card--saas .infra-card-highlight,
.infra-card--saas:hover .infra-card-highlight {
  color: var(--color-secondary-blue);
}

.infra-card--sponsors .infra-card-highlight,
.infra-card--sponsors:hover .infra-card-highlight {
  color: var(--color-secondary-red);
}

.infra-card-desc {
  font-size: 0.85rem;
  color: var(--color-neutral-600);
  line-height: 1.65;
}

/* ============================================================
   SAAS DESKTOP MOCKUP SECTION
   ============================================================ */

.saas-mockup-section {
  background: linear-gradient(180deg, #F4F0FF 0%, #ffffff 60%);
}

.saas-mockup-container {
  width: 100%;
  max-width: 961px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

/* Outer wrapper gives badges a positioning context without overflow:hidden */
.browser-outer {
  position: relative;
}

/* ── Floating feature badges ── */
.saas-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-neutral-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  z-index: 2;
  animation: saas-badge-float 3.5s ease-in-out infinite;
}

.saas-fb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Individual badge positions — float OVER the browser screenshot */
.saas-fb--1 {
  top: 18%;
  left: -1rem;
  animation-delay: 0s;
}

.saas-fb--2 {
  top: 14%;
  right: -1rem;
  animation-delay: 0.8s;
}

.saas-fb--3 {
  top: 52%;
  left: -1rem;
  animation-delay: 1.6s;
}

.saas-fb--4 {
  top: 48%;
  right: -1rem;
  animation-delay: 0.4s;
}

.saas-fb--5 {
  bottom: 14%;
  left: 28%;
  animation-delay: 1.2s;
}

@keyframes saas-badge-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-9px);
  }
}

/* macOS-style browser frame */
.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 11px 16px;
  background: #ECECEE;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot--red {
  background: #FF5F57;
}

.browser-dot--yellow {
  background: #FEBC2E;
}

.browser-dot--green {
  background: #28C840;
}

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: var(--color-neutral-600);
  font-family: var(--font-body);
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-content {
  line-height: 0;
}

.browser-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SPONSORS SECTION
   ============================================================ */

.sponsors-section {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFE8E9 60%, #FFF0F0 100%);
}

.sponsors-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left column */
.sponsors-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary-red);
  background: rgba(255, 113, 119, 0.1);
  border: 1px solid rgba(255, 113, 119, 0.2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

.sponsors-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-neutral-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.sponsors-desc {
  font-size: 0.95rem;
  color: var(--color-neutral-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sponsors-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 113, 119, 0.08);
  border: 1px solid rgba(255, 113, 119, 0.22);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary-red);
  margin-bottom: 1.75rem;
  margin-top: 0.5rem;
}

.sponsors-cta {
  display: inline-flex;
}

/* Right column — benefits grid */
.sponsors-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sponsor-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.sponsor-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 113, 119, 0.18);
}

.sponsor-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 113, 119, 0.12);
  color: var(--color-secondary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sponsor-benefit strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  margin-bottom: 3px;
}

.sponsor-benefit p {
  font-size: 0.76rem;
  color: var(--color-neutral-600);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   EVENTO BANNER (Stripe Sessions-inspired)
   ============================================================ */

.evento-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: url('../assets/images/evento.png') center center / cover no-repeat;
}

/* Dark gradient overlay for readability */
.evento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(14, 10, 50, 0.88) 0%,
      rgba(14, 10, 50, 0.65) 55%,
      rgba(14, 10, 50, 0.30) 100%);
  z-index: 1;
}

.evento-content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 2rem;
  flex: 1;
  display: flex;
  align-items: center;
}

.evento-text {
  max-width: 560px;
}

.evento-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.evento-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.evento-cta {
  background: var(--color-secondary-red);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.evento-cta:hover {
  background: #ff8a8f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 113, 119, 0.4);
}

/* Bottom metadata bar */
.evento-meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.25);
}

.evento-meta-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.evento-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.evento-meta-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* (badges are now absolutely positioned inside .browser-outer — see above) */

/* ── SaaS feature attributes row (below mockup) ── */
.saas-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.saas-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  gap: 0.75rem;
}

.saas-feature:last-child {
  border-right: none;
}

.saas-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(102, 57, 252, 0.07);
  color: var(--color-secondary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.saas-feature strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neutral-900);
  display: block;
}

.saas-feature p {
  font-size: 0.85rem;
  color: var(--color-neutral-600);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   POINT 2: Empresas headings — match hero h1 size/style
   ============================================================ */
.world-section[data-world="empresas"] h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ============================================================
   POINT 3: Sponsors title in salmon (brand color for Sponsors)
   ============================================================ */
.sponsors-title {
  color: var(--color-secondary-red) !important;
}

/* ============================================================
   POINT 4: Section accent colors per product
   ============================================================ */
/* HUW section — purple */
.huw-section .huw-title,
.huw-section .huw-eyebrow {
  color: var(--color-primary);
}

/* SaaS section — dark navy  */
#saas-mockup .badge {
  color: var(--color-secondary-blue) !important;
  background: rgba(30, 28, 94, 0.08) !important;
}

#saas-mockup h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-secondary-blue);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* White + salmon sponsors CTA button */
.btn-sponsors-cta {
  background: #ffffff;
  color: var(--color-secondary-red);
  border: 2px solid rgba(255, 113, 119, 0.3);
  box-shadow: 0 4px 20px rgba(255, 113, 119, 0.2);
}

.btn-sponsors-cta:hover {
  background: #ffffff;
  color: var(--color-secondary-red);
  border-color: var(--color-secondary-red);
  box-shadow: 0 8px 32px rgba(255, 113, 119, 0.35);
  transform: translateY(-2px);
}

/* Sponsors section — salmon */
#sponsors-empresas .sponsors-eyebrow {
  color: var(--color-secondary-red);
  background: rgba(255, 113, 119, 0.1);
  border-color: rgba(255, 113, 119, 0.2);
}

/* ============================================================
   POINT 5: Evento banner — contained in rounded rectangle
   ============================================================ */
.evento-wrapper {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.evento-banner {
  border-radius: 24px;
  /* rounded corners so image is contained */
  overflow: hidden;
  /* ensures image respects the radius */
}

/* ============================================================
   POINT 7: HUW Bento-grid section
   ============================================================ */
.huw-section {
  background: linear-gradient(150deg, #F2EEFF 0%, #EAE2FF 55%, #F5F0FF 100%);
}

.huw-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.huw-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(102, 57, 252, 0.1);
  border: 1px solid rgba(102, 57, 252, 0.2);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

.huw-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-secondary-blue);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.huw-subtitle {
  font-size: 0.95rem;
  color: var(--color-neutral-600);
  line-height: 1.65;
}

/* Bento grid — 4 cols → 2 rows with 5 cards */
.huw-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.huw-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(102, 57, 252, 0.1);
  border-radius: 18px;
  padding: 1.75rem;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.huw-card:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(102, 57, 252, 0.12);
  transform: translateY(-4px);
}

.huw-card--wide {
  grid-column: span 2;
}

/* API card stretches across 3 of 4 columns on row 2 */
.huw-card--api {
  grid-column: span 3;
}

.huw-card-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.huw-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-secondary-blue);
  margin-bottom: 0.6rem;
}

.huw-card p {
  font-size: 0.83rem;
  color: var(--color-neutral-600);
  line-height: 1.6;
}

.huw-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(102, 57, 252, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Signal pills inside wide card */
.huw-signal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.huw-signal-pills span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(102, 57, 252, 0.08);
  border: 1px solid rgba(102, 57, 252, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Expanded code block in API card */
.huw-code-block {
  margin-top: 1.25rem;
  background: rgba(102, 57, 252, 0.05);
  border: 1px solid rgba(102, 57, 252, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
}

.huw-code-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.huw-code-method {
  font-weight: 700;
  color: var(--color-secondary-red);
}

.huw-code-path {
  color: var(--color-primary);
  font-weight: 600;
}

.huw-code-key {
  color: var(--color-neutral-500);
}

.huw-code-val {
  color: var(--color-secondary-blue);
}

.huw-code-score {
  color: #28C840;
  font-weight: 700;
}

.huw-code-risk {
  color: #28C840;
}

.huw-code-arrow {
  color: var(--color-neutral-400);
  font-weight: 700;
}

.huw-code-line--req {
  border-bottom: 1px solid rgba(102, 57, 252, 0.1);
  padding-bottom: 5px;
  margin-bottom: 2px;
}

.huw-code-line--res {
  border-top: 1px solid rgba(102, 57, 252, 0.1);
  padding-top: 5px;
  margin-top: 2px;
}

.huw-code-note {
  font-size: 0.62rem;
  color: var(--color-neutral-400);
  font-family: var(--font-body);
  margin-top: 6px;
  font-style: italic;
}

/* Alliance note in sponsor benefit */
.sponsor-alliance {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--color-neutral-500);
}

.sponsor-alliance strong {
  color: var(--color-secondary-red);
  font-weight: 700;
}

/* ============================================================
   POINT 8: Tracción section redesign
   ============================================================ */
.traccion-section {
  background: transparent;
}

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

.traccion-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2.5rem;
  gap: 0.5rem;
  border-right: 1px solid rgba(102, 57, 252, 0.14);
}

.traccion-stat:last-child {
  border-right: none;
}

.traccion-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}

.traccion-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem); /* matches global h2 */
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-secondary-blue);
  line-height: 1.1;
}

.traccion-label {
  font-size: 0.85rem;
  color: var(--color-neutral-600);
  line-height: 1.45;
  max-width: 180px;
}

/* ── CTA Empresas — HubSpot form ── */
.cta-empresas-section {
  background: #F7F6FF;
}

.cta-empresas-form-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 1rem;
}

.cta-empresas-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(30, 28, 94, 0.09);
  border: 1px solid rgba(102, 57, 252, 0.08);
  width: 100%;
  max-width: 560px;
}

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