.content-banner {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(35, 35, 35, 0.97), rgba(95, 95, 95, 0.97), rgba(25, 25, 25, 0.97));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.42), 0 15px 35px rgba(0, 0, 0, 0.25);
  
  border: 2px solid rgba(55, 52, 53, 0.8);
  box-shadow: 0 2px 10px rgba(55, 52, 53, 0.8);
  border-radius: 15px;

}

.content-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background-color: #009b55;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  z-index: 8;
}

.content-banner-imagen {
  position: absolute;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.08) translate3d(calc(var(--slide-direction, 1) * 3%), 1%, 0);
  transition: opacity 1.2s ease, transform 6.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.content-banner-imagen.active {
  opacity: 1;
  transform: scale(1.01) translate3d(0, -1%, 0);
}

.content-banner-capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.10) 40%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 2;
}

.content-banner-texto {
  position: absolute;
  left: 5%;
  bottom: 8%;
  display: flex;
  align-items: stretch;
  max-width: calc(100% - 10%);
  z-index: 4;
  animation: contentBannerTextIn 0.9s ease both;
}

.content-banner-texto-linea {
  width: 4px;
  flex-shrink: 0;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #00b866, #009b55);
  box-shadow: 0 0 10px rgba(0, 155, 85, 0.45);
}

.content-banner-texto-contenido {
  max-width: 100%;
  padding: 12px 18px;
  box-sizing: border-box;
  border-radius: 0 7px 7px 0;
  background-color: rgba(0, 0, 0, 0.43);
  backdrop-filter: blur(3px);
  white-space: nowrap;
}

.content-banner-texto-contenido h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(19px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  text-align: left;
}

.content-banner-texto-contenido p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.content-banner-flecha {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 30px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  background-color: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  z-index: 6;
  transition: width 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.content-banner-flecha:hover {
  width: 52px;
  background-color: rgba(0, 0, 0, 0.65);
  transform: translateY(-50%) scale(1.02);
}

.content-banner-flecha-izquierda { left: 12px; }
.content-banner-flecha-derecha { right: 12px; }

.content-banner-puntos {
  position: absolute;
  left: 50%;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.38);
  z-index: 7;
}

.content-banner-punto {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: width 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
}

.content-banner-punto.active {
  width: 27px;
  border-radius: 8px;
  background-color: #ffffff;
}

@keyframes contentBannerTextIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-accesos {
  height: 200px;
  gap: 20px;
  display: flex;
  flex-direction: row;

  padding-top: 10px;
  padding-bottom: 10px;

  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;

}

.content-accesos-acceso {
  flex: 1;
  /*border: 1px solid green;/**/
  border: 1px solid rgba(55, 52, 53, 0.8);
  box-shadow: 0 2px 10px rgba(55, 52, 53, 0.8);

  border-radius: 15px;

  max-width: 1024px;
  display: flex;
  flex-direction: column;
}

.content-accesos-acceso-titulo {
  flex: 1;

  padding: 8px;

  align-items: center;
  font-size: 20px;
  font-weight: 500;

}

.content-accesos-acceso-titulo-verde {
  color: rgba(6, 138, 79, 1);  
  border-bottom: 3px solid rgba(6, 138, 79, 1);
}

.content-accesos-acceso-titulo-rojo {
  color: rgba(173, 51, 53, 1);  
  border-bottom: 3px solid rgba(173, 51, 53, 1);
}

.content-accesos-acceso-descripcion {
  flex: 6;
  color: black;
  font-size: 18px;
  font-weight: 400;
  padding: 10px;
  box-sizing: border-box;
}

.content-accesos-acceso-boton {
  flex: 2;
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-accesos-acceso-boton-verde a {
  background:
    linear-gradient(
      135deg,
      rgb(0, 107, 69),
      rgb(6, 138, 79)
    );
}

.content-accesos-acceso-boton-rojo a {
  background:
    linear-gradient(
      135deg,
      rgb(180, 0, 24),
      rgb(173, 51, 53)
    );
}

.content-accesos-acceso-boton a {
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
  color: white;
  border-radius: 10px;
  padding: 10px;
  width: 160px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
 
}

.content-accesos-acceso-boton a:hover {
  transform: translateY(-4px);
  box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.5);
}

.content-accesos-acceso-boton a:active {
  transform: translateY(-2px);
  box-shadow: 2px 6px 18px rgba(0, 0, 0, 0.3);
}

.content-accesos-acceso-verde {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(241, 243, 246, 0.9) 42%,
      rgba(211, 216, 220, 0.9) 70%,
      rgba(6, 138, 79, 0.9) 100%
    );
}

