/* =========================
   RESET BÁSICO
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   SECCIÓN PRINCIPAL
========================= */
.feature-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 0 40px;
}

.feature-section h2{
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-size: 2rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-section>p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #555;
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* =========================
   CONTENEDOR GENERAL
========================= */
.cont-x {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 40px;
  
  /* 🔑 CLAVE ABSOLUTA CONTRA OVERFLOW */
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, .3);
  border-radius: 5px;
}

/* =========================
   BLOQUES LEFT / RIGHT
========================= */

.cont-left {
  position: relative;
  flex: 0 0 30%; /* No crece, no se encoge, base del 30% */
  opacity: 0;
  transform: translateX(-80px);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.6s ease;
}

.cont-right {
  flex: 0 0 70%; /* No crece, no se encoge, base del 70% */
  opacity: 0;
  transform: translateX(80px);
  filter: blur(10px);
  padding-right: 80px;
  transition: opacity 1.2s ease, transform 1.2s ease, filter 0.8s ease;
}


/* =========================
   ESTADO VISIBLE (SCROLL)
========================= */
.cont-x.visible .cont-left,
.cont-x.visible .cont-right {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* =========================
   IMÁGENES
========================= */
.cont-left img {
  width: 100%;
  display: block;
  border-radius: 18px;
  filter: grayscale(100%);
  transition:
    filter 0.8s ease,
    box-shadow 0.8s ease;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.15);
  scale: .9;
}

/* Hover elegante (desktop) */
.cont-left img:hover {
  filter: grayscale(0%);
  box-shadow: 0 34px 68px rgba(0, 0, 0, 0.25);
}

/* =========================
   TEXTO
========================= */

.cont-left>p{
  position: absolute;
  width: 100%;
  bottom: 20px;
  text-align: center;
  padding: 20px 0;
  background: rgba(0, 0, 0, .5);
  border-radius:  0 0 18px 18px;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 400;
  text-transform: uppercase;
  scale: .9;
}

.cont-right p {
  font-size: .9rem;
  line-height: 1.7;
  color: #666;
}

.cont-right .sub-r {
  font-size: .85rem;
  color: #333;
  text-decoration: underline;
  text-transform: uppercase;
}

.cont-right .text-tab {
  margin-left: 25px;
}

.cont-right .bx-check{
  color: blue;
  font-weight: 900;
}

/* =========================
   MOBILE (SIN ANIMACIONES)
========================= */
@media (max-width: 567px) {

  .feature-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
  }

  .feature-section h2{
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .feature-section>p {
    font-size: .85rem;
    margin-bottom: 10px;
  }

  .cont-x {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .cont-left{
    height: 50vh;
    margin-bottom: 20px;
  }

  .cont-left,
  .cont-right {
    width: 100%;
    padding: 0;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cont-left img {
    height: 100%;
    filter: grayscale(0%);
    scale: 1;
  }

  .cont-left>p{
  height: 55px;
  top: 0;
  border-radius:  18px 18px 0 0;
  scale: 1;
}
}








@media screen and (min-width: 568px) and (max-width: 768px) {

  .feature-section {
    position: relative;
    display: block;
    width: 100% !important;
    padding: 40px 30px 0 30px !important;
  }

  .feature-section h2{
    font-size: 1.7rem;
    margin-bottom: 15px;
  }

  .feature-section>p {
    font-size: 1rem;
    padding: 0 25px;
    margin-bottom: 15px;
  }

  .cont-x {
    position: relative;
    display: block;
    width: 100%;
    gap: none !important;
    margin: 40px 0 !important;
    padding: 0 !important;
  }

  .cont-left{
    position: relative;
    flex: 0;
    width: 100%; max-height: 500px !important;
    margin: 20px 0 0 0;
    padding: 0;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cont-right{
    display: flex;
    flex-direction: column;
    flex: 0;
    width: 100%; 
    opacity: 1;
    transform: none;
    filter: none;
    padding-right: 0px;
    padding: 20px 40px;
    margin-top: 20px;
  }

  .cont-left img {
    position: relative;
    display: block;
    width: 100%; max-height: 500px;
    filter: grayscale(0%);
    scale: 1;
    padding: 0;
    margin: 0;
  }

  .cont-left>p{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    height: 70px;
    bottom: 0;
    border-radius: 0 0 18px 18px;
    scale: 1;
}
}


.feature-section,
.cont-x,
.cont-left,
.cont-right {
  max-width: 100%;
}

.cont-left img {
  max-width: 100%;
  height: auto;
}