/* Bloque de categorías destacadas en inicio (imagen por categoría, admin en Categorías) */
.home-destacadas {
    --hd-ink: #1a1f2e;
    --hd-muted: #5c6578;
    --hd-line: rgba(26, 31, 46, 0.08);
    --hd-accent: #c45c26;
    --hd-radius: 10px;
    padding: 2.5rem 0 1.25rem;
    border-top: 1px solid var(--hd-line);
    background: linear-gradient(180deg, #faf9f7 0%, #fff 42%);
}

.home-destacadas__head {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 1.75rem;
}

.home-destacadas__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--hd-ink);
    margin: 0 0 0.35rem;
}

.home-destacadas__sub {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--hd-muted);
    line-height: 1.45;
}

.home-destacadas__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .home-destacadas__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

.home-destacadas__card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--hd-radius);
    background: #fff;
    box-shadow: 0 1px 3px rgba(26, 31, 46, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 1px solid var(--hd-line);
}

.home-destacadas__card:hover,
.home-destacadas__card:focus {
    text-decoration: none;
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(26, 31, 46, 0.12);
}

.home-destacadas__card:focus {
    outline: 2px solid var(--hd-accent);
    outline-offset: 2px;
}

.home-destacadas__figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    background: #eceae6;
    overflow: hidden;
}

.home-destacadas__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.home-destacadas__card:hover .home-destacadas__figure img,
.home-destacadas__card:focus .home-destacadas__figure img {
    transform: scale(1.04);
}

.home-destacadas__caption {
    padding: 0.75rem 0.85rem 0.95rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hd-ink);
    line-height: 1.3;
}

.home-destacadas__cta {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hd-accent);
}