.content-accesos-acceso-rojo {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(238, 240, 243, 0.94) 42%,
      rgba(205, 210, 215, 0.94) 68%,
      rgba(180, 0, 18, 0.88) 100%
    );
}


.content-banner,
.content-accesos,
.content-certificados-zona {
  margin-left: auto;
  margin-right: auto;
  width: 1024px;
  transition: all 0.5s ease;
}

.content-certificados {
  padding: 45px 24px;
  box-sizing: border-box;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(241, 243, 246, 0.9) 42%,
      rgba(211, 216, 220, 0.9) 70%,
      rgba(6, 138, 79, 0.9) 100%
    );

  border: 1px solid rgba(55, 52, 53, 0.8);
  box-shadow: 0 2px 10px rgba(55, 52, 53, 0.8);
  border-radius: 15px;

  transition: all 0.5 ease;
}

.content-certificados-titulo {
  margin-bottom: 28px;
  text-align: center;
}

.content-certificados-titulo h2 {
  margin: 0 0 8px;
  color: #202020;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
}

.content-certificados-titulo p {
  margin: 0;
  color: #666666;
  font-size: clamp(14px, 1.6vw, 17px);
}

.content-certificados-barra {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #000000;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  background: linear-gradient(
    145deg,
    rgba(96, 96, 98, 0.5),
    rgba(96, 96, 98, 0.8),
    rgba(96, 96, 98, 1)
  );
}

.content-certificados-principal {
  flex: 1.35;
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  border-right: 1px solid rgba(0, 0, 0, 1);
}

.content-certificados-principal span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.content-certificados-item {
  flex: 1;
  height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.content-certificados-item:last-child {
  border-right: none;
}

.content-certificados-item strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.content-certificados-item small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
}

.content-certificados-imagen-contenedor {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.content-certificados-imagen {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .content-banner {
    max-height: 480px;
  }

  .content-banner,
  .content-accesos,
  .content-certificados-zona {
    width: 768px;
  }

  .content-certificados {
    padding: 38px 20px;
  }

  .content-certificados-barra {
    flex-wrap: wrap;
  }

  .content-certificados-principal {
    flex: 1 1 100%;
    height: 45px;
    margin-bottom: 10px;
    padding: 0 15px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .content-certificados-item {
    padding: 0 12px;
  }

}

@media (max-width: 768px) {
  .content-banner {
    max-height: 420px;
    border-radius: 0px;    
  }

  .content-banner,
  .content-accesos,
  .content-certificados-zona {
    width: 100%;
  }

  .content-certificados-zona {
    padding: 10px;
    box-sizing: border-box;
  }

  .content-accesos {
    height: 280px;
    padding-left: 10px;
    padding-right: 10px;

  }

  .content-banner-flecha {
    width: 40px;
    height: 58px;
    font-size: 27px;
  }

  .content-certificados {
    padding: 32px 15px;
  }

}

@media (max-width: 480px) {
  .content-banner {
    max-height: 320px;
  }

  .content-accesos {
    height: 420px;
    flex-direction: column;
  }

  .content-banner-texto {
    left: 4%;
    bottom: 11%;
    max-width: 92%;
  }

  .content-banner-texto-contenido {
    padding: 7px 9px;
    white-space: normal;
  }

  .content-banner-texto h1 {
    font-size: clamp(13px, 4.5vw, 19px);
  }

  .content-banner-texto p {
    margin-top: 3px;
    font-size: clamp(9px, 2.8vw, 12px);
  }

  .content-banner-flecha {
    width: 34px;
    height: 50px;
    font-size: 23px;
  }

  .content-banner-flecha-izquierda { left: 6px; }
  .content-banner-flecha-derecha { right: 6px; }

  .content-banner-puntos {
    bottom: 7px;
    gap: 6px;
    padding: 4px 7px;
  }

  .content-banner-punto {
    width: 8px;
    height: 8px;
  }

  .content-banner-punto.active {
    width: 21px;
  }

  .content-certificados {
    padding: 28px 12px;
  }

  .content-certificados-titulo {
    margin-bottom: 22px;
  }

  .content-certificados-barra {
    flex-direction: column;
    align-items: stretch;
  }

  .content-certificados-principal {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .content-certificados-item {
    width: 100%;
    height: auto;
    padding: 14px 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .content-certificados-item:last-child {
    border-bottom: none;
  }

  .content-certificados-item strong {
    font-size: 13px;
  }

  .content-certificados-item small {
    font-size: 11px;
  }

  .content-certificados-imagen-contenedor {
    margin-top: 25px;
  }


}
