*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#111;
}

.header{
    width:100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    padding:15px 40px;
    border-bottom:1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
}



.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:white;
}

/* LOGO */
.logo img{
    height:32px;
    transition: transform 0.3s ease;
}

.logo img:hover{
    transform: scale(1.05);
}

/* MENU */
.menu{
    display:flex;
    align-items:center;
    gap:40px;
}

.menu a{
    color:white;
    text-decoration:none;
    font-size:16px;
    position: relative;
    transition: color 0.3s ease;
}

/* Línea animada debajo */
.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#fff;
    transition: width 0.3s ease;
}

.menu a:hover{
    color:#ccc;
}

.menu a:hover::after{
    width:100%;
}

/* ICONOS */
.icons{
    display:flex;
    gap:20px;
    font-size:18px;
}

.icons i{
    cursor:pointer;
    transition: all 0.3s ease;
    padding:8px;
    border-radius:50%;
}

/* Hover moderno tipo botón */
.icons i:hover{
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* TEXTO GENERAL */
p{
    color:white;
}

.slider{
    width:100%;
    height:93vh;
    position:relative;
    overflow:hidden;
}

/* Slides uno encima del otro */
.slide{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    opacity:0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active{
    opacity:2;
    z-index:1;
}

/* Imagen */
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Overlay */
.slide::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0);
    top:0;
    left:0;
}

/* Texto */
.caption{
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    color:white;
    text-align:center;
    z-index:2;
}

.caption h1{
    font-size:50px;
}

/* DOTS centrados sobre la imagen */
.dots{
    position:absolute;
    bottom:30px;
    left:50%;
    transform: translateX(-50%);
    display:flex;
    gap:12px;
    z-index:3;
}

.dots span{
    width:10px;
    height:10px;
    border-radius:50%;
    background: rgba(255,255,255,0.5);
    cursor:pointer;
    transition: all 0.3s ease;
}

.dots span.active{
    background:white;
    transform: scale(1.3);
}

/* Hover elegante */
.dots span:hover{
    background:white;
}
    .cards {
      display: flex;
      justify-content: center;
      gap: 60px;
      padding: 20px;
    }

    .card {
      position: relative;
      width: 420px;
      height: 420px;
      overflow: hidden;
      cursor: pointer;
      border-radius: 4px;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .card .hover-img {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
    }

    .card:hover {
      transform: scale(1.08);
      box-shadow: 0 0 25px rgba(255,255,255,0.5);
      z-index: 10;
    }

    .card:hover .main-img {
      opacity: 0;
      transform: scale(1.05);
    }

    .card:hover .hover-img {
      opacity: 1;
      transform: scale(1.05);
    }

    .title {
      position: absolute;
      top: 20px;
      width: 100%;
      text-align: center;
      font-size: 42px;
      font-weight: 900;
      z-index: 2;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    }

    .click-text {
      position: absolute;
      bottom: 15px;
      width: 100%;
      text-align: center;
      font-size: 14px;
    }

.titulo{
    color: white;
    margin-top: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
    :root {
      --primary: #ffffff;
      --accent: #16a34a;
      --bg: #f8f9fa;
      --text: #444;
      --max-width: 1200px;
    }
    
    .about {
      max-width: var(--max-width);
      margin: 4rem auto;
      padding: 0 2rem;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 4rem;
      align-items: center;
    }
    .title-with-logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .title-with-logo img {
      width: 48px;
      height: 48px;
      object-fit: contain;
      padding: 6px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    h1 {
      font-size: 3rem;
      color: var(--primary);
    }
    .about p {
      margin-bottom: 1rem;
      font-size: 1.05rem;
    }
    .about img.main-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .features {
      background: white;
      padding: 5rem 2rem;
    }
    .features-container {
      max-width: var(--max-width);
      margin: auto;
    }
    .features h2 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 3rem;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }
    .feature {
      background: var(--bg);
      padding: 2rem;
      border-radius: 16px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .feature:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    }
    .feature h3 {
      margin-bottom: 1rem;
    }

    footer {
      background: #111;
      color: white;
      text-align: center;
      padding: 2rem;
      margin-top: 4rem;
    }

    @media (max-width: 900px) {
      .about {
        grid-template-columns: 1fr;
      }
      h1 {
        font-size: 2.2rem;
      }
    }
    @media (max-width: 768px) {
      .menu-btn {
        display: block;
      }
      .nav ul {
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 1rem;
        gap: 1rem;
      }
      .nav ul.show {
        display: flex;
      }
      .title-with-logo img {
        width: 36px;
        height: 36px;
      }
    }
    h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: -1px;
}
h1 {
  font-weight: 900;
}
h2 {
  font-weight: 800;
}
.nav a {
  font-weight: 600;
  @media (max-width: 768px) {
  .logo span {
    font-size: 1.2rem;
  }
  .logo img {
    width: 24px;
    height: 24px;
  }
}
.logo span {
  text-transform: uppercase;
}

}

.carousel {
  width: 100%;
  height: 350px;
  overflow: hidden;

  /* Fondo con imagen */
  background: url("fondo.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.track {
  display: flex;
  width: calc(250px * 8); /* 4 imágenes x2 */
  animation: scroll 20s linear infinite;
}

.track img {
  width: 250px;
  height: 320px;
  margin: 0 15px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover efecto */
.track img:hover {
  transform: scale(1.1);
}

/* Animación infinita */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}