/* ==========================================================================
   Tipografía Oficial: Airbnb Cereal
   ========================================================================== */
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_Lt.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_Bk.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_Md.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_Bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_XBd.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Airbnb Cereal';
  src: url('../assets/fonts/AirbnbCereal_W_Blk.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Variables de Marca Oficiales Fralo Global
   ========================================================================== */
:root {
  --color-navy: #253068;
  --color-sky: #7396f3;
  --color-coral: #e94f2c;
  --color-white: #ffffff;
  --color-cream: #faf8f5;
  --color-text-dark: #1b2347;
  --color-text-muted: #4e5877;
  --color-border-subtle: rgba(37, 48, 104, 0.09);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #16220e;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  font-family: 'Airbnb Cereal', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  position: relative;
  width: 100%;
  overflow-x: clip;
}

/* ==========================================================================
   1. PORTADA HERO (100vh limpio, fijado a la proporción de la piedra)
   ========================================================================== */
.hero-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #172456;
  z-index: 10;
}

.hero-stage {
  position: relative;
  width: max(100vw, calc(100vh * (1024 / 571)));
  height: max(100vh, calc(100vw * (571 / 1024)));
  flex-shrink: 0;
  overflow: hidden;
  perspective: 1200px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
}

.sunlight-haze {
  display: none;
}

/* ==========================================================================
   Logo Principal: Sticker Coral (parte superior del bodegón)
   ========================================================================== */
.hero-sticker-wrapper {
  position: absolute;
  left: 50%;
  top: 24.2%;
  width: 19.5%;
  aspect-ratio: 1.38 / 1;
  transform: translate(-50%, -50%) rotate(-1.8deg);
  z-index: 35;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, opacity;
}

.hero-sticker-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Sombras sobre la superficie del pedestal de madera
   ========================================================================== */
.stone-ambient-shadow {
  display: none;
}

.bodegon-shadows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 11;
}

.fruit-contact-shadow {
  position: absolute;
  transform: translate(-50%, 20%) scale(0.25);
  background: radial-gradient(
    ellipse at center,
    rgba(6, 10, 26, 0.82) 0%,
    rgba(12, 18, 48, 0.52) 40%,
    rgba(16, 24, 62, 0.22) 65%,
    rgba(16, 24, 62, 0) 78%
  );
  border-radius: 50%;
  opacity: 0;
  filter: blur(3.5px);
  will-change: transform, opacity, filter;
}

/* ==========================================================================
   Contenedor del Bodegón de Frutas Hiperrealistas
   ========================================================================== */
.bodegon-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
}

.bodegon-fruit {
  position: absolute;
  transform-origin: 50% 88%;
  will-change: transform, opacity, filter;
  opacity: 0;
  filter:
    drop-shadow(2px 8px 12px rgba(10, 16, 46, 0.44))
    drop-shadow(-2px 4px 6px rgba(16, 24, 62, 0.24))
    contrast(1.03)
    saturate(1.04);
}

.bodegon-fruit img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* ==========================================================================
   Capa Global de Hojas en Caída Continua (Sin fin a lo largo de toda la web)
   ========================================================================== */
.global-leaves-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 28; /* Por encima de la portada y de la sección blanca */
  overflow: hidden;
  transform-style: preserve-3d;
}

/* ==========================================================================
   Capas de Hojas con Profundidad de Campo (Depth of Field)
   ========================================================================== */
.leaves-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}

.leaves-far {
  z-index: 6;
}

.leaves-mid {
  z-index: 17;
}

.leaves-near {
  z-index: 30;
}

.falling-leaf {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center center;
  will-change: transform, opacity;
  opacity: 0;
}

.falling-leaf img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Hojas lejanas: nítidas (sin difusión), con 30% de transparencia (opacidad 0.70) */
.falling-leaf.depth-far img {
  opacity: 0.7;
  filter: brightness(0.98) saturate(0.96)
    drop-shadow(0 3px 5px rgba(15, 22, 10, 0.10));
}

/* Hojas de plano medio: nítidas y 100% visibles */
.falling-leaf.depth-mid img {
  opacity: 1;
  filter: brightness(1.02) contrast(1.04)
    drop-shadow(0 6px 11px rgba(22, 34, 14, 0.18));
}

/* Hojas en primer plano: nítidas (sin difusión), con 30% de transparencia (opacidad 0.70) */
.falling-leaf.depth-near img {
  opacity: 0.7;
  filter: brightness(1.0) saturate(1.02)
    drop-shadow(0 8px 15px rgba(10, 16, 8, 0.14));
}

/* ==========================================================================
   Indicador Sutil de Scroll al pie de la portada
   ========================================================================== */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 3.2%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  z-index: 22;
  opacity: 0;
  text-decoration: none;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  cursor: pointer;
}

.scroll-hint:hover {
  transform: translateX(-50%) translateY(3px);
}

.scroll-hint__text {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.scroll-hint__mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

.scroll-hint__wheel {
  width: 3px;
  height: 7px;
  background-color: var(--color-coral);
  border-radius: 2px;
  margin-top: 5px;
  animation: scrollWheelPulse 1.8s infinite ease-in-out;
}

@keyframes scrollWheelPulse {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  65% {
    transform: translateY(11px);
    opacity: 0.15;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}

/* ==========================================================================
   2. SECCIÓN COMERCIAL: LÍNEAS DE NEGOCIO (SHOWCASE CINEMÁTICO SWIPE)
   ========================================================================== */
.commercial-showcase-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background-color: #ebf2fe;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 12;
  color: var(--color-text-dark);
  user-select: none;
}

/* Fondos a pantalla completa con cross-fade y zoom suave */
.showcase-bg-viewport {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.showcase-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: none;
  transition: opacity 0.4s ease;
  will-change: opacity;
}

.showcase-bg-slide.is-active {
  opacity: 1;
  transform: none;
  z-index: 1;
}

/* Máscaras degradadas cinematográficas estilo Azul Cielo Suave (#7396F3 aclarado): cremoso, fresco y elegante */
.showcase-scrim {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.showcase-scrim--left {
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(210, 226, 252, 0.98) 0%,
    rgba(214, 229, 252, 0.95) 32%,
    rgba(218, 232, 253, 0.88) 46%,
    rgba(222, 235, 254, 0.58) 56%,
    rgba(226, 237, 254, 0.18) 65%,
    rgba(226, 237, 254, 0) 72%
  );
}

.showcase-scrim--bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(
    0deg,
    rgba(210, 226, 252, 0.65) 0%,
    rgba(214, 229, 252, 0.20) 55%,
    transparent 100%
  );
}

.showcase-scrim--top {
  left: 0;
  right: 0;
  top: 0;
  height: 14%;
  background: linear-gradient(
    180deg,
    rgba(210, 226, 252, 0.45) 0%,
    transparent 100%
  );
}

/* Contenedor principal de la experiencia */
.showcase-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2.5rem, 4.5vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Encabezado superior */
.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(233, 79, 44, 0.28);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(23, 31, 69, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.showcase-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-coral);
  box-shadow: 0 0 8px rgba(233, 79, 44, 0.6);
}

.showcase-badge__text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-coral);
}

/* Navegación Superior con Etiqueta de Acción (Opción 2) */
.showcase-header-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.35rem 0.45rem 0.35rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 31, 69, 0.10);
  border-radius: 999px;
  box-shadow:
    0 4px 16px -2px rgba(23, 31, 69, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-header-nav:hover {
  background: #ffffff;
  border-color: rgba(233, 79, 44, 0.35);
  box-shadow:
    0 8px 24px -4px rgba(23, 31, 69, 0.12),
    0 0 16px rgba(233, 79, 44, 0.18);
}

.showcase-header-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  user-select: none;
}

.header-nav-label__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-coral);
  box-shadow: 0 0 8px rgba(233, 79, 44, 0.6);
  animation: badgeDotPulse 2.2s infinite ease-in-out;
}

.header-nav-label__text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.showcase-header-nav__sep {
  width: 1px;
  height: 22px;
  background-color: rgba(23, 31, 69, 0.14);
}

.showcase-header-nav__buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Escenario central: división editorial y riel de tarjetas */
.showcase-main-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  margin: auto 0;
  padding: 1rem 0;
  width: 100%;
}

/* Columna izquierda: Información activa de la línea */
.showcase-editorial-col {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.showcase-story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-story.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-story.is-exiting {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.18s ease;
}

.showcase-story__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 0.75rem;
}

.showcase-story__index {
  background: rgba(233, 79, 44, 0.10);
  color: var(--color-coral);
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(233, 79, 44, 0.24);
}

.showcase-story__title {
  font-size: clamp(2.1rem, 3.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  text-shadow: none;
}

.showcase-story__hook {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 700;
  color: #276738;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.showcase-story__desc {
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  color: #374151;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 0 1.6rem;
}

.showcase-story__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.2rem;
}

.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem;
  background: #ffffff;
  border: 1px solid rgba(37, 48, 104, 0.10);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-dark);
  box-shadow: 0 3px 12px rgba(23, 31, 69, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.showcase-chip svg {
  color: var(--color-coral);
  flex-shrink: 0;
}

.showcase-story__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.showcase-btn--primary {
  background-color: var(--color-coral);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.65rem;
  box-shadow: 0 8px 24px rgba(233, 79, 44, 0.35);
}

.showcase-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 79, 44, 0.52);
  background-color: #f05a38;
}

.showcase-btn--secondary {
  background: #ffffff;
  border: 1.5px solid rgba(37, 48, 104, 0.15);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.88rem 1.55rem;
  box-shadow: 0 4px 14px rgba(23, 31, 69, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.showcase-btn--secondary:hover {
  background: #faf8f5;
  border-color: rgba(37, 48, 104, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 31, 69, 0.10);
}

.showcase-badge-preview {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.05rem;
  background: rgba(115, 150, 243, 0.16);
  border: 1px dashed rgba(115, 150, 243, 0.45);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* Capa de morphing / expansión física de la tarjeta al abrirse (efecto Globe Express) */
.showcase-expanding-layer {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 25px 60px rgba(23, 31, 69, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px; /* Mantener 20px exactos por indicación del usuario */
  opacity: 0;
  display: none;
  will-change: top, left, width, height, border-radius, opacity;
}

/* Columna derecha: Riel de tarjetas flotantes estilo Globe Express */
.showcase-rail-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: visible;
  clip-path: inset(-40px -600px -50px -8px);
}

.showcase-rail-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 1.25rem 0;
  will-change: transform;
}

.showcase-card {
  flex: 0 0 clamp(200px, 16vw, 225px);
  height: clamp(285px, 24vw, 340px);
  position: relative;
  border-radius: 20px; /* Mantener 20px exactos por indicación del usuario */
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(23, 31, 69, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.showcase-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #ffffff;
  box-shadow: 0 22px 48px rgba(23, 31, 69, 0.22);
}

.showcase-card__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-card:hover .showcase-card__media img {
  transform: scale(1.08);
}

.showcase-card__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(14, 20, 44, 0.38) 70%,
    rgba(14, 20, 44, 0.90) 100%
  );
  transition: background 0.4s ease;
}

.showcase-card__top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.showcase-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-navy);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.showcase-card__content {
  position: relative;
  z-index: 3;
}

.showcase-card__pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd2c7;
  margin-bottom: 0.35rem;
}

.showcase-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.showcase-card__snippet {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Barra inferior de navegación y controles estilo Globe Express */
.showcase-controls-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 48, 104, 0.10);
  width: 100%;
}

.showcase-counter {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.showcase-counter__current {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-coral);
}

.showcase-counter__sep {
  font-size: 1rem;
  color: rgba(37, 48, 104, 0.35);
  font-weight: 500;
}

.showcase-counter__total {
  font-size: 1rem;
  color: rgba(37, 48, 104, 0.65);
  font-weight: 600;
}

.showcase-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  max-width: 440px;
}

.showcase-progress__segment {
  flex: 1;
  height: 4px;
  background: rgba(37, 48, 104, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.showcase-progress__segment:hover {
  background: rgba(37, 48, 104, 0.25);
}

.showcase-progress__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--color-coral);
  border-radius: 999px;
  transition: width 0.1s linear;
}

.showcase-progress__segment.is-active .showcase-progress__fill {
  width: 100%;
}

.showcase-progress__segment.is-completed .showcase-progress__fill {
  width: 100%;
  transition: none;
}

