/* Locales — estética Nova Informática */
:root {
    --loc-font: "Montserrat", "Segoe UI", sans-serif;
    --loc-ink: #0A0A0A;
    --loc-muted: #6B7280;
    --loc-line: rgba(10, 10, 10, 0.12);
    --loc-accent: #0EA5E9;
    --loc-surface: #F4F7FB;
}

.loc-page {
    font-family: var(--loc-font);
    color: var(--loc-ink);
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(14, 165, 233, 0.08), transparent 55%),
        linear-gradient(180deg, #EEF2F7 0%, #F8FAFC 40%, #FFFFFF 100%);
    min-height: 60vh;
}

.loc-page .info-topbar__inner {
    max-width: min(1480px, calc(100% - 1.25rem)) !important;
    width: 100%;
}

.loc-page .info-topbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.loc-page .info-topbar__prov {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.loc-page .info-topbar__prov label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* —— Hero —— */
.loc-hero {
    position: relative;
    min-height: min(72vh, 560px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.loc-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.loc-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: loc-hero- ken 18s ease-out forwards;
}

@keyframes loc-hero-ken {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.loc-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 48%, rgba(5, 5, 5, 0.35) 100%),
        linear-gradient(0deg, rgba(5, 5, 5, 0.75) 0%, transparent 45%);
}

.loc-hero__content {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem);
}

.loc-hero__brand {
    margin: 0 0 0.85rem;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.loc-hero h1 {
    margin: 0 0 0.85rem;
    max-width: 16ch;
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.loc-hero__lead {
    margin: 0 0 1.5rem;
    max-width: 38ch;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.loc-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    background: #fff;
    color: #0A0A0A;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.loc-hero__cta:hover {
    background: var(--loc-accent);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* —— Shell / filters —— */
.loc-shell {
    width: min(1480px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 2rem 0 3.5rem;
}

.loc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--loc-line);
}

.loc-filters__group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.loc-filters__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--loc-muted);
}

.loc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.loc-tab {
    appearance: none;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--loc-muted);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.45rem 0.55rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.loc-tab:hover {
    color: var(--loc-ink);
}

.loc-tab.is-active {
    color: var(--loc-accent);
    border-bottom-color: var(--loc-accent);
}

.loc-count {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--loc-muted);
    letter-spacing: 0.04em;
}

/* —— Lista de locales —— */
.loc-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.loc-item {
    display: grid;
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--loc-line);
    opacity: 0;
    transform: translateY(12px);
    animation: loc-item-in 0.45s ease forwards;
}

.loc-item.is-hidden {
    display: none;
}

@keyframes loc-item-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loc-item__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0F1115;
}

.loc-item__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.loc-item:hover .loc-item__visual img {
    transform: scale(1.05);
}

.loc-item__tag {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0.35rem 0.55rem;
    background: rgba(10, 10, 10, 0.82);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.loc-item__body {
    min-width: 0;
}

.loc-item__prov {
    margin: 0 0 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--loc-accent);
}

.loc-item__title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.loc-item__addr,
.loc-item__hours,
.loc-item__tel {
    margin: 0.15rem 0;
    font-size: 0.9rem;
    color: var(--loc-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.loc-item__addr i,
.loc-item__hours i,
.loc-item__tel i {
    margin-top: 0.15rem;
    color: var(--loc-ink);
    opacity: 0.55;
}

.loc-item__actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 148px;
}

.loc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 1px solid var(--loc-line);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.loc-btn--wa {
    background: #25D366;
    border-color: #25D366;
    color: #fff !important;
}

.loc-btn--wa:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: #fff !important;
}

.loc-btn--tel {
    background: #fff;
    color: var(--loc-ink) !important;
}

.loc-btn--tel:hover {
    border-color: var(--loc-ink);
}

.loc-btn--map {
    background: transparent;
    color: var(--loc-accent) !important;
    border-color: rgba(14, 165, 233, 0.35);
}

.loc-btn--map:hover {
    background: rgba(14, 165, 233, 0.08);
}

.loc-empty {
    display: none;
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--loc-muted);
    font-weight: 600;
}

.loc-empty.is-visible {
    display: block;
}

/* —— Contacto —— */
.loc-contact {
    margin-top: 2.5rem;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--loc-line);
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .loc-contact {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

.loc-contact__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--loc-accent);
}

.loc-contact h2 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    font-weight: 800;
}

.loc-contact p {
    margin: 0 0 0.55rem;
    color: var(--loc-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.loc-contact strong {
    color: var(--loc-ink);
}

.loc-contact__map {
    overflow: hidden;
    border: 1px solid var(--loc-line);
    background: #fff;
    min-height: 240px;
}

.loc-contact__map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

.loc-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.loc-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--loc-line);
    background: #fff;
    color: var(--loc-ink);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.loc-social a:hover {
    border-color: var(--loc-ink);
    text-decoration: none;
    color: var(--loc-ink);
}

.loc-footer {
    background: #050505;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 1.1rem;
    font-size: 0.85rem;
}

.loc-footer strong {
    color: #fff;
}

@media (max-width: 900px) {
    .loc-item {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .loc-item__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }

    .loc-btn {
        flex: 1 1 120px;
    }
}

@media (max-width: 560px) {
    .loc-item {
        grid-template-columns: 1fr;
    }

    .loc-item__visual {
        max-height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loc-hero__media img,
    .loc-item,
    .loc-item__visual img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
