  /* RESET */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* BODY */
  body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
  }

  /* HEADER */
  .header {
    text-align: center;
    padding: 40px 20px;
  }

  .header h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

/*============ SLIDER =================*/
.slider{
    position:relative;
    width:100%;
    height:90vh;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* SLIDES */
.slide{
    position:absolute;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 8%;
    opacity:0;
    transform:scale(1.05);
    transition:.6s;
    pointer-events:none;
}

.slide.active{
    opacity:1;
    transform:scale(1);
    pointer-events:auto;
}

/* TEXT */
.content{
    max-width:500px;
}

.subtitle{
    font-size:14px;
    color:#aaa;
    letter-spacing:2px;
    margin-bottom:10px;
}

.title{
    font-size:64px;
    font-weight:800;
    margin-bottom:20px;
}

.desc{
    color:#ccc;
    line-height:1.6;
}

/* INFO TABLE */
.info{
    margin-top:20px;
}

.info-row{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
}

/* IMAGE */
.visual img{
    max-width:500px;
    width:100%;
    border-radius: 10px;
}

/* BUTTONS */
.nav{
    z-index:10;
    position:absolute;
    bottom:30px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    border:none;
    color:white;
    font-size:26px;
    cursor:pointer;
}

.prev{ left:20px; }
.next{ right:20px; }

/* DOTS */
.dots{
    z-index:10;
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.dot{
    width:10px;
    height:10px;
    background:#666;
    border-radius:50%;
    cursor:pointer;
}

.dot.active{
    background:white;
    transform:scale(1.3);
}

/* GLOW */
.bg-glow{
    position:absolute;
    width:600px;
    height:600px;
    background:radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
}

/*============== GRID CON FLEX ===============*/
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  /* CARD */
  .card {
    width: calc(25% - 20px); /* 4 columnas */
    text-align: center;
  }

  /* TITULO */
  .card h2 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  /* CAJA */
  .box {
    width: 100%;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden; /* 👈 clave para recortar imagen */
    display: flex;
  }

  /* IMAGEN DENTRO DE LA CAJA */
  .box__img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 👈 ahora sí funciona */
  }

  /* FOOTER */
.footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.footer p {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: 0.3s;
}

.footer__links a:hover {
  color: #00c853; /* verde tipo tech */
}

  /* RESPONSIVE */

  /* Tablet → 2 columnas */
  @media (max-width: 900px) {
    .card {
      width: calc(50% - 20px);
    }
  }

  /* Mobile → 1 columna */
  @media (max-width: 500px) {
    .card {
      width: 100%;
    }
  }


/* RESPONSIVE */
@media(max-width:900px){

    .slide{
        flex-direction:column;
        text-align:left;
        padding:100px 30px;
        gap:20px;
    }

    .title{
        font-size:42px;
    }

    .visual img{
        max-height:40vh;
    }
}