.showcase-nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(37, 48, 104, 0.14);
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(23, 31, 69, 0.06);
  outline: none;
}

.showcase-nav-arrow:hover {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: #ffffff;
  transform: scale(1.10);
  box-shadow: 0 6px 20px rgba(233, 79, 44, 0.42);
}

.showcase-nav-arrow:active {
  transform: scale(0.94);
}

.showcase-nav-arrow:focus-visible {
  box-shadow: 0 0 0 3px var(--color-coral);
}

.showcase-nav-arrow svg {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.showcase-nav-arrow--prev:hover svg {
  transform: translateX(-2.5px);
}

.showcase-nav-arrow--next:hover svg {
  transform: translateX(2.5px);
}

/* Sutil animación de pulso / respiración en la flecha de avance para guiar la atención */
.showcase-nav-arrow.has-pulse-glow {
  animation: navArrowPulse 3.2s ease-in-out infinite;
}

.showcase-nav-arrow.has-pulse-glow:hover {
  animation: none;
}

@keyframes navArrowPulse {
  0%, 100% {
    box-shadow: 0 3px 10px rgba(23, 31, 69, 0.06), 0 0 0 0 rgba(233, 79, 44, 0.38);
    border-color: rgba(37, 48, 104, 0.14);
  }
  50% {
    box-shadow: 0 6px 16px rgba(23, 31, 69, 0.12), 0 0 0 8px rgba(233, 79, 44, 0);
    border-color: rgba(233, 79, 44, 0.5);
  }
}

.showcase-down-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(37, 48, 104, 0.12);
  box-shadow: 0 4px 14px rgba(23, 31, 69, 0.06);
  transition: all 0.3s ease;
}

.showcase-down-anchor:hover {
  color: var(--color-coral);
  background: #faf8f5;
  border-color: rgba(233, 79, 44, 0.3);
  transform: translateY(2px);
}

/* ==========================================================================
   Adaptación Responsiva para Tablets y Smartphones
   ========================================================================== */
@media (max-width: 1024px) {
  .showcase-main-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin: 0.5rem 0 0.75rem;
  }

  .showcase-editorial-col {
    min-width: 0;
    width: 100%;
    min-height: auto;
  }

  .showcase-story {
    position: absolute;
    inset: 0;
    width: 100%;
    visibility: hidden;
  }

  .showcase-story.is-active {
    position: relative;
    inset: auto;
    visibility: visible;
  }

  .showcase-scrim--left {
    background: linear-gradient(
      180deg,
      rgba(212, 227, 252, 0.84) 0%,
      rgba(216, 230, 252, 0.78) 32%,
      rgba(220, 233, 253, 0.92) 55%,
      rgba(224, 236, 254, 0.94) 100%
    );
  }

  .showcase-rail-container {
    order: -1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .showcase-card {
    flex: 0 0 185px;
    height: 230px;
  }
}

@media (max-width: 768px) {
  .commercial-showcase-section {
    min-height: auto;
    padding: 2.5rem 0 1.75rem;
    overflow-x: clip;
  }

  .showcase-wrapper {
    min-height: auto;
    padding: 1.25rem 1.15rem;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .showcase-header {
    margin-bottom: 0.35rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .showcase-header-nav {
    padding: 0.25rem 0.35rem 0.25rem 0.85rem;
    gap: 0.65rem;
  }

  .header-nav-label__text {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
  }

  .showcase-header-nav__sep {
    height: 18px;
  }

  .showcase-nav-arrow {
    width: 38px;
    height: 38px;
  }

  .showcase-nav-arrow svg {
    width: 17px;
    height: 17px;
  }

  .showcase-story__title {
    font-size: 1.75rem;
    margin-bottom: 0.6rem;
  }

  .showcase-story__hook {
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
  }

  .showcase-story__desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .showcase-story__chips {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .showcase-chip {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .showcase-story__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .showcase-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  .showcase-card {
    flex: 0 0 165px;
    height: 200px;
    border-radius: 16px;
    padding: 0.85rem;
  }

  .showcase-card__title {
    font-size: 0.98rem;
  }

  .showcase-controls-bar {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
  }

  .showcase-progress {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .showcase-down-anchor {
    display: none;
  }
}

/* ==========================================================================
   3. SECCIÓN BLANCA: CONOCE A FRALO
   ========================================================================== */
.section-nosotros {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-white);
  padding: clamp(5rem, 8.5vw, 8.5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

.section-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.nosotros-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 5vw, 6.5rem);
  align-items: center;
}

/* ==========================================================================
   Caja de Contenido Izquierda (Animación Suave de Izquierda a Derecha)
   ========================================================================== */
.nosotros-content-box {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(-45px);
  transition:
    opacity 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.nosotros-content-box.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Elementos interiores con entrada escalonada suave de izquierda a derecha */
.nosotros-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  background-color: #f1f4fd;
  border: 1px solid rgba(115, 150, 243, 0.25);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 1.35rem;
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-coral);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(233, 79, 44, 0.5);
}

.badge-text {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-navy);
  text-transform: uppercase;
}

.nosotros-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateX(-34px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

.text-coral {
  color: var(--color-coral);
  display: inline-block;
}

.nosotros-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.nosotros-paragraphs p {
  font-size: clamp(1.04rem, 1.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--color-navy);
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.nosotros-paragraphs p strong {
  font-weight: 700;
  color: var(--color-navy);
}

.nosotros-paragraphs p:nth-child(1) {
  transition-delay: 0.28s;
}

.nosotros-paragraphs p:nth-child(2) {
  transition-delay: 0.40s;
}

.nosotros-paragraphs p:nth-child(3) {
  transition-delay: 0.52s;
}

/* Al activarse la clase is-visible, todos los elementos hijos ingresan de izquierda a derecha */
.nosotros-content-box.is-visible .nosotros-badge,
.nosotros-content-box.is-visible .nosotros-title,
.nosotros-content-box.is-visible .nosotros-paragraphs p {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Área Gráfica: Ramas del Árbol Frutal y Caja de Fralo (Cosecha Interactiva)
   ========================================================================== */
.nosotros-graphic-slot {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.harvest-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
  user-select: none;
}

/* 1. Ramas del Árbol Frutal ajustadas directamente a los bordes superior y derecho de la página (sin espacio blanco) */
.tree-canopy {
  position: absolute;
  top: -2px;
  right: -2px;
  width: clamp(520px, 48vw, 780px);
  pointer-events: none;
  z-index: 18;
  transform-origin: 100% 0%;
  animation: canopyWind 7s ease-in-out infinite alternate;
}

@keyframes canopyWind {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(-0.7deg) translate3d(-3px, 1.5px, 0);
  }
  100% {
    transform: rotate(0.5deg) translate3d(2px, -1px, 0);
  }
}

.tree-branches-layer {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(18, 28, 12, 0.08));
}

/* Frutas colgando de las ramas */
.tree-fruits-container {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.tree-fruit-item {
  position: absolute;
  transform-origin: 50% 0%;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
  filter: drop-shadow(0 8px 14px rgba(18, 28, 10, 0.22));
}

.tree-fruit-item:hover {
  transform: scale(1.08) rotate(4deg);
}

.fruit-stem {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 14px;
  background: linear-gradient(to bottom, #3b5028, #253319);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tree-fruit-item img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.tree-fruit-item.fruit-papaya {
  width: 21%;
  animation: fruitSwayPapaya 4.8s ease-in-out infinite alternate;
}

.tree-fruit-item.fruit-melon {
  width: 20%;
  animation: fruitSwayMelon 5.4s ease-in-out infinite alternate;
}

.tree-fruit-item.fruit-banano {
  width: 19%;
  animation: fruitSwayBanano 4.2s ease-in-out infinite alternate;
}

.tree-fruit-item.fruit-mango {
  width: 17%;
  animation: fruitSwayMango 4.5s ease-in-out infinite alternate;
}

@keyframes fruitSwayPapaya {
  0% { transform: rotate(-2.8deg); }
  100% { transform: rotate(3.2deg); }
}

@keyframes fruitSwayMelon {
  0% { transform: rotate(2.4deg); }
  100% { transform: rotate(-2.6deg); }
}

@keyframes fruitSwayBanano {
  0% { transform: rotate(-3.5deg); }
  100% { transform: rotate(2.5deg); }
}

@keyframes fruitSwayMango {
  0% { transform: rotate(3.8deg); }
  100% { transform: rotate(-2.2deg); }
}

/* Fruta caída / oculta de la rama al desprenderse */
.tree-fruit-item.is-harvested {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.5) translateY(20px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 2. Caja de Fralo en la base (proporción más compacta y posicionada más abajo) */
.fralo-box-system {
  position: relative;
  width: 72%;
  max-width: 405px;
  margin-top: 190px;
  margin-bottom: -18px; /* Bajar la caja aprovechando el espacio libre */
  z-index: 10;
  cursor: pointer;
  transform-origin: center bottom;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fralo-box-system:hover {
  transform: translateY(-2px) scale(1.012);
}

.box-floor-shadow {
  position: absolute;
  bottom: -16px;
  left: 6%;
  width: 88%;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(28, 20, 10, 0.25) 0%, rgba(28, 20, 10, 0.08) 55%, transparent 75%);
  filter: blur(8px);
  z-index: 1;
  pointer-events: none;
}

.box-layer-back {
  position: relative;
  width: 100%;
  z-index: 2;
}

.box-img-back {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 16px 26px rgba(35, 25, 15, 0.14));
}

.box-fruits-dock {
  position: absolute;
  inset: 0;
  z-index: 6; /* Detrás de la pared frontal */
  pointer-events: none;
}

.box-layer-front {
  position: absolute;
  inset: 0;
  z-index: 12; /* Por encima de las frutas */
  pointer-events: none;
}

.box-img-front {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.fralo-box-system.is-impacted {
  animation: boxBounce 0.36s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes boxBounce {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.02, 0.98); }
  65% { transform: scale(0.99, 1.01); }
  100% { transform: scale(1, 1); }
}

/* Fruta volando en caída libre */
.falling-flight-fruit {
  position: absolute;
  pointer-events: none;
  z-index: 28;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 18px rgba(18, 28, 12, 0.32));
}

.falling-flight-fruit img {
  display: block;
  width: 100%;
  height: auto;
}

/* Fruta aterrizada y asentada dentro de la caja */
.docked-fruit {
  position: absolute;
  transform-origin: center bottom;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 6px 10px rgba(20, 15, 8, 0.32));
  animation: fruitSettleInBox 0.42s cubic-bezier(0.25, 1, 0.5, 1);
}

.docked-fruit img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes fruitSettleInBox {
  0% {
    transform: translateY(-8px) scale(0.96, 1.05);
  }
  50% {
    transform: translateY(2px) scale(1.04, 0.96);
  }
  100% {
    transform: translateY(0) scale(1, 1);
  }
}

/* ==========================================================================
   3. Franja Azul Oscuro: Nuestra Esencia (Manifiesto Fralo)
   ========================================================================== */
.section-esencia {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 50% 28%, #2e3c80 0%, var(--color-navy) 72%);
  color: var(--color-white);
  padding: clamp(2rem, 3.5vw, 2.85rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 20;
  overflow: hidden;
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.12);
}

.esencia-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.esencia-content {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.esencia-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.esencia-badge-line {
  width: 36px;
  height: 3px;
  background-color: var(--color-coral);
  border-radius: 999px;
  margin: 0 auto 1.1rem;
  box-shadow: 0 0 8px rgba(233, 79, 44, 0.45);
}

.esencia-text {
  font-size: clamp(1.04rem, 1.3vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.esencia-highlight {
  font-size: clamp(1.04rem, 1.3vw, 1.15rem);
  font-weight: 700;
  line-height: 1.65;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   5. Sección: Lo Que Nos Mueve (4 Pilares Estratégicos Fralo)
   ========================================================================== */
.section-mueve {
  position: relative;
  width: 100%;
  background-color: var(--color-white);
  padding: clamp(4rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem) clamp(4.5rem, 7vw, 6.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: visible;
}

.mueve-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.mueve-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.mueve-main-title {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin: 0;
}

/* Grid de los 4 Pilares */
.mueve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.85rem;
  width: 100%;
  margin-top: clamp(3.8rem, 5.5vw, 4.8rem);
  align-items: stretch;
}

/* Tarjeta individual de Pilar (Contenedor vertical de fruta flotante + tarjeta) */
.pilar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Slot superior para la fruta con animación tipo burbuja */
.pilar-fruit-slot {
  position: relative;
  width: 120px;
  height: 110px;
  margin-bottom: -26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

/* Halo sutil ambiental detrás de la fruta */
.fruit-bubble-ambient {
  position: absolute;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 252, 0.5) 60%, transparent 75%);
  filter: blur(5px);
  z-index: 1;
  pointer-events: none;
}

/* Fruta individual en alta definición */
.pilar-fruit-img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(23, 31, 69, 0.16));
  transform-origin: center center;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease;
}

/* Sombra de contacto suave debajo de la fruta */
.fruit-bubble-shadow {
  position: absolute;
  bottom: 6px;
  width: 66px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(23, 31, 69, 0.20) 0%, rgba(23, 31, 69, 0) 72%);
  z-index: 2;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Tamaños calibrados para cada fruta entera en las tarjetas de pilares */
.pilar-fruit-slot .fruit-pina {
  max-height: 104px;
  max-width: 82px;
  margin-top: -12px;
}

.pilar-fruit-slot .fruit-banano {
  max-height: 84px;
  max-width: 98px;
  margin-top: 2px;
}

.pilar-fruit-slot .fruit-melon {
  max-height: 88px;
  max-width: 86px;
  margin-top: 2px;
}

.pilar-fruit-slot .fruit-papaya {
  max-height: 92px;
  max-width: 84px;
  margin-top: -2px;
}

.pilar-fruit-slot .fruit-platano {
  max-height: 86px;
  max-width: 96px;
  margin-top: 2px;
}

.pilar-fruit-slot .fruit-aguacate {
  max-height: 94px;
  max-width: 76px;
  margin-top: 0px;
}

.pilar-fruit-slot .fruit-limon {
  max-height: 88px;
  max-width: 82px;
  margin-top: 2px;
}

.pilar-fruit-slot .fruit-guayaba {
  max-height: 86px;
  max-width: 80px;
  margin-top: 2px;
}

/* Cuerpo blanco de la tarjeta: Todas las cajas con la misma altura uniforme */
.pilar-card-body {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid rgba(37, 48, 104, 0.08);
  border-radius: 22px;
  padding: 2.5rem 1.85rem 2.4rem;
  box-shadow:
    0 12px 30px -8px rgba(37, 48, 104, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 2;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.pilar-card:hover .pilar-card-body {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(37, 48, 104, 0.14), 0 4px 14px rgba(233, 79, 44, 0.06);
  border-color: rgba(233, 79, 44, 0.3);
}

.pilar-card:hover .pilar-fruit-img {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 16px 26px rgba(23, 31, 69, 0.22));
}

.pilar-card:hover .fruit-bubble-shadow {
  transform: scale(0.9);
  opacity: 0.7;
}

/* =========================================================================
   Animación tipo Burbuja Sutil (Scroll-Triggered)
   ========================================================================= */
/* Estado inicial (antes del trigger) */
.pilar-card:not(.is-sprouted) .pilar-fruit-slot {
  opacity: 0;
  transform: scale(0.2) translateY(16px);
}

.pilar-card:not(.is-sprouted) .pilar-card-body {
  opacity: 0;
  transform: translateY(24px);
}

/* Estado activo: Entrada tipo burbuja sutil y flotación suave */
.pilar-card.is-sprouted .pilar-card-body {
  animation: cardSmoothFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--bubble-delay, 0s) + 0.08s);
}

.pilar-card.is-sprouted .pilar-fruit-slot {
  animation:
    fruitBubblePop 0.68s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
    fruitBubbleFloat 4.2s ease-in-out infinite alternate;
  animation-delay: var(--bubble-delay, 0s), calc(var(--bubble-delay, 0s) + 0.68s);
}

.pilar-card.is-sprouted .fruit-bubble-shadow {
  animation:
    shadowBubblePop 0.68s ease forwards,
    shadowPulse 4.2s ease-in-out infinite alternate;
  animation-delay: var(--bubble-delay, 0s), calc(var(--bubble-delay, 0s) + 0.68s);
}

@keyframes fruitBubblePop {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(16px);
  }
  65% {
    opacity: 1;
    transform: scale(1.10) translateY(-4px);
  }
  82% {
    transform: scale(0.97) translateY(1.5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fruitBubbleFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

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

@keyframes shadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(0.86);
    opacity: 0.55;
  }
}

@keyframes cardSmoothFade {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Distintivo de número del pilar */
.pilar-num-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(233, 79, 44, 0.08);
  margin-bottom: 1.1rem;
}

.pilar-num {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--color-coral);
  letter-spacing: 0.06em;
}

.pilar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.pilar-desc {
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--color-navy);
  opacity: 0.88;
}

/* ==========================================================================
   Adaptabilidad Móvil y Tablets
   ========================================================================== */
@media (max-width: 960px) {
  .hero-viewport {
    height: auto;
    min-height: clamp(540px, 80svh, 720px);
    padding-top: 4.5rem;
    align-items: flex-end;
    background: linear-gradient(180deg, #162252 0%, #172456 60%, #121c44 100%);
  }

  .hero-stage {
    width: min(232vw, calc(100svh * (1024 / 571)));
    height: auto;
    aspect-ratio: 1024 / 571;
  }

  .hero-bg-image {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  }

  .hero-sticker-wrapper {
    width: 24%;
    top: 22%;
  }

  .section-nosotros {
    min-height: auto;
    padding: 4.2rem 1.25rem 3.2rem;
  }

  .nosotros-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .nosotros-graphic-slot {
    min-height: 430px;
    padding-top: 175px;
    align-items: flex-end;
  }

  .harvest-stage {
    min-height: 255px;
    justify-content: flex-end;
  }

  .tree-canopy {
    width: min(92vw, 390px);
    top: auto;
    bottom: 295px;
    right: -10px;
  }

  .fralo-box-system {
    width: 84%;
    max-width: 330px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 1120px) {
  .mueve-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 2rem;
  }
}

@media (max-width: 680px) {
  .section-mueve {
    padding: 3.5rem 1.25rem 4.5rem;
  }

  .mueve-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
}

/* ==========================================================================
   4. Sección: Nuestras Frutas (Catálogo Interactivo Oficial)
   ========================================================================== */
.section-frutas {
  position: relative;
  width: 100%;
  background-color: #f7f9fd;
  padding: clamp(4.5rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem) clamp(2.8rem, 4.5vw, 4rem);
  z-index: 10;
  overflow: hidden;
}

.frutas-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
}

/* Encabezado */
.frutas-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.8rem, 4.5vw, 4.2rem);
}

