/* ═══════════════════════════════════════════════
   VALOR — LABRIEGO
═══════════════════════════════════════════════ */

#valor {
  background: #090909;
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.valor-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* ── Columna imagen ───────────────────────────── */
.valor-img-col {
  position: relative;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.valor-img-col.visible {
  opacity: 1;
  transform: translateX(0);
}

.valor-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.valor-img-block {
  aspect-ratio: 4 / 5;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transform: scale(1.06);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.valor-img-col.visible .valor-img-block {
  transform: scale(1);
}

/* Sutil acento de luz en esquina */
.valor-img-block::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,89,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}

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

.valor-img-label {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  font-weight: 600;
}

/* Badge flotante */
.valor-img-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: 100px;
}
.valor-img-badge span {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Columna texto ────────────────────────────── */
.valor-text-col {
  display: flex;
  flex-direction: column;
}

.valor-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 28px;
  font-weight: 700;
}

.valor-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: #FFFFFF;
  margin-bottom: 36px;
}

.valor-rule {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 44px;
}

/* ── Lista de beneficios ──────────────────────── */
.valor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.valor-list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.valor-dash {
  color: var(--coral);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  flex-shrink: 0;
}

.valor-list-item h3 {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 6px;
  letter-spacing: 0.1px;
}

.valor-list-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.75;
  margin: 0;
  max-width: 300px;
}

/* ── Animaciones de scroll ────────────────────── */
.valor-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.valor-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.valor-reveal[data-delay="0"] { transition-delay: 0.05s; }
.valor-reveal[data-delay="1"] { transition-delay: 0.15s; }
.valor-reveal[data-delay="2"] { transition-delay: 0.28s; }
.valor-reveal[data-delay="3"] { transition-delay: 0.40s; }
.valor-reveal[data-delay="4"] { transition-delay: 0.54s; }
.valor-reveal[data-delay="5"] { transition-delay: 0.68s; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .valor-inner {
    gap: 64px;
    padding: 0 40px;
  }
  .valor-title { font-size: 42px; }
}

@media (max-width: 860px) {
  .valor-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 32px;
  }

  /* Imagen: mantiene ratio nativo (4/5), sin max-height para que
     el wrap siempre coincida con el bloque y el badge no se desplace */
  .valor-img-block {
    aspect-ratio: 4 / 5;
  }

  /* Centrar imagen */
  .valor-img-col {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .valor-img-wrap {
    width: 100%;
    max-width: 420px;
  }

  /* Centrar columna de texto */
  .valor-text-col {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .valor-title { font-size: 36px; letter-spacing: -1.2px; }

  .valor-rule {
    margin-left: auto;
    margin-right: auto;
  }

  .valor-list {
    width: 100%;
    max-width: 400px;
  }

  .valor-list-item {
    text-align: left;
  }

  .valor-list-item p {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  #valor { padding: 80px 0; }
  .valor-inner { padding: 0 20px; gap: 36px; }
  .valor-title { font-size: 30px; letter-spacing: -1px; }
  .valor-list { gap: 24px; }
}
