.features-parallax-group {
  --features-bg-pos-x: 0;
  --features-bg-pos-y: 74;
  --features-bg-scale: 100;
  --features-bg-min-width: 260px;
  --features-bg-max-width: 720px;
  position: relative;
  isolation: isolate;
  background-color: #2d2e32;
}

.features-parallax-group .features-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  transform: translateZ(0);
  background-image: url('../img/D_BLANCO.png');
  background-attachment: fixed;
  background-size: min(clamp(var(--features-bg-min-width), calc(var(--features-bg-scale) * 0.42vw), var(--features-bg-max-width)), 88vw) auto;
  background-repeat: no-repeat;
  background-position: calc(var(--features-bg-pos-x) * 1%) calc(var(--features-bg-pos-y) * 1%);
  pointer-events: none;
  z-index: -2;
  opacity: 0.35;
  backface-visibility: hidden;
  will-change: background-position, background-size;
}

.features-parallax-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 46, 50, 0.88);
  pointer-events: none;
  z-index: -1;
}


/*--------------------------------------------------------------
# Caracteristicas Section
--------------------------------------------------------------*/
.caracteristicas {
  --feature-number-color: rgba(255, 255, 255, 0.15);
  --feature-text-color: #ffffff;
  background: transparent;
  padding: 2rem 0 5rem 0;  
  scroll-margin-top: 60px;  
  color: var(--feature-text-color);
  position: relative;
  z-index: 1;
  /* Sistema de sombras para suavizar la unión inmediata */ 
}

/* Sistema de superposición para continuidad perfecta */
.caracteristicas::before {
  content: none;
}


.caracteristicas .container .sobre-proyecto h2{
  text-align: center;
  margin-top: 4rem;
  font-size: 2.5rem;  
  padding-left: 2rem;
  color: #fff;  
}

.caracteristicas .container .sobre-proyecto h2 .sobre{  
  color: var(--accent-color);
}

.caracteristicas .div-cuadros {
 margin-top: 0;
}

.caracteristicas .container .feature-item {
  position: relative;
  z-index: 1;
  padding: 7rem 0 2rem 0;
}

.caracteristicas .container .feature-item .feature-number {
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 13px; 
  color: var(--feature-number-color);
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  font-family: var(--default-font);
  pointer-events: none;
}

.caracteristicas .container .feature-item .feature-content h3 {
  font-size: 1.1rem;
  line-height: .8;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.caracteristicas .container .feature-item .feature-content p {
  font-size: .8rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 100;
}


/* Smartphone Frame */
.smartphone-frame {
  position: relative;
  width: 280px;
  max-width: 100%;
  margin: 0 auto;
  border: 6px solid #e0e0e0; /* Borde metálico claro */
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  aspect-ratio: 9 / 18;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.smartphone-frame:hover {
  transform: translateY(-10px);
}

/* Notch simulation */
.smartphone-frame::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  z-index: 10;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
}

.play-button:hover {
  background: #fff;
  color: var(--accent-color);
  transform: translate(-50%, -50%) scale(1.15);
}
.video-caption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--heading-font);
  letter-spacing: 1px;
}

.video-caption strong {
  color: #fff;
  font-weight: 700;
}

/* Video Controls State */
.video-wrapper.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

.video-wrapper.is-playing:hover .play-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.video-wrapper.is-playing:hover .play-button:hover {
  transform: translate(-50%, -50%) scale(1.15);
}
/* sm: ≥576px */
@media (min-width: 576px) {

    .caracteristicas .container .feature-item .feature-number {
      font-size: 9rem;
    }

    .caracteristicas .container .feature-item .feature-content h3 {
      font-size: 1.5rem;
    }
    .caracteristicas .container .feature-item .feature-content p {
      font-size: .9rem;
    }

}

/* md: ≥768px */
@media (min-width: 768px) {

    .caracteristicas .container .feature-item .feature-number {
      font-size: 11rem;
      
    }

    .caracteristicas .container .feature-item .feature-content h3 {
      font-size: 1.5rem;
    }
    .caracteristicas .container .feature-item .feature-content p {
      font-size: .9rem;
    }

}

/* lg: ≥992px */
@media (min-width: 992px) {

}

/* xl: ≥1200px */
@media (min-width: 1200px) {

      .caracteristicas .container .feature-item .feature-content h3 {
      font-size: 2rem;
    }
    .caracteristicas .container .feature-item .feature-content p {
      font-size: 1.2rem;
    }

}

/* xxl: ≥1400px */
@media (min-width: 1400px) {


}

@media (max-width: 991px) {
  .features-parallax-group {
    --features-bg-min-width: 220px;
    --features-bg-max-width: 940px;
  }

  .features-parallax-group .features-bg-image {
    background-attachment: scroll;
    background-size: min(clamp(var(--features-bg-min-width), calc(var(--features-bg-scale) * 0.6vw), var(--features-bg-max-width)), 82vw) auto;
  }
}

@media (max-width: 767px) {
  .features-bg-controls {
    top: auto;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-items: stretch;
    width: auto;
  }

  .features-bg-controls__body {
    width: 100%;
    border-radius: 1rem;
  }
}
