/* ===== Tamaño del carrusel (responsive) ===== */
.pymtec-swiper-wrap {
  position: relative;
  width: 100%;
  /* Alto fluido: entre 420px y 88vh, según pantalla */
  height: clamp(420px, 88svh, 860px);
  border-radius: 16px;
  /* ajusta el radio de esquina */
  overflow: hidden;
  /* recorta contenido para que siga el borde */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  /* sombra suave */
}

/* iOS/Android: usa svh para evitar barras de navegador */
@supports (height: 100svh) {
  .pymtec-swiper-wrap {
    height: clamp(420px, 88svh, 860px);
  }
}

.pymtec-swiper {
  width: 100%;
  height: 100%;
}

/* Slide + “fondo” con <img> */
.pymtec-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pymtec-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  /* rellena sin deformar */
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Oscurecer ligeramente la imagen */
.pymtec-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .25));
  z-index: 1;
}

/* Contenido */
.pymtec-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 4vw;
}

.pymtec-logo {
  max-width: 180px;
  margin: 0 0 .6rem;
}

/* Tipografías fluidas */
.pymtec-title {
  color: #fff !important;
  font-size: clamp(22px, 5.2vw, 48px);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 800;
}

.pymtec-sub {
  font-size: clamp(14px, 2.6vw, 20px);
  margin: 0 0 1.2em;
  opacity: .95;
  padding: 0px 50px;
}

.pymtec-btn {
  display: inline-block;
  padding: .85em 1.4em;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.pymtec-btn:hover {
  transform: translateY(-2px);
  opacity: .95;
}

/* Flechas y paginación: responsive */
/* === Estilo personalizado para flechas === */
.swiper-button-next,
.swiper-button-prev {
  background-color: #fff;
  /* fondo blanco */
  border: 2px solid #ccc;
  /* borde gris claro */
  border-radius: 50%;
  /* forma circular */
  color: #000;
  /* color de flecha */
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Cambia el color de la flecha de Swiper */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  /* tamaño de la flecha */
  color: #000;
  /* color de la flecha */
}

/* Efecto hover */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #0ea5e9;
  /* azul corporativo */
  border-color: #0ea5e9;
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #fff;
  /* flecha blanca en hover */
}

/* Tamaños responsive */
@media (max-width: 992px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }
}

@media (max-width: 640px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 14px;
  }
}


.swiper-pagination-bullet {
  background: #fff;
  opacity: .6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Margen inferior para que los dots no tapen el contenido */
.swiper-pagination {
  bottom: 14px !important;
}

/* Ajustes extra para móvil estrecho */
@media (max-width: 640px) {
  .pymtec-overlay {
    padding: 0 6vw;
  }

  .pymtec-logo {
    max-width: 140px;
  }
}