.frutas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  background-color: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.10);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.1rem;
}

.frutas-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-coral);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(233, 79, 44, 0.6);
  animation: badgeDotPulse 2.2s infinite ease-in-out;
}

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

.frutas-main-title {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.frutas-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #276738;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.frutas-lead {
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.68;
  color: #4b5563;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Contenedor Horizontal Curvo (Showcase Interactivo tipo Referente)
   ========================================================================== */
.frutas-showcase-card {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 30px 70px -15px rgba(23, 31, 69, 0.12),
    0 8px 24px -4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background-color: #ffffff;
  outline: none;
}

.frutas-showcase-card:focus-visible {
  box-shadow:
    0 0 0 3px var(--color-coral),
    0 30px 70px -15px rgba(23, 31, 69, 0.16);
}

/* Capa de fondo cromático dinámico con gradiente */
.showcase-bg-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fef8e8 100%);
  transition: background 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  z-index: 1;
}

/* Onda fluida decorativa inferior */
.showcase-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(80px, 12vw, 125px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}

.showcase-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: #ffffff;
}

/* Estructura interior de dos columnas */
.showcase-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  padding: clamp(2.4rem, 3vw, 2.8rem) clamp(6.2rem, 7.5vw, 8rem) clamp(4.5rem, 5.5vw, 5.5rem);
  min-height: 640px;
  align-items: center;
}

/* En pantallas de escritorio, fijar la altura exacta del showcase para evitar cualquier salto entre frutas */
@media (min-width: 1081px) {
  .frutas-showcase-card {
    height: 640px;
  }

  .showcase-inner {
    height: 100%;
    min-height: 640px;
    max-height: 640px;
  }
}

/* ==========================================================================
   Columna Izquierda: Ficha Técnica & Información
   ========================================================================== */
.showcase-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 4;
  height: 100%;
  justify-content: center;
}

.showcase-origin-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--theme-accent, #b45309);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: color 0.4s ease, border-color 0.4s ease;
}

.showcase-fruit-title {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  color: #171f45;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.65rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.showcase-fruit-desc {
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  line-height: 1.55;
  color: #374151;
  margin-bottom: 1.15rem;
  max-width: 470px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}

/* Variedades compactas con altura mínima uniforme para evitar saltos de tamaño */
.showcase-varieties-wrap {
  width: 100%;
  max-width: 480px;
  margin-bottom: 1.35rem;
  min-height: 175px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.varieties-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.varieties-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.variety-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(23, 31, 69, 0.07);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.variety-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(23, 31, 69, 0.14);
  box-shadow: 0 4px 12px rgba(23, 31, 69, 0.05);
}

.variety-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #171f45;
  margin-bottom: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.variety-name::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--theme-accent, #d97706);
}

.variety-desc {
  font-size: 0.82rem;
  line-height: 1.38;
  color: #4b5563;
}

/* ==========================================================================
   Botones Laterales Flotantes del Carrusel (Opción 2 Adaptativa)
   ========================================================================== */
.showcase-side-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #171f45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow:
    0 12px 28px -4px rgba(23, 31, 69, 0.16),
    0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              color 0.25s ease,
              box-shadow 0.3s ease,
              border-color 0.25s ease;
  animation: sideBtnPulse 3.4s ease-in-out infinite;
  outline: none;
}

.btn-side-prev {
  left: 26px;
  animation-delay: 0s;
}

.btn-side-next {
  right: 26px;
  animation-delay: 1.7s;
}

/* Sutil animación de pulso / brillo para invitar a interactuar */
@keyframes sideBtnPulse {
  0%, 100% {
    box-shadow:
      0 12px 28px -4px rgba(23, 31, 69, 0.15),
      0 0 0 0 rgba(233, 79, 44, 0.38);
    border-color: rgba(255, 255, 255, 0.95);
  }
  50% {
    box-shadow:
      0 16px 34px -4px rgba(23, 31, 69, 0.22),
      0 0 0 10px rgba(233, 79, 44, 0);
    border-color: rgba(233, 79, 44, 0.45);
  }
}

.showcase-side-btn:hover {
  transform: translateY(-50%) scale(1.12);
  background-color: #171f45;
  color: #ffffff;
  border-color: #171f45;
  box-shadow:
    0 18px 38px -4px rgba(23, 31, 69, 0.28),
    0 0 24px rgba(233, 79, 44, 0.4);
  animation: none;
}

.showcase-side-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.showcase-side-btn:focus-visible {
  box-shadow:
    0 0 0 3px var(--color-coral),
    0 16px 36px -4px rgba(23, 31, 69, 0.28);
}

.showcase-side-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.btn-side-prev:hover svg {
  transform: translateX(-3px);
}

.btn-side-next:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Dock / Cápsula Inferior Centrada (Pausa, Contador y Dots)
   ========================================================================== */
.showcase-bottom-dock {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.45rem 1.15rem 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  box-shadow:
    0 12px 30px -6px rgba(23, 31, 69, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 22;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
}

.showcase-bottom-dock:hover {
  box-shadow:
    0 16px 36px -6px rgba(23, 31, 69, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.showcase-dock-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(23, 31, 69, 0.12);
  background-color: #ffffff;
  color: #171f45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(23, 31, 69, 0.06);
  outline: none;
  flex-shrink: 0;
}

.showcase-dock-btn:hover {
  transform: scale(1.08);
  background-color: #171f45;
  border-color: #171f45;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 31, 69, 0.22);
}

.showcase-dock-btn:active {
  transform: scale(0.94);
}

.showcase-dock-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--color-coral);
}

.showcase-dock-btn.btn-autoplay.is-paused {
  background-color: #fff8f5;
  border-color: rgba(233, 79, 44, 0.5);
  color: var(--color-coral);
  box-shadow: 0 0 12px rgba(233, 79, 44, 0.25);
}

.showcase-dock-btn.btn-autoplay.is-paused:hover {
  background-color: var(--color-coral);
  border-color: var(--color-coral);
  color: #ffffff;
}

