/* === Sección 2 Problema - Unificado, UX/UI, tipografía creativa, mensajes claros === */
.values {
  --values-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --values-duration: 0.5s;
  background: linear-gradient(180deg, #f8f6f2 0%, #efe9e0 50%, #e8e2d5 100%);
  padding: 5rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .values {
    padding: 4rem 1.5rem 4.5rem;
  }
}

.values__wrap {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

/* Icono decorativo vintage - esquina superior derecha, visible */
.values__icon {
  position: absolute;
  top: -0.5rem;
  right: 0;
  width: 80px;
  height: 80px;
  opacity: 0.28;
  pointer-events: none;
  transition: opacity var(--values-duration) var(--values-ease), transform var(--values-duration) var(--values-ease);
}
.values:hover .values__icon {
  opacity: 0.4;
  transform: scale(1.05) rotate(-2deg);
}
@media (max-width: 767px) {
  .values__icon {
    width: 56px;
    height: 56px;
    top: -0.25rem;
    right: -0.25rem;
  }
}
.values__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

/* Eyebrow - Walkway, impacto */
.values__eyebrow {
  font-family: "Walkway", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8C8557;
  margin: 0 0 1.25rem;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.1s forwards;
}

/* Headline - Editor's Note, gran impacto tipográfico */
.values__headline {
  margin: 0 0 2rem;
  line-height: 0.92;
}
.values__headline-a {
  display: block;
  font-family: "Editor's Note", serif;
  font-weight: 200;
  font-size: clamp(3rem, 7vw, 5rem);
  color: #000;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.2s forwards;
  transition: letter-spacing var(--values-duration) var(--values-ease);
}
.values__headline:hover .values__headline-a {
  letter-spacing: 0.04em;
}
.values__headline-b {
  display: block;
  font-family: "Editor's Note", serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  color: #8C8557;
  letter-spacing: 0.01em;
  margin-top: 0.15em;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.35s forwards;
  position: relative;
}
.values__headline-b::after {
  content: "";
  position: absolute;
  bottom: 0.08em;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8C8557, transparent);
  transition: width 0.6s var(--values-ease);
}
.values__headline:hover .values__headline-b::after {
  width: 100%;
}

@keyframes valuesFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Punch - una línea clara, mix de fuentes */
.values__punch {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: #2c2c2c;
  margin: 0 0 2.5rem;
  max-width: 32ch;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.5s forwards;
}
.values__punch em {
  font-family: "Walkway", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: #8C8557;
  letter-spacing: 0.02em;
}

/* Bloques problema + realidad - sin cajas: tipografía y línea decorativa */
.values__insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.6s forwards;
}
@media (max-width: 639px) {
  .values__insights {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.values__insight {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-left: 1.5rem;
  border: none;
  background: none;
}
/* Línea vertical a la izquierda, centrada con las bolitas */
.values__insight::before {
  content: "";
  position: absolute;
  left: 0.5625rem;
  top: 0.6rem;
  bottom: -0.5rem;
  width: 2px;
  background: linear-gradient(180deg, #8C8557 0%, rgba(140, 133, 87, 0.4) 100%);
  border-radius: 1px;
}
.values__insight--problem::before {
  top: 1rem;
}
.values__insight--reality::before {
  top: 0.6rem;
  bottom: -0.25rem;
}
/* Bolita: anillo verde oliva, interior claro, punto blanco (estilo Tu Ruta) */
.values__insight-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #8C8557;
  background: #E8E2D5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: 0.5625rem;
  margin-left: -0.4375rem;
  margin-top: 0.25rem;
  transition: box-shadow var(--values-duration) var(--values-ease);
}
.values__insight-dot--active {
  width: 18px;
  height: 18px;
  margin-left: -0.5625rem;
  margin-top: 0.15rem;
  border-color: #8C8557;
  background: #efe9e0;
  box-shadow: 0 0 0 4px rgba(140, 133, 87, 0.22);
}
.values__insight-dot-inner {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(140, 133, 87, 0.12);
}
.values__insight-dot--active .values__insight-dot-inner {
  width: 5px;
  height: 5px;
}
.values__insight:hover .values__insight-dot {
  box-shadow: 0 0 0 3px rgba(140, 133, 87, 0.18);
}
.values__insight-body {
  padding-left: 0;
  flex: 1;
  min-width: 0;
}
.values__insight-label {
  display: block;
  font-family: "Walkway", sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8C8557;
  margin-bottom: 0.5rem;
}
.values__insight-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  color: #2c2c2c;
  margin: 0;
}
.values__insight-text strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* Síntomas - una línea creativa con separadores tipo vintage */
.values__symptoms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.7s forwards;
}
.values__symptom {
  font-family: "Editor's Note", serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #5a5544;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.5rem;
  transition: color var(--values-duration) var(--values-ease);
}
.values__symptom:hover {
  color: #8C8557;
}
.values__symptom-sep {
  width: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8C8557, transparent);
  opacity: 0.5;
  flex-shrink: 0;
}
@media (max-width: 479px) {
  .values__symptoms {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .values__symptom-sep {
    display: none;
  }
}

/* Deco esquina - flourish inferior */
.values__deco {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 64px;
  height: 64px;
  opacity: 0.2;
  pointer-events: none;
}
.values__deco-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

/* CTA - diseño creativo: cita editorial + botón con acentos */
.values__cta {
  position: relative;
  padding: 2.5rem 2.5rem 2.25rem;
  max-width: 36rem;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(107, 127, 89, 0.95) 0%, rgba(140, 133, 87, 0.92) 50%, rgba(107, 127, 89, 0.9) 100%);
  border-radius: 2rem;
  overflow: hidden;
  opacity: 0;
  animation: valuesFadeUp 0.8s var(--values-ease) 0.8s forwards;
  transition: box-shadow var(--values-duration) var(--values-ease), transform var(--values-duration) var(--values-ease);
  border: 1px solid rgba(232, 226, 213, 0.2);
  box-shadow: 0 8px 32px rgba(107, 127, 89, 0.25);
}
.values__cta:hover {
  box-shadow: 0 14px 40px rgba(107, 127, 89, 0.35);
  transform: translateY(-4px);
}
.values__cta-quote {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: "Editor's Note", serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
}
.values__cta-line {
  font-family: "Editor's Note", serif;
  font-style: italic;
  font-weight: 200;
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 0 1.5rem;
  padding-right: 1rem;
  line-height: 1.35;
}
.values__cta-divider {
  display: block;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(232, 226, 213, 0.6), transparent);
  margin: 1.5rem 0 1.5rem 1.5rem;
  border-radius: 1px;
  transition: width var(--values-duration) var(--values-ease);
}
.values__cta:hover .values__cta-divider {
  width: 4rem;
}
.values__cta-btn {
  display: inline-block;
  margin-left: 1.5rem;
  padding: 0.9rem 1.75rem;
  font-family: "Walkway", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2c2c2c;
  background: #E8E2D5;
  border-radius: 2rem;
  text-align: center;
  transition: background var(--values-duration) var(--values-ease), color var(--values-duration) var(--values-ease), transform var(--values-duration) var(--values-ease), box-shadow var(--values-duration) var(--values-ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.values__cta-btn:hover {
  background: #fff;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.values__cta-accent {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 213, 0.2);
  opacity: 0.5;
}
.values__cta-accent {
  transition: opacity var(--values-duration) var(--values-ease), transform var(--values-duration) var(--values-ease);
}
.values__cta:hover .values__cta-accent {
  opacity: 0.75;
  transform: scale(1.05);
}
