.sec1{
  background: linear-gradient(120deg, #181C26 80%, #C7A350 120%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}



.sec2-filosofia ul.list-unstyled li{
  font-size: 18px;
}

.sec3-metodo{
    background: linear-gradient(220deg, #181C26 80%, #C7A350 120%);
}

.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 850px;
  padding: 2rem 0 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, #f5e5c6 100%);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 8px;
  opacity: 0.32;
}
.timeline-item {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 50%;
  position: relative;
  margin-bottom: 3rem;
  z-index: 2;
}
.timeline-item.left {
  left: 0;
  justify-content: flex-end;
}
.timeline-item.right {
  left: 50%;
  justify-content: flex-start;
}
.timeline-item .timeline-content {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px #baa36112;
  border: 1.5px solid var(--color-accent);
  position: relative;
  width: 95%;
  min-width: 230px;
  max-width: 390px;
  text-align: left;
}
.timeline-item.left .timeline-content {
  margin-right: 1.2rem;
}
.timeline-item.right .timeline-content {
  margin-left: 1.2rem;
}
.timeline-icon {
  position: absolute;
  top: 50%;
  right: -43px;
  transform: translateY(-50%);
  background: var(--color-accent);
  color: var(--color-primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  box-shadow: 0 2px 14px #b79a5431;
  z-index: 3;
  border: 2px solid #fff;
}
.timeline-item.right .timeline-icon {
  left: -43px;
  right: auto;
}
@media (max-width: 991px) {
  .timeline {
    padding: 0;
    max-width: 100%;
  }
  .timeline::before {
    left: 28px;
    height: 100%;
  }
  .timeline-item,
  .timeline-item.right,
  .timeline-item.left {
    width: 100%;
    left: 0;
    justify-content: flex-start;
    margin-bottom: 2.5rem;
  }
  .timeline-item .timeline-content,
  .timeline-item.right .timeline-content,
  .timeline-item.left .timeline-content {
    margin: 0 0 0 60px; /* espacio para el icono */
    max-width: 100%;
    min-width: 0;
    padding: 1.25rem 1.1rem 1.25rem 2.6rem; /* aumenta el padding izquierdo */
    position: relative;
  }
  .timeline-icon,
  .timeline-item.right .timeline-icon {
    left: 0;
    right: auto;
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    z-index: 2;
  }
}
@media (max-width: 575px) {
  .timeline-item .timeline-content,
  .timeline-item.right .timeline-content,
  .timeline-item.left .timeline-content {
    margin-left: 52px;
    padding: 1rem 0.7rem 1rem 2.2rem; /* padding izquierdo suficiente para el icono */
  }
  
  .timeline-item.left .timeline-icon {
    left: -20px;
    right: auto;
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
  }

  
  .timeline-item.right .timeline-icon {
    left: -20px;
    right: auto;
    font-size: 1.1rem;
    width: 38px;
    height: 38px;
  }
}



.manifiesto-list {
  font-size: 1.14rem;
  padding-left: 0;
}
.manifiesto-list li {
  background: rgba(255,255,255,0.78);
  border-radius: 1.25rem;
  padding: 1.1rem 1.6rem 1.1rem 1.2rem;
  box-shadow: 0 2px 16px #baa36115;
  border: 1px solid #eee8e1;
  transition: box-shadow 0.3s;
}
.manifiesto-list li:hover {
  box-shadow: 0 4px 36px #baa36125;
}
@media (max-width: 767px) {
  .manifiesto-list li {
    padding: 1rem 1rem 1rem 0.8rem;
    font-size: 1rem;
  }
}



/*SEC CTA*/
.cta-final-section {
  background: linear-gradient(190deg, #080C19 0%,#1A1F2B 90%, #C7A350 100%);
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  z-index: 1;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  background: url('/static/img/logo2.webp') no-repeat center center;
  background-size: contain;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .cta-final-section::before {
    width: 80vw;
    height: 80vw;
    min-width: 220px;
    min-height: 220px;
    max-width: 98vw;
    max-height: 98vw;
  }
}

/* El contenido está por encima del logo */
.cta-final-section .container {
  position: relative;
  z-index: 2;
}