.showcase-dock-btn .icon-pause,
.showcase-dock-btn .icon-play {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.showcase-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #171f45;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.counter-curr {
  color: #171f45;
  font-size: 1.08rem;
  font-weight: 800;
}

.counter-sep {
  color: #9ca3af;
  font-size: 0.88rem;
}

.counter-total {
  color: #6b7280;
  font-size: 0.92rem;
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: rgba(23, 31, 69, 0.18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-dot:hover {
  background-color: rgba(233, 79, 44, 0.45);
}

.showcase-dot.is-active {
  width: 24px;
  background-color: var(--theme-accent, var(--color-coral));
  box-shadow: 0 0 10px rgba(233, 79, 44, 0.45);
}

/* ==========================================================================
   Columna Derecha: Escaparate 3D y Cola de Frutas
   ========================================================================== */
.showcase-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  z-index: 5;
  user-select: none;
  -webkit-user-select: none;
}

.showcase-stage {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Fruta Protagónica Central */
.showcase-fruit-hero {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 480px;
  will-change: transform, opacity, filter;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
  cursor: pointer;
}

.showcase-fruit-hero:active {
  cursor: pointer;
}

.fruit-hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 320px;
  max-height: 440px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.18));
  animation: fruitHeroFloat 4.8s ease-in-out infinite alternate;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

@keyframes fruitHeroFloat {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px)) rotate(1.2deg);
  }
  100% {
    transform: translate(-50%, calc(-50% + 2px)) rotate(-1deg);
  }
}

.fruit-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-glow, rgba(217, 119, 6, 0.22)) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(36px);
  z-index: -2;
  pointer-events: none;
  transition: background 0.6s ease;
}

.fruit-contact-shadow {
  position: absolute;
  bottom: 6px;
  width: 74%;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 72%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

/* ==========================================================================
   Showcase: Animación de Fruta Rebanada (Fragmentación desde Fruta Entera)
   ========================================================================== */
/* Al fragmentarse en rebanadas, la fruta entera desaparece suave y limpiamente */
.showcase-fruit-hero.is-sliced .fruit-hero-img {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.98);
  transition: opacity 0.28s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-fruit-hero.is-slicing .fruit-hero-img {
  transform: translate(-50%, -50%) scale(1.02);
}

.fruit-sliced-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 360px;
  height: 450px;
  max-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Efecto Pop-out hacia el frente (Zoom In de frescura e impacto 3D) */
.showcase-fruit-hero.is-sliced .fruit-sliced-stage {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.03);
}

/* Sombra de contacto suave al elevarse las rebanadas */
.showcase-fruit-hero.is-sliced .fruit-contact-shadow {
  opacity: 0.65;
  transform: scale(0.95);
  filter: blur(9px);
}

/* Contenedor 3D de las rebanadas */
.slice-stack {
  position: relative;
  width: 100%;
  height: 420px;
  max-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.slice-item {
  width: 100%;
  height: 25%;
  max-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  will-change: transform, filter;
  transition: transform 0.85s cubic-bezier(0.2, 1, 0.3, 1), filter 0.4s ease;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18));
}

.slice-item img {
  max-width: 320px;
  max-height: 98px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.slice-item-1 img {
  max-height: 125px;
}

/* Estado 1: Compacto / Fruta entera unida */
.fruit-sliced-stage .slice-item-1 {
  transform: translate(0, 0) rotate(0deg);
}
.fruit-sliced-stage .slice-item-2 {
  transform: translate(0, 0) rotate(0deg);
}
.fruit-sliced-stage .slice-item-3 {
  transform: translate(0, 0) rotate(0deg);
}
.fruit-sliced-stage .slice-item-4 {
  transform: translate(0, 0) rotate(0deg);
}

/* Estado 2: Dispersión en abanico diagonal y zigzag lateral
   Aprovecha el ancho de la columna sin sobrepasar la altura vertical */
.showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-1 {
  transform: translate(-28px, -14px) rotate(-6.5deg);
}
.showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-2 {
  transform: translate(32px, -4px) rotate(7.5deg);
}
.showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-3 {
  transform: translate(-30px, 8px) rotate(-6deg);
}
.showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-4 {
  transform: translate(24px, 18px) rotate(5.5deg);
}

/* Flotación orgánica en micro-movimiento sobre la imagen (sin interferir con el deslizamiento del contenedor) */
.showcase-fruit-hero.is-sliced .slice-item-1 img {
  animation: floatSliceImg1 4.8s ease-in-out infinite alternate;
}
.showcase-fruit-hero.is-sliced .slice-item-2 img {
  animation: floatSliceImg2 4.4s ease-in-out 0.2s infinite alternate;
}
.showcase-fruit-hero.is-sliced .slice-item-3 img {
  animation: floatSliceImg3 4.6s ease-in-out 0.4s infinite alternate;
}
.showcase-fruit-hero.is-sliced .slice-item-4 img {
  animation: floatSliceImg4 5.0s ease-in-out 0.1s infinite alternate;
}

@keyframes floatSliceImg1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-4px, -5px) rotate(1.2deg); }
}
@keyframes floatSliceImg2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(5px, -4px) rotate(1.4deg); }
}
@keyframes floatSliceImg3 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-5px, 4px) rotate(-1.2deg); }
}
@keyframes floatSliceImg4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(4px, 5px) rotate(-1.4deg); }
}

/* ==========================================================================
   Trozos y Fragmentos Fotográficos que se desprenden al cortar
   ========================================================================== */
.fruit-chunks-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: visible;
}

.chunk-item {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.2) translate(0, 0);
  transition:
    opacity 0.4s ease,
    transform 0.85s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.20));
}

.chunk-item img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  will-change: transform;
}

/* Posiciones de anclaje de los 5 trozos alrededor de los 3 cortes */
.chunk-item.chunk-1 {
  top: 30%;
  right: -16px;
  width: 44px;
}

.chunk-item.chunk-2 {
  top: 42%;
  left: -20px;
  width: 40px;
}

.chunk-item.chunk-3 {
  top: 55%;
  right: -22px;
  width: 38px;
}

.chunk-item.chunk-4 {
  top: 67%;
  left: -16px;
  width: 42px;
}

.chunk-item.chunk-5 {
  top: 78%;
  right: -12px;
  width: 34px;
}

/* Al fragmentarse la fruta (.is-sliced), los trozos brotan con energía y levitan */
.showcase-fruit-hero.is-sliced .chunk-item {
  opacity: 1;
}

.showcase-fruit-hero.is-sliced .chunk-item.chunk-1 {
  transform: translate(16px, -14px) rotate(18deg);
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-2 {
  transform: translate(-16px, -8px) rotate(-22deg);
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-3 {
  transform: translate(18px, 10px) rotate(26deg);
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-4 {
  transform: translate(-16px, 12px) rotate(-18deg);
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-5 {
  transform: translate(14px, 14px) rotate(20deg);
}

.showcase-fruit-hero.is-sliced .chunk-item.chunk-1 img {
  animation: floatChunkImg1 4.5s ease-in-out infinite alternate;
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-2 img {
  animation: floatChunkImg2 4.1s ease-in-out 0.2s infinite alternate;
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-3 img {
  animation: floatChunkImg3 4.7s ease-in-out 0.4s infinite alternate;
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-4 img {
  animation: floatChunkImg4 4.3s ease-in-out 0.1s infinite alternate;
}
.showcase-fruit-hero.is-sliced .chunk-item.chunk-5 img {
  animation: floatChunkImg5 4.9s ease-in-out 0.3s infinite alternate;
}

/* Flotación orgánica independiente por trozo */
@keyframes floatChunkImg1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4px, -4px); }
}

@keyframes floatChunkImg2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-4px, -3px); }
}

@keyframes floatChunkImg3 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4px, 3px); }
}

@keyframes floatChunkImg4 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-4px, 4px); }
}

@keyframes floatChunkImg5 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(3px, 4px); }
}

/* Modo silencioso sin transición al cambiar de fruta para evitar destellos */
.showcase-fruit-hero.no-transition,
.showcase-fruit-hero.no-transition *,
.showcase-fruit-hero.no-transition *::before,
.showcase-fruit-hero.no-transition *::after {
  transition: none !important;
  animation: none !important;
}

