/* ========================================
   INDEX - MEJORAS UI/UX
   Paleta de colores:
   - #0a0e1a (dark navy)
   - #871b51 (magenta/pink)
   - #214b66 (ocean blue)
   - #d55a3e (coral/orange)
   - #c34359 (rose/red)
   ======================================== */

/* ==========================================
   HEADERS DE SECCIONES - ALTERNADOS
   ========================================== */

.section-header-left {
  text-align: left;
  margin-bottom: 3rem;
}

.section-header-right {
  text-align: right;
  margin-bottom: 3rem;
}

.section-header-left .title-with-bg,
.section-header-right .title-with-bg {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header-left .section-subtitle,
.section-header-right .section-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.section-header-left .section-subtitle {
  margin-left: 0;
  margin-right: auto;
}

.section-header-right .section-subtitle {
  margin-left: auto;
  margin-right: 0;
}

/* Para sección impact con fondo claro */
.section-impact .section-header-left .section-subtitle {
  color: #4a5568;
}

/* ==========================================
   SECCIÓN SOBRE LOVEON - DOS COLUMNAS
   ========================================== */

.section-about {
  background: linear-gradient(135deg, #0a0e1a 0%, #141824 100%);
  padding: 4rem 0 !important;
  overflow: hidden;
  position: relative;
}

.section-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(135, 27, 81, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(33, 75, 102, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.about-header {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.about-header .title-with-bg {
  margin-bottom: 0.75rem;
  font-size: 2rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  max-width: 600px;
  line-height: 1.6;
}

/* Grid de dos columnas */
.about-two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.about-mission-column,
.about-values-column {
  background: transparent; /* Cuadro transparente eliminado */
  border: none; /* Borde eliminado */
  border-radius: 0;
  padding: 2rem;
  backdrop-filter: none;
}

.column-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #871b51 0%, #d55a3e 100%);
  border-radius: 2px;
}

.mission-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.9rem;
}

.mission-content p:last-child {
  margin-bottom: 0;
}

/* Valores como grid estática (sin slider) */
.values-static-grid {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.value-item-compact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  cursor: default;
}

.value-item-compact:hover {
  transform: translateX(0) translateY(0);
}

/* Colores específicos de iconos */
.value-item-compact[data-color="pink"] .value-icon-compact {
  background: linear-gradient(135deg, #871b51 0%, #c34359 100%);
}

.value-item-compact[data-color="blue"] .value-icon-compact {
  background: linear-gradient(135deg, #214b66 0%, #2a6a8a 100%);
}

.value-item-compact[data-color="orange"] .value-icon-compact {
  background: linear-gradient(135deg, #d55a3e 0%, #f47560 100%);
}

.value-item-compact[data-color="dark"] .value-icon-compact {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-icon-compact {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(135, 27, 81, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Efecto de pulso en el icono */
.value-icon-compact::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: inherit;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

.value-item-compact:hover .value-icon-compact {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 25px rgba(135, 27, 81, 0.5);
}

.value-item-compact:hover .value-icon-compact::after {
  opacity: 0.6;
  animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

.value-icon-compact svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.value-item-compact:hover .value-icon-compact svg {
  transform: scale(1.1);
}

.value-text-compact {
  position: relative;
  z-index: 2;
}

.value-text-compact h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.value-item-compact:hover .value-text-compact h4 {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.value-text-compact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

.value-item-compact:hover .value-text-compact p {
  color: rgba(255, 255, 255, 0.9);
}

/* Box-shadows eliminados - sin cuadros transparentes */

/* ==========================================
   SECCIÓN NUESTRAS ÁREAS - CON DEGRADADO
   ========================================== */

.section-areas {
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 25%, #2a1a33 50%, #1a2530 75%, #0a0e1a 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2rem 0;
}

.section-areas-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(244, 41, 89, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(42, 106, 138, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(225, 29, 72, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.section-areas .inner {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.section-areas .section-header-right {
  margin-bottom: 1.5rem;
}

.section-areas .title-with-bg {
  color: white;
  margin-bottom: 0.5rem;
}

.section-areas .section-subtitle {
  margin-bottom: 0;
}

/* Areas Slider - Fondo unificado */
.areas-slider {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.areas-slider .slider-container {
  background: transparent;
  border-radius: 0;
}

.areas-slider .slide {
  background: transparent;
}

.areas-slider .slide-background {
  display: none;
}

/* ==========================================
   SECCIÓN DE IMPACTO - REDISEÑADA
   ========================================== */

.section-impact {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 0;
  position: relative;
}

.section-impact .title-with-bg {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #0a0e1a;
}

.section-impact .section-subtitle {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.impact-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 16px rgba(10, 14, 26, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 14, 26, 0.05);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(10, 14, 26, 0.15);
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-card[data-color="pink"]::before {
  background: linear-gradient(90deg, #871b51 0%, #c34359 100%);
}

.impact-card[data-color="red"]::before {
  background: linear-gradient(90deg, #c34359 0%, #e31837 100%);
}

.impact-card[data-color="blue"]::before {
  background: linear-gradient(90deg, #214b66 0%, #2a6a8a 100%);
}

.impact-card[data-color="orange"]::before {
  background: linear-gradient(90deg, #d55a3e 0%, #f47560 100%);
}

.impact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 6px 20px rgba(135, 27, 81, 0.25);
  transition: all 0.4s ease;
}

.impact-card[data-color="pink"] .impact-icon {
  background: linear-gradient(135deg, #871b51 0%, #c34359 100%);
}

.impact-card[data-color="red"] .impact-icon {
  background: linear-gradient(135deg, #c34359 0%, #e31837 100%);
}

.impact-card[data-color="blue"] .impact-icon {
  background: linear-gradient(135deg, #214b66 0%, #2a6a8a 100%);
}

.impact-card[data-color="orange"] .impact-icon {
  background: linear-gradient(135deg, #d55a3e 0%, #f47560 100%);
}

.impact-card:hover .impact-icon {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 10px 28px rgba(135, 27, 81, 0.35);
}

.impact-icon svg {
  width: 32px;
  height: 32px;
}

.impact-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1;
  background: linear-gradient(135deg, #0a0e1a 0%, #2c4a63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.impact-area {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.4rem 0.9rem;
  border-radius: 16px;
  display: inline-block;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.05) 0%, rgba(10, 14, 26, 0.02) 100%);
}

.impact-card[data-color="pink"] .impact-area {
  color: #871b51;
}

.impact-card[data-color="red"] .impact-area {
  color: #c34359;
}

.impact-card[data-color="blue"] .impact-area {
  color: #214b66;
}

.impact-card[data-color="orange"] .impact-area {
  color: #d55a3e;
}

.impact-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.impact-card:hover .impact-decoration {
  opacity: 1;
}

.impact-card[data-color="pink"] .impact-decoration {
  background: linear-gradient(90deg, #871b51 0%, #c34359 100%);
}

.impact-card[data-color="red"] .impact-decoration {
  background: linear-gradient(90deg, #c34359 0%, #e31837 100%);
}

.impact-card[data-color="blue"] .impact-decoration {
  background: linear-gradient(90deg, #214b66 0%, #2a6a8a 100%);
}

.impact-card[data-color="orange"] .impact-decoration {
  background: linear-gradient(90deg, #d55a3e 0%, #f47560 100%);
}

/* ==========================================
   SECCIÓN CTA - SIN CONTAINER REDONDEADO
   ========================================== */

.section-cta {
  background-image: url('../../media/img/revolution/117253755_157864102542160_3358714144486118401_n.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.90) 0%, rgba(135, 27, 81, 0.80) 100%);
  z-index: 0;
}

.section-cta .inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.cta-content {
  max-width: 100%;
  text-align: center; /* Todo centrado */
}

.cta-content h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.cta-content p {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto; /* Centrado horizontal */
  margin-right: auto; /* Centrado horizontal */
  text-align: center;
}

.section-header-right.cta-content p {
  margin-left: auto;
  margin-right: auto; /* Centrado en lugar de derecha */
}

.section-header-right .cta-buttons {
  justify-content: center; /* Centrado en lugar de derecha */
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center; /* Botones centrados */
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 2.5rem; /* Reducido de 1.1rem a 0.75rem */
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

.cta-primary {
  background: linear-gradient(135deg, #871b51 0%, #c34359 100%);
  color: white;
  border: 2px solid transparent;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(135, 27, 81, 0.45);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0e1a;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.35);
  background: #ffffff;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .about-two-column-grid {
    gap: 2rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header-left .title-with-bg,
  .section-header-right .title-with-bg {
    font-size: 1.85rem;
  }
}

@media (max-width: 768px) {
  .section-about {
    padding: 3rem 0 !important;
  }

  .section-areas,
  .section-impact,
  .section-cta {
    padding: 3rem 0;
  }

  .section-header-left,
  .section-header-right {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .section-header-left .section-subtitle,
  .section-header-right .section-subtitle,
  .section-header-right.cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .section-header-right .cta-buttons {
    justify-content: center;
  }

  .about-header .title-with-bg {
    font-size: 1.75rem;
  }

  .about-tagline {
    font-size: 0.95rem;
  }

  .about-two-column-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-mission-column,
  .about-values-column {
    padding: 1.75rem;
  }

  .column-title {
    font-size: 1.35rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .impact-card {
    padding: 1.75rem 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-areas {
    background-attachment: scroll;
  }

  .section-cta {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .section-header-left .title-with-bg,
  .section-header-right .title-with-bg {
    font-size: 1.6rem;
  }

  .about-header {
    margin-bottom: 2rem;
  }

  .about-mission-column,
  .about-values-column {
    padding: 1.5rem;
  }

  .column-title {
    font-size: 1.25rem;
  }

  .mission-content p {
    font-size: 0.9rem;
  }

  .value-item-compact {
    padding: 0.9rem;
  }

  .value-icon-compact {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .value-icon-compact svg {
    width: 22px;
    height: 22px;
  }

  .value-text-compact h4 {
    font-size: 0.95rem;
  }

  .value-text-compact p {
    font-size: 0.8rem;
  }

  .impact-icon {
    width: 56px;
    height: 56px;
  }

  .impact-icon svg {
    width: 28px;
    height: 28px;
  }

  .impact-number {
    font-size: 2.5rem;
  }

  .impact-label {
    font-size: 0.95rem;
  }

  .cta-btn {
    padding: 0.7rem 2rem; /* Más corto también en móvil */
    font-size: 0.95rem;
  }
}

/* ==========================================
   UTILIDADES GENERALES
   ========================================== */

.section-areas .inner,
.section-cta .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
