* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f7fa;
}

.beneficios-section {
  background: linear-gradient(135deg, #279659 0%, #9bd342 100%);
  padding: 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.beneficios-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%23ffffff" opacity="0.15"/><circle cx="75" cy="75" r="0.3" fill="%239BD342" opacity="0.1"/><circle cx="50" cy="10" r="0.4" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.2" fill="%23422715" opacity="0.05"/><circle cx="90" cy="40" r="0.3" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
}

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

.beneficios-header {
  text-align: center;
  margin-bottom: 2rem;
}

.beneficios-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

.beneficios-tag::before {
  content: "⭐";
  font-size: 1.2rem;
}

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

.beneficios-titulo {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.beneficios-subtitulo {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.beneficio-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.beneficio-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.beneficio-imagen {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.beneficio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.beneficio-card:hover .beneficio-imagen img {
  transform: scale(1.1);
}

.beneficio-imagen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8),
    rgba(118, 75, 162, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.beneficio-card:hover .beneficio-imagen::after {
  opacity: 1;
}

.beneficio-contenido {
  padding: 2rem 1.5rem;
  position: relative;
}

.beneficio-icono {
  width: 80px;
  height: 80px;
  margin: -40px auto 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  z-index: 3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
  }
  100% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  }
}

.beneficio-icono::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.beneficio-icono-emoji {
  font-size: 2rem;
  position: relative;
  z-index: 2;
}

.beneficio-card-titulo {
  color: #2d3748;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.beneficio-card-texto {
  color: #4a5568;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.beneficio-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #667eea;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__cta {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.hero__cta:hover::before {
  left: 100%;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .beneficios-section {
    padding: 3rem 1rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .beneficio-card {
    margin: 0 auto;
    max-width: 400px;
  }

  .beneficios-titulo {
    font-size: 2rem;
  }

  .beneficio-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animaciones de entrada */
.beneficio-card {
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.6s ease forwards;
}

.beneficio-card:nth-child(1) {
  animation-delay: 0.1s;
}
.beneficio-card:nth-child(2) {
  animation-delay: 0.2s;
}
.beneficio-card:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================
   SECCIÓN DE BENEFICIOS COPERA
   ========================================== */

.copera-benefits {

    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
    overflow: hidden;
}

.benefits-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ====== HEADER ====== */
.benefits-intro {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    animation: fadeInUp 0.8s ease-out;
}

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

.benefits-badge {
    display: inline-block;
    background: linear-gradient(90deg, rgba(0, 165, 81, 0.1), rgba(163, 220, 53, 0.1));
    color: #00a551;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-bottom: 1rem;
    border: 2px solid #00a551;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 165, 81, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 165, 81, 0);
    }
}

.benefits-main-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #212736;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.benefits-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== BLOQUES DE BENEFICIO ====== */
.benefit-block {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    animation: blockFadeIn 0.8s ease-out forwards;
}

.benefit-block:nth-child(2) { animation-delay: 0.2s; }
.benefit-block:nth-child(3) { animation-delay: 0.4s; }
.benefit-block:nth-child(4) { animation-delay: 0.6s; }

@keyframes blockFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 165, 81, 0.15);
}

/* Layout: Izquierda o Derecha */
.benefit-left {
    flex-direction: row;
}

.benefit-right {
    flex-direction: row-reverse;
}

/* ====== IMAGEN ====== */
.benefit-image-side {
    flex: 1;
    min-width: 0;
}

.benefit-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.benefit-block:hover .benefit-img {
    transform: scale(1.05);
}

/* ====== CONTENIDO DE TEXTO ====== */
.benefit-text-side {
    flex: 1;
    min-width: 0;
}

.benefit-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00a551, #a3dc35);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 165, 81, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.benefit-emoji {
    font-size: 2rem;
}

.benefit-heading {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #212736;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ====== MÉTRICAS ====== */
.benefit-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.metric-box {
    background: linear-gradient(135deg, rgba(0, 165, 81, 0.05), rgba(163, 220, 53, 0.05));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(0, 165, 81, 0.2);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.metric-box:hover {
    transform: translateY(-5px);
    border-color: #00a551;
    box-shadow: 0 8px 20px rgba(0, 165, 81, 0.2);
}

.metric-value {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #00a551;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.metric-label {
    display: block;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ====== BOTÓN CTA ====== */
.benefit-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, #00a551, #a3dc35);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 165, 81, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.benefit-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 165, 81, 0.4);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
    .benefit-block,
    .benefit-left,
    .benefit-right {
        flex-direction: column !important;
    }

    .benefit-img {
        height: 300px;
    }

    .benefit-metrics {
        flex-wrap: wrap;
    }

    .metric-box {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .copera-benefits {
        padding: 2rem 0;
    }

    .benefits-wrapper {
        padding: 0 1rem;
    }

    .benefit-block {
        padding: 1.5rem;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .benefit-img {
        height: 250px;
    }

    .benefit-icon-box {
        width: 60px;
        height: 60px;
    }

    .benefit-emoji {
        font-size: 1.5rem;
    }

    .benefit-metrics {
        gap: 1rem;
    }
}