/* Cola de Frutas a la derecha (Profundidad 3D) */
.showcase-queue-item {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.queue-item-1 {
  right: 6%;
  transform: translateY(-50%) translate3d(0, 0, -60px) scale(0.66) rotate(3deg);
  z-index: 6;
  opacity: 0.68;
  filter: blur(2px) saturate(0.92);
  animation: queueFloat1 5.4s ease-in-out infinite alternate;
}

.queue-item-1:hover {
  filter: blur(0px) saturate(1.05);
  opacity: 0.95;
  transform: translateY(-50%) translate3d(0, -6px, -30px) scale(0.72);
}

.queue-item-2 {
  right: -8%;
  transform: translateY(-50%) translate3d(0, 0, -120px) scale(0.44) rotate(6deg);
  z-index: 4;
  opacity: 0.30;
  filter: blur(4.5px) saturate(0.85);
  animation: queueFloat2 6.2s ease-in-out infinite alternate;
}

.queue-item-2:hover {
  filter: blur(1.5px) saturate(0.95);
  opacity: 0.65;
  transform: translateY(-50%) translate3d(0, -4px, -80px) scale(0.50);
}

@keyframes queueFloat1 {
  0% { transform: translateY(-50%) translate3d(0, 0, -60px) scale(0.66) rotate(3deg); }
  100% { transform: translateY(-55%) translate3d(0, 0, -60px) scale(0.66) rotate(1.5deg); }
}

@keyframes queueFloat2 {
  0% { transform: translateY(-50%) translate3d(0, 0, -120px) scale(0.44) rotate(6deg); }
  100% { transform: translateY(-46%) translate3d(0, 0, -120px) scale(0.44) rotate(4deg); }
}

.queue-fruit-img {
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

/* ==========================================================================
   Clases de Transición de Fruta
   ========================================================================== */
.showcase-fruit-hero.slide-out-left {
  transform: translateX(-70px) translate3d(0, 0, -60px) scale(0.65) rotate(-6deg);
  opacity: 0;
  filter: blur(5px);
  transition: transform 0.24s cubic-bezier(0.4, 0, 1, 1), opacity 0.22s ease, filter 0.22s ease !important;
}

.showcase-fruit-hero.slide-out-right {
  transform: translateX(70px) translate3d(0, 0, -60px) scale(0.65) rotate(6deg);
  opacity: 0;
  filter: blur(5px);
  transition: transform 0.24s cubic-bezier(0.4, 0, 1, 1), opacity 0.22s ease, filter 0.22s ease !important;
}

.showcase-fruit-hero.slide-in-right {
  animation: fruitSlideInRight 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.showcase-fruit-hero.slide-in-left {
  animation: fruitSlideInLeft 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fruitSlideInRight {
  0% {
    transform: translateX(90px) translate3d(0, 0, -60px) scale(0.72) rotate(6deg);
    opacity: 0.3;
    filter: blur(4px);
  }
  100% {
    transform: translateX(0) translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes fruitSlideInLeft {
  0% {
    transform: translateX(-90px) translate3d(0, 0, -60px) scale(0.72) rotate(-6deg);
    opacity: 0.3;
    filter: blur(4px);
  }
  100% {
    transform: translateX(0) translate3d(0, 0, 0) scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0px);
  }
}

/* Transición suave para textos */
.showcase-info-col.is-animating .showcase-fruit-title,
.showcase-info-col.is-animating .showcase-fruit-desc,
.showcase-info-col.is-animating .showcase-origin-tag,
.showcase-info-col.is-animating .showcase-varieties-wrap {
  opacity: 0;
  transform: translateY(8px);
}

/* ==========================================================================
   Barra Inferior de Llamado a la Acción "Conoce nuestros mix"
   ========================================================================== */
.frutas-cta-bar {
  max-width: 1220px;
  margin: clamp(2.8rem, 4.5vw, 4rem) auto 0;
  background-color: #ffffff;
  border-radius: 26px;
  padding: clamp(2.2rem, 3.6vw, 3.2rem) clamp(2rem, 4vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow:
    0 16px 40px -10px rgba(23, 31, 69, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(23, 31, 69, 0.07);
}

.frutas-cta-content {
  max-width: 580px;
}

.frutas-cta-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-coral);
  margin-bottom: 0.55rem;
}

.frutas-cta-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.frutas-cta-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.frutas-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-conoce-mixes {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #e94f2c 0%, #d83d1a 100%);
  color: #ffffff;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(233, 79, 44, 0.32);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-conoce-mixes:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(233, 79, 44, 0.42);
  background: linear-gradient(135deg, #f05835 0%, #e04421 100%);
  color: #ffffff;
}

.btn-conoce-mixes:active {
  transform: translateY(0);
}

.btn-mix-arrow {
  transition: transform 0.25s ease;
}

.btn-conoce-mixes:hover .btn-mix-arrow {
  transform: translateX(4px);
}

.btn-solicitar-info {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.85rem;
  border-radius: 999px;
  border: 1.5px solid rgba(23, 31, 69, 0.25);
  background-color: transparent;
  color: var(--color-navy);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-solicitar-info:hover {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive: Sección Nuestras Frutas
   ========================================================================== */
@media (max-width: 1080px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3rem 4.8rem 5.8rem;
    min-height: auto;
  }

  .showcase-info-col {
    order: 2;
    min-height: auto;
  }

  .showcase-varieties-wrap {
    min-height: auto;
  }

  .showcase-visual-col {
    order: 1;
    min-height: 360px;
  }

  .showcase-stage {
    height: 360px;
  }

  .showcase-side-btn {
    width: 52px;
    height: 52px;
  }

  .btn-side-prev {
    left: 18px;
  }

  .btn-side-next {
    right: 18px;
  }

  .queue-item-1 {
    right: 8%;
  }

  .queue-item-2 {
    right: -4%;
  }

  .frutas-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }

  .frutas-cta-actions {
    width: 100%;
  }

  .btn-conoce-mixes,
  .btn-solicitar-info {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Opción B móvil: flechas flanqueando la fruta y dock de progreso justo debajo de la fruta */
  .showcase-inner {
    padding: 1.8rem 1.25rem 2.2rem;
    gap: 1.6rem;
  }

  .showcase-visual-col {
    min-height: 388px;
    padding-bottom: 58px;
  }

  .showcase-stage {
    height: 330px;
  }

  .showcase-fruit-hero {
    width: 255px;
    height: 315px;
  }

  .showcase-queue-item {
    display: none !important;
  }

  .showcase-side-btn {
    top: 194px;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    animation: none;
    z-index: 40;
  }

  .btn-side-prev {
    left: 10px;
  }

  .btn-side-next {
    right: 10px;
  }

  .showcase-side-btn:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .btn-side-prev:hover svg,
  .btn-side-next:hover svg {
    transform: none;
  }

  .showcase-bottom-dock {
    top: 368px;
    bottom: auto;
    padding: 0.32rem 0.8rem 0.32rem 0.42rem;
    gap: 0.75rem;
    z-index: 38;
  }

  .showcase-dock-btn {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 680px) {
  .section-frutas {
    padding: 3.5rem 1.15rem 3.5rem;
  }

  .frutas-showcase-card {
    border-radius: 26px;
  }

  .showcase-inner {
    padding: 1.65rem 1.15rem 2rem;
  }

  .showcase-visual-col {
    min-height: 372px;
    padding-bottom: 56px;
  }

  .showcase-stage {
    height: 316px;
  }

  .showcase-fruit-hero {
    width: 245px;
    height: 300px;
  }

  .showcase-side-btn {
    top: 184px;
  }

  .showcase-bottom-dock {
    top: 350px;
  }

  .fruit-hero-img {
    max-width: 235px;
    max-height: 285px;
  }

  .fruit-sliced-stage {
    width: 255px;
    height: 295px;
    max-height: 300px;
  }

  .slice-stack {
    height: 270px;
    max-height: 280px;
  }

  .slice-item {
    max-height: 74px;
  }

  .slice-item img {
    max-width: 225px;
    max-height: 70px;
  }

  .slice-item-1 img {
    max-height: 86px;
  }

  .fruit-sliced-stage .slice-item-1 { transform: translate(0, 0) rotate(0deg); }
  .fruit-sliced-stage .slice-item-2 { transform: translate(0, 0) rotate(0deg); }
  .fruit-sliced-stage .slice-item-3 { transform: translate(0, 0) rotate(0deg); }
  .fruit-sliced-stage .slice-item-4 { transform: translate(0, 0) rotate(0deg); }

  .showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-1 { transform: translate(-20px, -10px) rotate(-5.5deg); }
  .showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-2 { transform: translate(24px, -3px) rotate(6.5deg); }
  .showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-3 { transform: translate(-22px, 6px) rotate(-5.5deg); }
  .showcase-fruit-hero.is-sliced .fruit-sliced-stage .slice-item-4 { transform: translate(18px, 14px) rotate(4.5deg); }

  .chunk-item.chunk-1 { width: 34px; right: -12px; }
  .chunk-item.chunk-2 { width: 30px; left: -14px; }
  .chunk-item.chunk-3 { width: 28px; right: -16px; }
  .chunk-item.chunk-4 { width: 32px; left: -12px; }
  .chunk-item.chunk-5 { width: 26px; right: -8px; }

  .queue-item-1 {
    right: -2%;
    transform: translateY(-50%) translate3d(0, 0, -60px) scale(0.55);
  }

  .queue-item-2 {
    display: none;
  }

  .showcase-fruit-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 440px) {
  .showcase-side-btn {
    width: 40px;
    height: 40px;
    top: 184px;
    bottom: auto;
  }

  .btn-side-prev {
    left: 10px;
  }

  .btn-side-next {
    right: 10px;
  }

  .showcase-bottom-dock {
    top: 350px;
    bottom: auto;
    gap: 0.55rem;
    padding: 0.3rem 0.65rem 0.3rem 0.4rem;
  }

  .showcase-counter {
    font-size: 0.88rem;
  }

  .counter-curr {
    font-size: 0.96rem;
  }

  .showcase-dots {
    gap: 0.28rem;
  }

  .showcase-dot {
    width: 6px;
    height: 6px;
  }

  .showcase-dot.is-active {
    width: 18px;
  }
}

/* ==========================================================================
   Optimización de memoria GPU para smartphones (evita cierres de Safari iOS)
   ========================================================================== */
@media (max-width: 960px) {
  .global-leaves-viewport,
  .leaves-layer,
  .slice-stack {
    transform-style: flat !important;
  }

  .showcase-stage,
  .fruit-sliced-stage {
    perspective: none !important;
  }

  .leaves-far,
  .leaves-near {
    display: none !important;
  }

  .nav-island-container,
  .showcase-pill,
  .showcase-header-nav,
  .showcase-chip,
  .showcase-side-btn,
  .showcase-bottom-dock,
  .showcase-tag-pill {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .bodegon-fruit,
  .fruit-contact-shadow,
  .showcase-fruit-hero,
  .slice-item,
  .chunk-item,
  .slice-item img,
  .chunk-item img,
  .showcase-story {
    will-change: auto !important;
  }

  .showcase-fruit-hero,
  .showcase-fruit-hero.slide-out-left,
  .showcase-fruit-hero.slide-out-right,
  .showcase-fruit-hero.slide-in-right,
  .showcase-fruit-hero.slide-in-left {
    filter: none !important;
    transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  }

  .fruit-ambient-glow,
  .fruit-contact-shadow,
  .showcase-fruit-hero.is-sliced .fruit-contact-shadow,
  .fruit-hero-img,
  .slice-item,
  .chunk-item,
  .slice-item img,
  .chunk-item img {
    filter: none !important;
  }

  .fruit-hero-img,
  .showcase-fruit-hero.is-sliced .chunk-item img {
    animation: none !important;
  }

  .bodegon-fruit {
    filter: drop-shadow(0 6px 8px rgba(10, 16, 46, 0.32)) !important;
  }
}

/* ==========================================================================
   5. Pie de Página (Footer Oficial Fralo Global)
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #171f45;
  color: #ffffff;
  padding: clamp(4.5rem, 7vw, 6.5rem) clamp(1.5rem, 4vw, 4rem) 2.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/logos/Patron Fralo.png');
  background-size: 520px;
  background-repeat: repeat;
  opacity: 0.032;
  pointer-events: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.5fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.2rem);
}

/* Columna Marca */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-link {
  display: inline-block;
  transition: transform 0.25s ease;
}

.footer-brand-link:hover {
  transform: translateY(-2px);
}

.footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 1.35rem;
  max-width: 420px;
}

.footer-badge-origin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.6rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.badge-origin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-coral);
  box-shadow: 0 0 10px rgba(233, 79, 44, 0.8);
}

/* Encabezados de columna */
.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2px;
  background-color: var(--color-coral);
  border-radius: 2px;
}

/* Lista de Navegación */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.footer-link svg {
  color: var(--color-coral);
  transition: transform 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-link:hover svg {
  transform: translateX(3px);
}

/* Lista de Contacto */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(115, 150, 243, 0.12);
  border: 1px solid rgba(115, 150, 243, 0.22);
  color: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.contact-item:hover .contact-icon {
  background: rgba(233, 79, 44, 0.18);
  border-color: rgba(233, 79, 44, 0.4);
  color: var(--color-coral);
  transform: translateY(-2px);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.48);
}

.contact-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--color-coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 340px;
}

/* Bloque de Redes Sociales Oficiales */
.footer-social-block {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.6rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.footer-social-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-social-btn:hover svg {
  transform: scale(1.15);
}

.footer-social-btn--instagram:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.25), rgba(253, 29, 29, 0.25));
  border-color: rgba(225, 48, 108, 0.55);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.28);
  color: #ff758c;
}

.footer-social-btn--facebook:hover {
  background: rgba(24, 119, 242, 0.22);
  border-color: rgba(24, 119, 242, 0.55);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.28);
  color: #4facfe;
}

.footer-social-btn--tiktok:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 242, 234, 0.5);
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.25);
  color: #00f2ea;
}

.footer-social-btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  color: #25d366;
}

/* Barra inferior (Copyright + Botón Órbita) */
.footer-bottom {
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Botón Exclusivo de Órbita Agencia */
.footer__agency-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer__agency-btn strong {
  color: var(--color-coral);
  font-weight: 700;
  transition: color 0.25s ease;
}

.footer__agency-btn svg {
  color: var(--color-coral);
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer__agency-btn:hover {
  background: rgba(233, 79, 44, 0.15);
  border-color: var(--color-coral);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 79, 44, 0.28);
}

.footer__agency-btn:hover svg {
  transform: translate(2px, -2px);
}

/* Responsive Footer */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }

  .footer-col-brand {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 3.8rem 1.25rem 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .footer-col-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .footer__agency-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .footer-social-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    gap: 7px;
  }
}

@media (max-width: 380px) {
  .footer-social-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN FLOTANTE INTELIGENTE (Liquid Glass Apple Style)
   ========================================================================== */
.nav-island-bar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 2.5rem);
  transition: transform 0.44s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-island-bar--hidden {
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
}

/* Cápsula Liquid Glass */
.nav-island-container {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  /* Fondo traslúcido con esmerilado profundo estilo Apple */
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.38rem 0.6rem 0.38rem 1.15rem;
  box-shadow: 
    0 14px 34px -4px rgba(17, 36, 73, 0.08),
    inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(17, 36, 73, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-island-container:hover {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 18px 40px -4px rgba(17, 36, 73, 0.11),
    inset 0 1px 2px 0 rgba(255, 255, 255, 1);
}

.nav-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.nav-brand-link:hover {
  transform: scale(1.04);
}

.nav-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: #172b4d;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}

.nav-link:hover {
  color: var(--color-coral);
  background: rgba(255, 255, 255, 0.55);
}

/* Dropdown Líneas de Comercialización */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-chevron {
  transition: transform 0.25s ease;
  color: #64748b;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  color: var(--color-coral);
}

/* Menú Liquid Glass desplegable */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  /* Liquid Glass con mayor opacidad y esmerilado profundo para máxima legibilidad sobre texto */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border-radius: 22px;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 24px 54px -8px rgba(17, 36, 73, 0.16),
    0 4px 16px rgba(17, 36, 73, 0.05),
    inset 0 1px 2px 0 #ffffff;
  width: 324px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
}

/* PUENTE INVISIBLE QUE EVITA QUE EL CURSOR PIERDA EL HOVER AL BAJAR */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px);
}

