#inicio {
    padding: 20px 20px;
    text-align: center;
}

#inicio h1 {
    margin-top: 10px;
    font-size: 7.6vw;
}

#inicio h2 {
    font-size: clamp(16px, 2.5vw, 3vw);
}

#inicio p {
    font-size: clamp(16px, 1.5vw, 3vw);
    font-family: 'Orbitron', sans-serif;
}

/* Estilos para Swiper */
.swiper-container {
    display: flex; 
    justify-content: center;
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    text-align: center;
    position: relative;
    pointer-events: auto !important;
}

.swiper-slide-active {
  opacity: 1;
}

/* Slides laterales */
.swiper-slide-prev,
.swiper-slide-next {
  opacity: 0.4; 
}

.swiper-slide img,
.swiper-slide button,
.swiper-slide a {
  position: relative;
  z-index: 2;
}

.swiper-button-next,
.swiper-button-prev {
    z-index: 10;
    color: #333;
    font-size: 2rem;
}

/* Contenedor general de la carta */
.slide-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-height: 95%;
}

/* Recuadros superior e inferior */
.slide-card-header,
.slide-card-footer {
  padding: clamp(18px, 1vw, 22px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide-card-title {
  line-height: 1.2;
  margin: 0;
  color: #212529;
}

/* Zona central de imagen */
.slide-card-image {
  flex: 1;
  max-height: 420px;
  position: relative;
  background-color: white;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Imagen PNG superpuesta */
.slide-card-image img {
  max-height: 100%;
  width: auto;
  z-index: 2;
}

/* Footer */
.slide-card-footer {
  flex-direction: column;
  gap: 8px;
}

.slide-card-text {
  line-height: 1.5;
  margin: 0;
  color: #212529;
}

/* Botón */
.slide-card-button {
  font-size: 18px;
  padding: 6px 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.slide-card-button:hover {
  background: #333;
}

/* Introduccion */
#introduccion h2 {
    margin-top: 21px;
    font-size: 42px;
    text-align: center;
    padding: 21px;
}

#introduccion p {
    margin-top: 21px;
    font-size: clamp(18px, 21px, 21px);
}
