/* ===== RESET ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#eaeaea;
font-family:Arial, sans-serif;
}

/* ===== CONTENEDOR PRINCIPAL SLIDER ===== */

.containerslider{
position:relative;
width:90%;
max-width:1340px;
height:70vh;
max-height:850px;
margin:auto;
background:#f5f5f5;
box-shadow:0 30px 50px #dbdbdb;
overflow:hidden;
}

/* ===== ITEMS DEL SLIDER ===== */

.containerslider .slide .item{
width:200px;
height:300px;
position:absolute;
top:60%;
transform:translateY(-50%);
border-radius:20px;
box-shadow:0 30px 50px #505050;
background-position:center;
background-size:cover;
display:inline-block;
transition:0.5s;
z-index:1;
}

/* ===== IMAGEN PRINCIPAL ===== */

.slide .item:nth-child(1),
.slide .item:nth-child(2){
top:0;
left:0;
transform:none;
border-radius:0;
width:100%;
height:100%;
z-index:0;
}

.slide .item:nth-child(3){
left:50%;
}

.slide .item:nth-child(4){
left:calc(50% + 220px);
}

.slide .item:nth-child(5){
left:calc(50% + 440px);
}

.slide .item:nth-child(n+6){
left:calc(50% + 660px);
opacity:0;
}

/* ===== CONTENIDO DEL SLIDER ===== */

.item .content{
position:absolute;
top:50%;
left:100px;
width:300px;
color:#eee;
transform:translateY(-50%);
display:none;
z-index:2;
}

.slide .item:nth-child(2) .content{
display:block;
}

.content .name{
font-size:40px;
text-transform:uppercase;
font-weight:bold;
opacity:0;
animation:animate 1s ease-in-out forwards;
}

.content .des{
margin-top:10px;
margin-bottom:20px;
opacity:0;
animation:animate 1s ease-in-out 0.3s forwards;
}

.content button{
padding:10px 20px;
border:none;
cursor:pointer;
opacity:0;
animation:animate 1s ease-in-out 0.6s forwards;
}

/* ===== ANIMACION ===== */

@keyframes animate{

from{
opacity:0;
transform:translateY(100px);
filter:blur(20px);
}

to{
opacity:1;
transform:translateY(0);
filter:blur(0);
}

}

/* ===== BOTONES SLIDER ===== */

.button{
width:100%;
text-align:center;
position:absolute;
bottom:20px;
}

.button button{
width:40px;
height:35px;
border-radius:8px;
border:1px solid #000;
cursor:pointer;
margin:0 5px;
transition:0.3s;
background:#fff;
}

.button button:hover{
background:#ababab;
color:#fff;
}

/* ===== SECCION SEGUNDO SLIDER ===== */

.slider-section{
position:relative;
width:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
padding:40px 20px;
}

/* ===== TITULO ===== */

.slider-title{
font-size:30px;
color:#0c0c0c;
text-align:center;
margin-bottom:20px;
font-weight:bold;
font-family:Verdana, sans-serif;
}

/* ===== CONTENEDOR SLIDER ===== */

.slider{
width:100%;
max-width:800px;
aspect-ratio:16/10;
border-radius:10px;
overflow:hidden;
position:relative;
}

/* ===== SLIDES ===== */

.slides{
width:500%;
height:100%;
display:flex;
}

.slides input{
display:none;
}

.slide{
width:20%;
transition:1.5s;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
}

/* ===== NAVEGACION MANUAL ===== */

.navigation-manual{
position:absolute;
width:100%;
bottom:15px;
display:flex;
justify-content:center;
gap:20px;
}

.manual-btn{
border:2px solid #626666;
padding:6px;
border-radius:10px;
cursor:pointer;
transition:0.3s;
}

.manual-btn:hover{
background:#626666;
}

/* ===== CONTROL DE SLIDES ===== */

#radio1:checked ~ .first{
margin-left:0;
}

#radio2:checked ~ .first{
margin-left:-20%;
}

#radio3:checked ~ .first{
margin-left:-40%;
}

#radio4:checked ~ .first{
margin-left:-60%;
}

/* ===== NAVEGACION AUTOMATICA ===== */

.navigation-auto{
position:absolute;
bottom:15px;
display:flex;
justify-content:center;
width:100%;
gap:20px;
}

.navigation-auto div{
border:2px solid #626666;
padding:6px;
border-radius:10px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
background:#40D3DC;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
background:#40D3DC;
}

#radio3:checked ~ .navigation-auto .auto-btn3{
background:#40D3DC;
}

#radio4:checked ~ .navigation-auto .auto-btn4{
background:#40D3DC;
}

/* ===== RESPONSIVE TABLET ===== */

@media (max-width:900px){

.containerslider{
height:60vh;
}

.content .name{
font-size:28px;
}

.item .content{
left:40px;
width:250px;
}

}

/* ===== RESPONSIVE MOVIL ===== */

@media (max-width:600px){

.containerslider{
height:50vh;
}

.item .content{
left:20px;
width:200px;
}

.content .name{
font-size:22px;
}

.slider-title{
font-size:22px;
}

.navigation-manual,
.navigation-auto{
gap:12px;
}

}

/* ICONOS ENCABEZADO */
.top-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  z-index: 1000;
  display: none; /* OCULTA POR DEFECTO EN MÓVILES */
}

/* MOSTRAR EN TABLETS Y ESCRITORIOS */
@media screen and (min-width: 768px) {
  .top-header {
    display: block;
  }

  .top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 20px;
    flex-wrap: wrap;
  }

  .info-item {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    gap: 8px;
    white-space: nowrap;
  }

  .info-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
  }

  .info-item a:hover {
    color: #1e40af;
  }

  .info-item svg {
    width: 18px;
    height: 18px;
    stroke: #2563eb;
  }
}


/* VENTANA MODAL */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;700&display=swap');

body {
  font-family: 'Urbanist', sans-serif;
  margin: 0;
  padding: 0;
}

/* Fondo oscuro del modal */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 9999;
}

/* Activar modal */
.modal--show {
  opacity: 1;
  pointer-events: auto;
}

/* Contenedor del contenido */
.modal__container {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff3;
  border-radius: 12px;
  padding: 2em;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: slideDown 0.8s ease;
}

/* Animación de entrada */
@keyframes slideDown {
  from { transform: translateY(-100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Imagen dentro del modal */
.modal__img {
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
}

/* Título y párrafo */
.modal__title {
  color: #fff;
  font-size: 2rem;
  margin-top: 1rem;
}

.modal__paragraph {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Botón de cerrar debajo */
.modal__close-btn {
  background-color: rgba(242, 98, 80, 0.85); /* color original con transparencia */
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.5em 1.5em;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.modal__close-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #F26250;
  border: 1px solid #F26250;
}

/* NUEVO FOOTER */
