.hero {
    min-height: 55vh;
    background:
        linear-gradient(135deg, rgba(74, 46, 26, .72) 0%, rgba(74, 46, 26, .35) 100%),
        url('../img/img_portada.png') center / cover no-repeat;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .hero p {
        max-width: 520px;
        margin: 0 auto;
    }
}

.restauracion-section {
    padding: 4rem 0 5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .restauracion-section {
        padding: 2.5rem 0 3.5rem;
    }
}

.restauracion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.rest-card {
    background: var(--cream);
    border: 1px solid var(--linen);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 46, 26, .07);
    transition: transform .35s ease, box-shadow .35s ease;
    opacity: 0;
    transform: translateY(28px);
}

.rest-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.rest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(74, 46, 26, .14);
}

.img-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.img-slot {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--linen);
    cursor: zoom-in;
}

.img-pair .img-slot:first-child {
    border-right: 2px solid var(--cream);
}

.gallery-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s cubic-bezier(.25, .46, .45, .94);
}

.overlay-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(74, 46, 26, .32);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.img-slot:hover .overlay-icon {
    opacity: 1;
}

.img-slot:hover img {
    transform: scale(1.08);
}

.img-label {
    position: absolute;
    bottom: .6rem;
    left: .6rem;
    font-size: .62rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 2px;
    color: #fff;
    backdrop-filter: blur(4px);
}

.img-label.antes {
    background: rgba(74, 46, 26, .72);
}

.img-label.despues {
    background: rgba(212, 148, 58, .88);
}