.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.75);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.nav-dropdown-item:hover {
  background: #ffffff;
  border-color: rgba(233, 79, 44, 0.4);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(233, 79, 44, 0.12);
}

.nav-dropdown-fruit-badge {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 36, 73, 0.08);
  box-shadow: 0 2px 6px rgba(17, 36, 73, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 3px;
  box-sizing: border-box;
  transition: all 0.22s ease;
}

.nav-dropdown-fruit-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-item:hover .nav-dropdown-fruit-badge {
  background: #ffffff;
  border-color: rgba(233, 79, 44, 0.25);
  box-shadow: 0 4px 10px rgba(233, 79, 44, 0.15);
}

.nav-dropdown-item:hover .nav-dropdown-fruit-img {
  transform: scale(1.18) rotate(3deg);
}

.nav-dropdown-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(17, 36, 73, 0.07);
  color: #172b4d;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown-badge--partner {
  background: rgba(233, 79, 44, 0.14);
}

.nav-dropdown-texts {
  display: flex;
  flex-direction: column;
}

.nav-dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #172b4d;
}

.nav-dropdown-desc {
  font-size: 0.73rem;
  color: #64748b;
  margin-top: 1px;
}

.nav-dropdown-item--highlight .nav-dropdown-title {
  color: var(--color-coral);
}

/* Mobile Toggle */
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(17, 36, 73, 0.1);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger-bar {
  width: 100%;
  height: 2px;
  background: #172b4d;
  border-radius: 2px;
  transition: all 0.25s ease;
}

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

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

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

/* Mobile Drawer Liquid Glass */
.nav-mobile-drawer {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 24px 50px -8px rgba(17, 36, 73, 0.18),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-mobile-drawer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.nav-mobile-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: #172b4d;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.nav-mobile-link:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-coral);
}

.nav-mobile-logo-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-mobile-group {
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.nav-mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-mobile-fruit-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.nav-mobile-sublink:hover {
  color: var(--color-coral);
  padding-left: 0.75rem;
}

.nav-mobile-sublink--highlight {
  color: var(--color-coral);
  font-weight: 700;
}

@media (max-width: 960px) {
  .nav-island-bar {
    width: calc(100vw - 2rem);
    max-width: 500px;
  }

  .nav-island-container {
    width: 100%;
    justify-content: space-between;
    padding: 0.42rem 0.6rem 0.42rem 0.9rem;
  }

  .nav-links-wrap {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }
}

/* ==========================================================================
   SECCIÓN: BOLETÍN INFORMATIVO (NEWSLETTER)
   ========================================================================== */
.section-boletin {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #f8fbf6 0%, #edf4e8 100%);
  position: relative;
  overflow: hidden;
}

.boletin-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 20px 48px -12px rgba(23, 43, 77, 0.08);
  text-align: center;
  position: relative;
}

.boletin-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(233, 79, 44, 0.09);
  color: var(--color-coral);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.boletin-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #172b4d;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.boletin-desc {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #5e6c84;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}

.boletin-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.boletin-input-wrap {
  flex: 1 1 300px;
  position: relative;
  display: flex;
  align-items: center;
}

.boletin-mail-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.boletin-input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 36, 73, 0.14);
  background: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  color: #172b4d;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.boletin-input:focus {
  outline: none;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 4px rgba(233, 79, 44, 0.15);
}

.boletin-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94f2c, #ff6b4a);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(233, 79, 44, 0.3);
  font-family: inherit;
}

.boletin-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 79, 44, 0.4);
}

.boletin-msg {
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.boletin-success {
  color: #166534;
  background: #dcfce7;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-block;
}

.boletin-disclaimer {
  font-size: 0.78rem;
  color: #8c9bab;
  margin-top: 1.4rem;
}

@media (max-width: 640px) {
  .section-boletin {
    padding: 3.5rem 1rem;
  }

  .boletin-card {
    padding: 2.4rem 1.4rem;
    border-radius: 20px;
  }

  .boletin-form {
    flex-direction: column;
    width: 100%;
  }

  .boletin-input-wrap,
  .boletin-submit-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   WIDGET FLOTANTE WHATSAPP CON ATLAS (LA MASCOTA DE FRALO) - SPRITESHEET ANIMADO
   ========================================================================== */
.atlas-wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.atlas-wa-bubble {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 280px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 20px 48px -10px rgba(17, 36, 73, 0.2), 0 4px 14px rgba(17, 36, 73, 0.05);
  transform-origin: bottom right;
  transform: scale(0.85) translateY(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease, visibility 0.28s;
  box-sizing: border-box;
}

.atlas-wa-bubble.is-visible {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.atlas-wa-bubble__tail {
  position: absolute;
  bottom: -8px;
  right: 36px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  transform: rotate(45deg);
  box-shadow: 4px 4px 10px rgba(17, 36, 73, 0.06);
}

.atlas-wa-bubble__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 36, 73, 0.05);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.atlas-wa-bubble__close:hover {
  background: rgba(233, 79, 44, 0.12);
  color: var(--color-coral);
  transform: scale(1.1);
}

.atlas-wa-bubble__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.atlas-wa-bubble__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #25d366;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atlas-wa-bubble__avatar img {
  width: 86%;
  height: auto;
  margin-top: 5px;
  object-fit: contain;
}

.atlas-wa-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  border: 1.5px solid #ffffff;
}

.atlas-wa-bubble__name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #172b4d;
}

.atlas-wa-bubble__status {
  font-size: 0.72rem;
  color: #166534;
  font-weight: 600;
}

.atlas-wa-bubble__body {
  margin-bottom: 0.9rem;
}

.atlas-wa-bubble__text {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #334155;
  margin: 0;
}

.atlas-wa-bubble__text strong {
  color: #172b4d;
}

.atlas-wa-bubble__footer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.atlas-wa-bubble__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.atlas-wa-bubble__btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.atlas-wa-bubble__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}

.atlas-wa-brand-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.7;
}

.atlas-wa-trigger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  pointer-events: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px) scale(0.75);
  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}

.atlas-wa-trigger.is-appeared {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.atlas-wa-trigger.is-appeared:hover {
  transform: translateY(-4px) scale(1.03);
}

.atlas-character-wrap {
  position: relative;
  width: 96px;
  height: 138px;
  margin-bottom: -24px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-origin: bottom center;
}

/* Cola de Atlas articulada que menea de un lado a otro con entusiasmo */
.atlas-character-tail {
  position: absolute;
  top: 33px;
  left: 30px;
  width: 31px;
  height: 14px;
  background-image: url('../assets/images/atlas-tail.png?v=20261119_16');
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: 12.7% 73.9%;
  z-index: 1;
  animation: atlasTailWag 0.42s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.atlas-wa-trigger.is-barking .atlas-character-tail {
  opacity: 0;
}

/* Sprite 4-cuadros de Atlas (Reposo, Inclinación, Ladrido, Sonrisa) */
.atlas-character-sprite {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 138px;
  background-image: url('../assets/images/atlas-spritesheet.png?v=20261119_16');
  background-size: 400% 100%;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 6px 14px rgba(17, 36, 73, 0.2));
  animation: atlasBreathe 3.6s ease-in-out infinite;
  transform-origin: bottom center;
  user-select: none;
  -webkit-user-select: none;
}

/* Animación del ciclo de ladrido */
.atlas-wa-trigger.is-barking .atlas-character-sprite {
  animation: atlasBarkCycle 1.05s steps(1);
}

.atlas-wa-trigger.is-barking .atlas-character-wrap {
  animation: atlasBarkHop 1.05s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.atlas-wa-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.15rem 0.5rem 0.65rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px -2px rgba(37, 211, 102, 0.42), 0 4px 10px rgba(17, 36, 73, 0.1);
  border: 2px solid #ffffff;
  box-sizing: border-box;
}

.atlas-wa-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atlas-wa-pill-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.atlas-wa-pulse {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.4);
  z-index: 1;
  pointer-events: none;
  animation: atlasPulse 2.4s ease-out infinite;
}

/* Keyframes de animación */
@keyframes atlasBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.015); }
}

@keyframes atlasBarkCycle {
  0% { background-position: 0% 0%; }          /* Frame 0: Atento */
  18% { background-position: 33.333% 0%; }      /* Frame 1: Inclinación hacia adelante */
  42% { background-position: 66.666% 0%; }      /* Frame 2: Ladrido ¡Guau! hocico abierto */
  76% { background-position: 100% 0%; }         /* Frame 3: Sonrisa feliz */
  100% { background-position: 0% 0%; }         /* Retorno a reposo */
}

@keyframes atlasBarkHop {
  0% { transform: translateY(0); }
  18% { transform: translateY(4px) scale(1.02); }        /* Se agacha hacia la píldora */
  42% { transform: translateY(-8px) scale(1.08); }       /* Salto elástico del ladrido */
  76% { transform: translateY(-2px) scale(1.02); }       /* Se asienta */
  100% { transform: translateY(0) scale(1); }
}

@keyframes atlasPulse {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.6; }
  70% { transform: translateX(-50%) scale(1.28); opacity: 0; }
  100% { transform: translateX(-50%) scale(1.28); opacity: 0; }
}

@keyframes atlasTailWag {
  0% { transform: rotate(-18deg); }
  50% { transform: rotate(16deg); }
  100% { transform: rotate(-18deg); }
}

@media (max-width: 600px) {
  .atlas-wa-widget { bottom: 18px; right: 18px; }
  .atlas-wa-bubble { width: 260px; right: 0; padding: 1rem; }
  .atlas-character-wrap { width: 81px; height: 116px; margin-bottom: -20px; }
  .atlas-character-sprite { width: 81px; height: 116px; }
  .atlas-character-tail {
    top: 28px;
    left: 25px;
    width: 26px;
    height: 12px;
  }
  .atlas-wa-pill { padding: 0.42rem 0.95rem 0.42rem 0.55rem; }
  .atlas-wa-pill-text { font-size: 0.82rem; }
}

/* ==========================================================================
   SUBPÁGINA B2B: PARA SUPERMERCADOS Y ALMACENES DE CADENA
   ========================================================================== */

.subpage-body {
  background: #ffffff;
  color: #171f45;
  overflow-x: hidden;
}

.b2b-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* 1. Hero B2B */
.b2b-hero {
  position: relative;
  padding: clamp(6.8rem, 11vw, 8.8rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: radial-gradient(circle at 18% 12%, rgba(214, 90, 64, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 86% 24%, rgba(23, 31, 69, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #f3f7fe 0%, #ffffff 100%);
  overflow: hidden;
}

.b2b-hero--showcase {
  min-height: clamp(620px, 92vh, 860px);
  display: flex;
  align-items: center;
  padding: clamp(6.8rem, 10vw, 8.2rem) 0 clamp(4rem, 6vw, 5.5rem);
  background: #e4edfc;
}

.b2b-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.b2b-hero--showcase .b2b-container {
  position: relative;
  z-index: 5;
}

.b2b-hero__showcase-content {
  max-width: 610px;
}

.b2b-hero--showcase .b2b-eyebrow {
  background: #ffffff;
  border: 1px solid rgba(233, 79, 44, 0.28);
  color: #171f45;
  box-shadow: 0 6px 18px rgba(23, 31, 69, 0.07);
}

.b2b-eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d65a40;
  flex-shrink: 0;
}

.b2b-hero--showcase .b2b-hero__copy p {
  color: #1f2a4d;
  font-weight: 500;
}

.b2b-hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.b2b-hero__top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.35rem;
}

.b2b-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 31, 69, 0.1);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.b2b-back-link:hover {
  color: #171f45;
  border-color: rgba(23, 31, 69, 0.25);
  transform: translateX(-2px);
}

.b2b-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d65a40;
  background: rgba(214, 90, 64, 0.1);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
}

.b2b-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: #171f45;
  margin: 0 0 1.4rem;
}

.b2b-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.b2b-hero__copy p {
  font-size: clamp(0.98rem, 1.15vw, 1.07rem);
  line-height: 1.72;
  color: #3f4a6b;
  margin: 0;
}

.b2b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.92rem 1.65rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.25s ease, color 0.25s ease;
}

.b2b-btn--primary {
  background: #d65a40;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(214, 90, 64, 0.28);
}

.b2b-btn--primary:hover {
  background: #c24b32;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(214, 90, 64, 0.36);
}

.b2b-btn--navy {
  background: #171f45;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 31, 69, 0.22);
}

