/* Updated: 2026-04-09 */
/* Split Hero Layout for Banano page */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 140px 40px 60px 40px;
  position: relative;
  background-color: #f4f7fa; /* Plomo claro / Light Leaden */
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  padding: 0 40px;
}

.hero-left .hero-title {
  font-size: 3.5rem;
  color: #081B40; /* Dark Blue */
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-left .hero-subtitle {
  font-size: 1.2rem;
  color: #4A5568; /* Grayish blue-dark */
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 540px;
}

.hero-right {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero-image-container {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* Floating metric cards */
.metric-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: floatMetric 0.8s ease-out, floatUpDown 4s ease-in-out infinite;
  min-width: 180px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.metric-label {
  font-size: 0.75rem;
  color: #718096;
  font-weight: 500;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #015CBF;
}

/* Card positions */
.metric-card-tl {
  top: 10%;
  left: -5%;
  animation-delay: 0.1s, 0s;
}

.metric-card-tm {
  top: 20%;
  right: -5%;
  animation-delay: 0.2s, 0.5s;
}

.metric-card-bl {
  bottom: 15%;
  left: 0%;
  animation-delay: 0.3s, 1s;
}

.metric-card-br {
  bottom: 10%;
  right: 0%;
  animation-delay: 0.4s, 1.5s;
}

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

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

@media (max-width: 1024px) {
    .hero-left .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 140px 0 60px 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    box-sizing: border-box;
  }

  .hero-left {
    padding: 0 16px;
    margin: 0;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-left .hero-title {
    font-size: 2.2rem;
    margin: 0 0 20px 0;
  }

  .hero-left .hero-subtitle {
    font-size: 1rem;
    margin: 0 0 16px 0;
  }

  .hero-left p {
    margin: 0 0 16px 0;
    padding: 0;
  }

  .hero-right {
    padding: 0 16px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-image-container {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .metric-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-left .hero-title {
    font-size: 1.8rem;
  }
}
