/* Hero Section */
.hero {
      background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 164, 0.04));
      border-radius: 12px;
      padding: 18px;
      display: flex;
      gap: 18px;
      align-items: center
    }

.hero .lead {
      font-weight: 600
    }    

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    font-weight: 700;
}

.hero-sub {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.search-bar {
    background: #fff;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-bar input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--accent-2);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 1.5rem;
    color: #4a5568;
}

/* Carousel */
.hero-right {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-right img {
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: 0 20px 50px rgba(16,24,40,0.08);
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}



.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .search-bar {
        flex-direction: column;
        gap: 8px;
    }

}

/* Categorias */
.categories {
    padding: 4rem 0;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.chip {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.2s;
}

.chip:hover {
    background: var(--accent);
    color: #fff;
}