.b2b-btn--navy:hover {
  background: #222e66;
  transform: translateY(-2px);
}

.b2b-btn--outline {
  background: #ffffff;
  color: #171f45;
  border: 1.5px solid rgba(23, 31, 69, 0.16);
  box-shadow: 0 6px 18px rgba(23, 31, 69, 0.06);
}

.b2b-btn--outline:hover {
  border-color: #171f45;
  transform: translateY(-2px);
}

.b2b-btn--wa {
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.28);
}

.b2b-btn--wa:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

.b2b-hero__visual {
  position: relative;
}

.b2b-hero__photo-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(23, 31, 69, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  aspect-ratio: 4 / 4.4;
}

.b2b-hero__photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.b2b-hero__photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(23, 31, 69, 0.72) 100%);
}

.b2b-hero__stat-badge {
  position: absolute;
  bottom: 1.35rem;
  left: 1.35rem;
  right: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 28px rgba(17, 24, 56, 0.16);
}

.b2b-hero__stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d65a40;
  line-height: 1;
  flex-shrink: 0;
}

.b2b-hero__stat-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: #171f45;
  line-height: 1.35;
}

/* 2. Sección ¿Por qué elegir a Fralo? */
.b2b-section {
  padding: clamp(3.5rem, 6vw, 5.2rem) 0;
}

.b2b-section--soft {
  background: #f8faff;
}

.b2b-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 4vw, 3.2rem);
}

.b2b-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #171f45;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.b2b-section-subtitle {
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #4b5675;
  margin: 0;
}

.b2b-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.b2b-reason-card {
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 22px;
  padding: 1.75rem 1.55rem;
  box-shadow: 0 10px 30px rgba(23, 31, 69, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.b2b-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(23, 31, 69, 0.09);
  border-color: rgba(214, 90, 64, 0.25);
}

.b2b-reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #d65a40;
  background: rgba(214, 90, 64, 0.11);
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.b2b-reason-title {
  font-size: 1.14rem;
  font-weight: 700;
  color: #171f45;
  margin: 0 0 0.65rem;
}

.b2b-reason-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #4b5675;
  margin: 0;
}

/* 3. Portafolio: Frutas para tu supermercado */
.b2b-fruits-box {
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 28px;
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 16px 42px rgba(23, 31, 69, 0.06);
  text-align: center;
}

.b2b-fruit-showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.5rem;
  margin: 2rem 0 1.65rem;
  text-align: left;
  align-items: stretch;
}

.b2b-fruit-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.b2b-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f4f7fe;
  border: 1.5px solid rgba(23, 31, 69, 0.08);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #171f45;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.b2b-selector-btn img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(23, 31, 69, 0.12));
  transition: transform 0.25s ease;
}

.b2b-selector-btn:hover {
  background: #ffffff;
  border-color: rgba(23, 31, 69, 0.22);
  transform: translateY(-2px);
}

.b2b-selector-btn:hover img {
  transform: scale(1.08);
}

.b2b-selector-btn.is-active {
  background: #ffffff;
  border-color: #d65a40;
  box-shadow: 0 10px 24px rgba(214, 90, 64, 0.14);
}

.b2b-fruit-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
  height: 376px;
  min-height: 376px;
  background: linear-gradient(145deg, #f3f7fe 0%, #ffffff 100%);
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 24px;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.b2b-fruit-stage__visual {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-fruit-stage__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.26) 0%, transparent 70%);
  z-index: 0;
  transition: background 0.35s ease;
}

.b2b-fruit-stage__whole {
  position: relative;
  z-index: 2;
  width: clamp(185px, 18vw, 235px);
  height: clamp(185px, 18vw, 235px);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(23, 31, 69, 0.18));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.b2b-fruit-stage.is-switching .b2b-fruit-stage__whole {
  opacity: 0;
  transform: scale(0.92) translateY(8px);
}

.b2b-fruit-stage__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}

.b2b-fruit-stage__variety {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d65a40;
  background: rgba(214, 90, 64, 0.11);
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.b2b-fruit-stage__name {
  font-size: clamp(1.5rem, 2.3vw, 1.9rem);
  font-weight: 800;
  color: #171f45;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.b2b-fruit-stage__desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #4b5675;
  margin: 0 0 1.1rem;
  min-height: 6.6em;
}

.b2b-fruit-stage__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.48rem;
  margin-bottom: 0;
  min-height: 5.5rem;
}

.b2b-stage-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: #171f45;
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.1);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
}

.b2b-fruit-stage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.b2b-fruit-stage__actions .b2b-btn {
  padding: 0.72rem 1.25rem;
  font-size: 0.87rem;
}

@media (max-width: 1020px) {
  .b2b-fruit-showcase {
    grid-template-columns: 1fr;
  }

  .b2b-fruit-selector {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .b2b-fruit-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2b-fruit-stage {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 520px;
    text-align: center;
  }

  .b2b-fruit-stage__visual {
    height: 205px;
    min-height: 205px;
  }

  .b2b-fruit-stage__info {
    min-height: auto;
  }

  .b2b-fruit-stage__variety {
    align-self: center;
  }

  .b2b-fruit-stage__desc {
    min-height: 6.6em;
  }

  .b2b-fruit-stage__chips {
    justify-content: center;
    min-height: 4.5rem;
  }
}

.b2b-fruits-note {
  font-size: 0.98rem;
  color: #4b5675;
  max-width: 640px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}

/* 4. Banner Experiencia */
.b2b-experience-banner {
  background: linear-gradient(135deg, #171f45 0%, #222e66 100%);
  color: #ffffff;
  border-radius: 28px;
  padding: clamp(2.2rem, 4.5vw, 3.6rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 52px rgba(23, 31, 69, 0.2);
}

.b2b-experience-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 90, 64, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.b2b-experience-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.b2b-experience-title {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 1.15rem;
  color: #ffffff;
}

.b2b-experience-inner p {
  font-size: clamp(0.98rem, 1.15vw, 1.07rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin: 0 auto 0.9rem;
}

.b2b-experience-inner p:last-of-type {
  margin-bottom: 0;
}

/* Cuadrícula de almacenes aliados estilo constelación (blanco + iluminación gradual) */
.b2b-allies-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin: 2.1rem 0 1.15rem;
}

.b2b-allies-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0;
}

.b2b-ally-cell {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.35rem;
  box-sizing: border-box;
  background: rgba(10, 16, 40, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease,
              box-shadow 0.35s ease;
  user-select: none;
}

.b2b-ally-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.22);
  border-left: 1.5px solid rgba(255, 255, 255, 0.22);
  border-top-left-radius: 15px;
  pointer-events: none;
  transition: border-color 0.35s ease;
}

.b2b-ally-cell:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 255, 255, 0.1);
}

.b2b-ally-cell:hover::before {
  border-color: #ffffff;
}

.b2b-ally-logo {
  max-width: 84%;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  animation-name: b2bStarlightFade;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transition: opacity 0.35s ease, transform 0.35s ease;
  will-change: opacity, transform;
  transform: translateZ(0);
}

.b2b-ally-logo--2,
.b2b-ally-logo--5 {
  max-height: 62px;
}

.b2b-ally-logo--1 { animation-duration: 5.4s; animation-delay: 0s; }
.b2b-ally-logo--2 { animation-duration: 6.2s; animation-delay: -1.9s; }
.b2b-ally-logo--3 { animation-duration: 5.8s; animation-delay: -3.5s; }
.b2b-ally-logo--4 { animation-duration: 6.6s; animation-delay: -4.8s; }
.b2b-ally-logo--5 { animation-duration: 5.9s; animation-delay: -2.6s; }

.b2b-ally-cell:hover .b2b-ally-logo {
  animation-play-state: paused !important;
  opacity: 1 !important;
  transform: translateZ(0) scale(1.06) !important;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.45)) !important;
}

@keyframes b2bStarlightFade {
  0%, 100% {
    opacity: 0.92;
    transform: translateZ(0) scale(1);
  }
  25% {
    opacity: 0.88;
    transform: translateZ(0) scale(1);
  }
  50% {
    opacity: 0.16;
    transform: translateZ(0) scale(0.96);
  }
  75% {
    opacity: 0.95;
    transform: translateZ(0) scale(1.01);
  }
}

@media (max-width: 820px) {
  .b2b-allies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .b2b-ally-cell {
    height: 92px;
    padding: 0.85rem 1rem;
  }

  .b2b-ally-cell:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.425rem);
    justify-self: center;
  }

  .b2b-ally-logo {
    max-height: 44px;
  }

  .b2b-ally-logo--2,
  .b2b-ally-logo--5 {
    max-height: 52px;
  }
}

/* 5. Empecemos a trabajar juntos + Formulario */
.b2b-proposal-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.b2b-proposal-intro h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #171f45;
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

.b2b-proposal-intro > p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5675;
  margin: 0 0 1.75rem;
}

.b2b-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.8rem;
}

.b2b-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 18px;
  padding: 1.05rem 1.2rem;
  box-shadow: 0 6px 18px rgba(23, 31, 69, 0.04);
}

.b2b-step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #171f45;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.b2b-step-item strong {
  color: #171f45;
}

.b2b-step-item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #3f4a6b;
}

.b2b-alt-wa-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.04) 100%);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  padding: 1.35rem;
}

.b2b-alt-wa-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #171f45;
  margin: 0 0 0.45rem;
}

.b2b-alt-wa-card p {
  font-size: 0.9rem;
  color: #4b5675;
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* Formulario */
.b2b-form-card {
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.1);
  border-radius: 26px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 20px 50px rgba(23, 31, 69, 0.08);
}

.b2b-form-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #171f45;
  margin: 0 0 0.4rem;
}

.b2b-form-card__sub {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 1.5rem;
}

.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.b2b-form-row-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.b2b-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.b2b-field--full {
  grid-column: 1 / -1;
}

.b2b-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #171f45;
}

.b2b-field input,
.b2b-field textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.93rem;
  color: #171f45;
  background: #f8faff;
  border: 1.5px solid rgba(23, 31, 69, 0.12);
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.b2b-field input:focus,
.b2b-field textarea:focus {
  background: #ffffff;
  border-color: #d65a40;
  box-shadow: 0 0 0 4px rgba(214, 90, 64, 0.12);
}

.b2b-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.15rem 0 1.35rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #4b5675;
  cursor: pointer;
}

.b2b-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: #d65a40;
  flex-shrink: 0;
  cursor: pointer;
}

.b2b-form-submit {
  width: 100%;
}

.b2b-form-confirm {
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #14532d;
  font-size: 0.9rem;
  line-height: 1.55;
  display: none;
}

.b2b-form-confirm.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .b2b-hero__grid,
  .b2b-proposal-grid {
    grid-template-columns: 1fr;
  }

  .b2b-reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2b-hero__photo-card {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .b2b-reasons-grid,
  .b2b-form-grid,
  .b2b-form-row-3 {
    grid-template-columns: 1fr;
  }

  .b2b-hero__actions .b2b-btn {
    width: 100%;
  }
}

/* ==========================================================================
   SUBPÁGINA EXPORTACIÓN: FRUTA DE VOCACIÓN EXPORTADORA Y DESTINOS
   ========================================================================== */

.b2b-hero__lead {
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  font-weight: 700;
  color: #166534;
  margin: -0.4rem 0 1.15rem;
  line-height: 1.4;
}

.b2b-export-fruits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.b2b-export-fruit-card {
  background: linear-gradient(155deg, #f4f7fe 0%, #ffffff 100%);
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 24px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(23, 31, 69, 0.05);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.b2b-export-fruit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(23, 31, 69, 0.1);
  border-color: rgba(214, 90, 64, 0.3);
}

.b2b-export-fruit-card__media {
  position: relative;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.b2b-export-fruit-card__media img {
  max-height: 145px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(23, 31, 69, 0.16));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.b2b-export-fruit-card:hover .b2b-export-fruit-card__media img {
  transform: scale(1.07);
}

.b2b-export-fruit-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d65a40;
  background: rgba(214, 90, 64, 0.1);
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.b2b-export-fruit-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #171f45;
  margin: 0 0 0.5rem;
}

.b2b-export-fruit-card__desc {
  font-size: 0.94rem;
  line-height: 1.62;
  color: #4b5675;
  margin: 0;
}

.b2b-destinations-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.b2b-destination-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .b2b-export-fruits-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUBPÁGINA AGRICULTORES: FRUTAS QUE MANEJAMOS E INVITACIÓN
   ========================================================================== */

.b2b-agri-fruits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem auto 1.65rem;
}

.b2b-agri-fruit-item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: #f4f7fe;
  border: 1px solid rgba(23, 31, 69, 0.08);
  border-radius: 18px;
  padding: 0.9rem 1.15rem;
  text-align: left;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.b2b-agri-fruit-item:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(214, 90, 64, 0.3);
  box-shadow: 0 12px 26px rgba(23, 31, 69, 0.08);
}

.b2b-agri-fruit-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 14px rgba(23, 31, 69, 0.14));
  transition: transform 0.3s ease;
}

.b2b-agri-fruit-item:hover img {
  transform: scale(1.07);
}

.b2b-agri-fruit-item__name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #171f45;
  line-height: 1.25;
}

.b2b-agri-other-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.9rem;
  background: rgba(214, 90, 64, 0.08);
  border: 1px solid rgba(214, 90, 64, 0.22);
  border-radius: 18px;
  padding: 0.95rem 1.4rem;
  margin-top: 0.4rem;
  font-size: 0.96rem;
  color: #171f45;
}

.b2b-agri-other-note a {
  font-weight: 700;
  color: #d65a40;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.b2b-agri-other-note a:hover {
  color: #b4432a;
}

@media (max-width: 820px) {
  .b2b-agri-fruits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .b2b-agri-fruit-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.425rem);
    justify-self: center;
  }

  .b2b-agri-fruit-item img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 520px) {
  .b2b-agri-fruits-grid {
    grid-template-columns: 1fr;
  }

  .b2b-agri-fruit-item:last-child:nth-child(odd) {
    width: 100%;
  }
}

/* ==========================================================================
   SUBPÁGINA PACKS PARA EL HOGAR: CATÁLOGO INTERACTIVO
   ========================================================================== */

.b2b-hero--compact {
  min-height: clamp(460px, 66vh, 620px);
}

.packs-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.7rem;
}

.packs-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 31, 69, 0.1);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #171f45;
  box-shadow: 0 6px 16px rgba(23, 31, 69, 0.06);
}

.packs-hero-chip svg {
  color: #d65a40;
  flex-shrink: 0;
}

.packs-catalog {
  padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.packs-catalog__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(1.8rem, 3vw, 2.6rem);
}

.packs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  grid-template-areas:
    "stage info"
    "tabs  tabs";
  gap: 1.5rem;
  align-items: stretch;
}

/* ---------- Selector de los 9 packs ---------- */
.packs-tabs {
  grid-area: tabs;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding-top: 0.4rem;
}

.packs-tab {
  appearance: none;
  border: 1.5px solid rgba(23, 31, 69, 0.14);
  background: #ffffff;
  color: #171f45;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  scroll-snap-align: center;
  box-shadow: 0 6px 16px rgba(23, 31, 69, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.packs-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 31, 69, 0.4);
}

.packs-tab:focus-visible {
  outline: 3px solid rgba(214, 90, 64, 0.45);
  outline-offset: 2px;
}

.packs-tab.is-active {
  background: #171f45;
  border-color: #171f45;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 31, 69, 0.28);
}

.packs-tab--super {
  border-color: rgba(214, 90, 64, 0.55);
  background: linear-gradient(135deg, #fff6ec 0%, #ffe9dc 100%);
  color: #b4432a;
}

.packs-tab--super.is-active {
  background: linear-gradient(135deg, #e8613f 0%, #d65a40 55%, #f08a3a 100%);
  border-color: #d65a40;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(214, 90, 64, 0.4);
}

/* ---------- Escenario: caja Fralo sobre mesón de cocina ---------- */
.packs-stage {
  grid-area: stage;
  position: relative;
  min-height: clamp(480px, 52vw, 620px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(6.4rem, 9.5vw, 8.2rem) clamp(1rem, 4vw, 3rem) clamp(2.4rem, 4.8vw, 3.6rem);
  border-radius: 30px;
  overflow: hidden;
  background-color: #f3e8dc;
  background-image: url('../assets/images/packs/packs-meson-bg.jpg?v=20261202_03');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  border: 1px solid rgba(112, 78, 46, 0.14);
  box-shadow: 0 24px 54px rgba(23, 31, 69, 0.1);
  box-sizing: border-box;
  touch-action: pan-y;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.packs-stage.is-super {
  border-color: rgba(214, 90, 64, 0.42);
  box-shadow: 0 26px 60px rgba(214, 90, 64, 0.2);
}

.packs-stage__glow {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: min(88%, 580px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 236, 0.25) 0%, rgba(255, 248, 236, 0) 68%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.packs-stage.is-super .packs-stage__glow {
  background: radial-gradient(circle, rgba(255, 206, 108, 0.48) 0%, rgba(247, 150, 90, 0.22) 48%, rgba(255, 255, 255, 0) 72%);
}

.packs-stage__counter {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 40;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #171f45;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 31, 69, 0.08);
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
}

.packs-stage__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: linear-gradient(135deg, #e8613f 0%, #f08a3a 100%);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(214, 90, 64, 0.35);
  opacity: 0;
  transform: translateY(-8px) scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.packs-stage__badge.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.packs-arrow {
  position: absolute;
  top: 50%;
  z-index: 40;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  border: 1px solid rgba(23, 31, 69, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: #171f45;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 31, 69, 0.14);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease;
}

.packs-arrow:hover {
  background: #171f45;
  color: #ffffff;
  transform: scale(1.08);
}

.packs-arrow:focus-visible {
  outline: 3px solid rgba(214, 90, 64, 0.45);
  outline-offset: 2px;
}

.packs-arrow--prev { left: 1rem; }
.packs-arrow--next { right: 1rem; }

/* ---------- Caja Fralo apoyada sobre el mesón (capas) ---------- */
.packs-box-system {
  position: relative;
  width: min(84%, 560px);
  z-index: 10;
  cursor: pointer;
  transform-origin: center bottom;
  -webkit-tap-highlight-color: transparent;
}

.packs-box-system.is-impacted {
  animation: boxBounce 0.36s cubic-bezier(0.25, 1, 0.5, 1);
}

.packs-box-floor-shadow {
  position: absolute;
  bottom: -4px;
  left: 6%;
  width: 88%;
  height: 12px;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(48, 28, 12, 0.48) 0%, rgba(48, 28, 12, 0.18) 58%, transparent 100%);
  filter: blur(4px);
  z-index: 1;
  pointer-events: none;
}

.packs-box-floor-shadow::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -3%;
  width: 108%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 52% 45%, rgba(56, 35, 16, 0.28) 0%, rgba(56, 35, 16, 0.1) 52%, transparent 76%);
  filter: blur(8px);
}

.packs-box-back {
  position: relative;
  z-index: 2;
}

.packs-box-back img,
.packs-box-front img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.packs-box-back img {
  filter: drop-shadow(0 5px 10px rgba(48, 28, 12, 0.14));
}

.packs-box-dock {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.packs-box-front {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.packs-fruit {
  position: absolute;
  transform-origin: center bottom;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 7px 10px rgba(20, 15, 8, 0.3));
}

.packs-fruit--top {
  filter: drop-shadow(0 12px 14px rgba(28, 16, 6, 0.44));
}

.packs-fruit img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.packs-fruit.is-dropping {
  animation: packsFruitDrop 0.95s both;
}

.packs-fruit.is-leaving {
  animation: packsFruitLeave 0.28s ease-in forwards !important;
  animation-delay: 0ms !important;
}

@keyframes packsFruitDrop {
  0% {
    opacity: 0;
    transform: translateY(-460px) rotate(var(--rot0)) scale(1, 1);
    animation-timing-function: cubic-bezier(0.55, 0.05, 0.9, 0.55);
  }
  10% {
    opacity: 1;
  }
  58% {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot)) scale(1.05, 0.94);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  78% {
    transform: translateY(-9px) rotate(var(--rot)) scale(0.99, 1.02);
    animation-timing-function: ease-in-out;
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--rot)) scale(1, 1);
  }
}

@keyframes packsFruitLeave {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateY(-34px) rotate(var(--rot)) scale(0.94);
  }
}

/* ---------- Tarjeta de compra ---------- */
.packs-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(23, 31, 69, 0.09);
  border-radius: 30px;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  box-shadow: 0 20px 48px rgba(23, 31, 69, 0.09);
  box-sizing: border-box;
}

.packs-info__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #171f45;
  background: rgba(23, 31, 69, 0.07);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.packs-info__tag.is-super {
  color: #b4432a;
  background: rgba(214, 90, 64, 0.13);
}

.packs-info__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.55rem, 2.25vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #171f45;
  margin: 0 0 1rem;
}

.packs-info__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(23, 31, 69, 0.09);
}

.packs-info__price {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: #d65a40;
  letter-spacing: -0.02em;
}

.packs-info__price small {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-left: 0.3rem;
}

.packs-info__weight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: #171f45;
  background: #eef3fd;
  border: 1px solid rgba(23, 31, 69, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.packs-info__label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.65rem;
}

.packs-info__list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.packs-info__list--two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 0.48rem;
}

.packs-info__list--two-col .packs-info__item {
  gap: 0.45rem;
  padding: 0.36rem 0.55rem 0.36rem 0.36rem;
  border-radius: 14px;
  min-width: 0;
}

.packs-info__list--two-col .packs-info__thumb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.packs-info__list--two-col .packs-info__thumb img {
  max-width: 28px;
  max-height: 30px;
}

.packs-info__list--two-col .packs-info__qty {
  font-size: 0.84rem;
  min-width: 1.3rem;
}

.packs-info__list--two-col .packs-info__fruit {
  font-size: 0.84rem;
  line-height: 1.15;
  white-space: nowrap;
}

.packs-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f5f8ff;
  border: 1px solid rgba(23, 31, 69, 0.06);
  border-radius: 16px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
}

.packs-info__thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.packs-info__thumb img {
  max-width: 34px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.packs-info__qty {
  font-size: 0.95rem;
  font-weight: 800;
  color: #d65a40;
  min-width: 1.6rem;
}

.packs-info__fruit {
  font-size: 0.97rem;
  font-weight: 700;
  color: #171f45;
}

.packs-order {
  margin-top: auto;
}

.packs-order__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.packs-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: #f5f8ff;
  border: 1px solid rgba(23, 31, 69, 0.1);
  border-radius: 999px;
  padding: 0.25rem;
}

.packs-qty button {
  appearance: none;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #171f45;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(23, 31, 69, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.packs-qty button:hover:not(:disabled) {
  background: #171f45;
  color: #ffffff;
  transform: scale(1.06);
}

.packs-qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.packs-qty__value {
  min-width: 2rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: #171f45;
}

.packs-order__total {
  text-align: right;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.2;
}

.packs-order__total strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #171f45;
}

.packs-order .b2b-btn {
  width: 100%;
}

.packs-order__note {
  margin: 0.8rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b;
  text-align: center;
}

.packs-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.4rem;
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
}

.packs-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #171f45;
}

.packs-trust__item svg {
  color: #22a55a;
  flex-shrink: 0;
}

.packs-cta-wrap {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: #f5f8ff;
}

.packs-cta-wrap .b2b-btn--wa {
  margin-top: 1.5rem;
}

@media (max-width: 1020px) {
  .packs-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "tabs"
      "stage"
      "info";
    gap: 1.1rem;
  }

  .packs-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * 4vw);
    padding: 0.3rem 4vw 0.6rem;
  }

  .packs-tabs::-webkit-scrollbar {
    display: none;
  }

  .packs-stage {
    min-height: clamp(380px, 70vw, 560px);
  }
}

@media (max-width: 640px) {
  .packs-stage {
    min-height: 0;
    padding: 5.8rem 0.75rem 2.2rem;
    border-radius: 24px;
  }

  .packs-box-system {
    width: 94%;
  }

  .packs-arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .packs-arrow--prev { left: 0.4rem; }
  .packs-arrow--next { right: 0.4rem; }

  .packs-info {
    border-radius: 24px;
  }

  .packs-tab {
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
  }

  .packs-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 440px) {
  .packs-info__list--two-col {
    grid-template-columns: 1fr;
  }

  .packs-info__list--two-col .packs-info__fruit {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .packs-fruit.is-dropping,
  .packs-fruit.is-leaving {
    animation: none !important;
  }
}
