/* ============================================================
   NEGOCIOS MODULE — GoCusco
   Shared styles for restaurantes-cafes, categoria-negocios, negocio-detalle
   ============================================================ */

/* ===== HERO SECTIONS ===== */
.neg-hero {
    background: linear-gradient(135deg, var(--color-azul) 0%, #0a1e5e 60%, var(--azul-primario) 100%);
    color: #fff;
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
}

.neg-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 121, 26, .12) 0%, transparent 70%);
    pointer-events: none;
}

.neg-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 161, 255, .08) 0%, transparent 70%);
    pointer-events: none;
}

.neg-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: .6rem;
    position: relative;
}

.neg-hero .hero-sub {
    font-size: 1.1rem;
    opacity: .85;
    max-width: 580px;
    font-weight: 300;
    line-height: 1.6;
    position: relative;
}

/* Search bar inside hero */
.neg-search-bar {
    max-width: 540px;
    margin-top: 1.8rem;
    display: flex;
    position: relative;
}

.neg-search-bar input {
    flex: 1;
    border: none;
    padding: .85rem 1.2rem;
    border-radius: 12px 0 0 12px;
    font-size: .95rem;
    font-family: var(--fuente-principal);
    outline: none;
    background: rgba(255, 255, 255, .95);
    color: #1e293b;
}

.neg-search-bar input::placeholder {
    color: #94a3b8;
}

.neg-search-bar button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 12px 12px 0;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background .3s;
}

.neg-search-bar button:hover {
    background: var(--tercer-color);
}

/* ===== BREADCRUMBS ===== */
.neg-breadcrumb {
    background: transparent;
    padding: .6rem 0;
    margin-bottom: 0;
}

.neg-breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-size: .85rem;
}

.neg-breadcrumb ol li a {
    color: var(--azul-primario);
    text-decoration: none;
    font-weight: 500;
}

.neg-breadcrumb ol li a:hover {
    text-decoration: underline;
}

.neg-breadcrumb ol li.active {
    color: #64748b;
}

.neg-breadcrumb ol li+li::before {
    content: '/';
    margin-right: 4px;
    color: #94a3b8;
}

/* ===== SECTION TITLES ===== */
.neg-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-azul);
    margin-bottom: .5rem;
}

.neg-section-title span {
    color: var(--primary-color);
}

.neg-section-subtitle {
    color: #64748b;
    font-size: .95rem;
    margin-bottom: 2rem;
}

/* ===== SUBCATEGORY CARDS (PAGE 1) ===== */
.subcat-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.subcat-card-link:hover {
    color: inherit;
}

.neg-subcat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, .04);
}

.neg-subcat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .1);
}

.neg-subcat-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.neg-subcat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.neg-subcat-card:hover .neg-subcat-img img {
    transform: scale(1.08);
}

.neg-subcat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 121, 26, .3);
}

.neg-subcat-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.neg-subcat-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-azul);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neg-subcat-body h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.neg-subcat-body p {
    font-size: .88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: .8rem;
    flex: 1;
}

.neg-subcat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.neg-subcat-tags span {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
}

/* ===== FEATURED CAROUSEL (PAGE 1) ===== */
.neg-featured-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
    transition: all .3s;
    height: 100%;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.neg-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
    color: inherit;
}

.neg-featured-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.neg-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neg-featured-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.neg-featured-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .2s;
    border: none;
}

.neg-featured-fav:hover {
    color: #ef4444;
    background: #fff;
}

.neg-featured-body {
    padding: 1rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.neg-featured-subcat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.neg-featured-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .35rem;
}

.neg-featured-meta {
    font-size: .82rem;
    color: #64748b;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.neg-featured-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: .5rem;
}

.neg-featured-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    font-size: .78rem;
    color: #64748b;
}

.neg-featured-amenities span {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ===== LISTING PAGE (PAGE 2) ===== */
.neg-filter-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    position: sticky;
    top: 90px;
    border: 1px solid rgba(0, 0, 0, .04);
}

.neg-filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-azul);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neg-filter-group {
    margin-bottom: 1.2rem;
}

.neg-filter-group label {
    font-size: .82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: .4rem;
    display: block;
}

.neg-filter-group select {
    width: 100%;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: .6rem .8rem;
    font-size: .88rem;
    color: #1e293b;
    font-family: var(--fuente-principal);
    background: #fafbfc;
    cursor: pointer;
    transition: border-color .3s;
}

.neg-filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.neg-filter-radio label {
    font-weight: 500;
    font-size: .88rem;
    color: #475569;
    cursor: pointer;
}

.neg-filter-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.neg-filter-checks label {
    font-weight: 500;
    font-size: .88rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.neg-filter-checks input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.btn-clear-filters {
    width: 100%;
    background: none;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: .6rem;
    font-weight: 600;
    font-size: .85rem;
    color: #64748b;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--fuente-principal);
}

.btn-clear-filters:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Listing cards */
.neg-listing-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: all .3s;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.neg-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
    color: inherit;
}

.neg-listing-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.neg-listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.neg-listing-body {
    padding: 1.2rem;
}

.neg-listing-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .3rem;
}

.neg-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
}

.neg-status-badge.open {
    background: #dcfce7;
    color: #16a34a;
}

.neg-status-badge.closed {
    background: #fef2f2;
    color: #dc2626;
}

.neg-amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: .8rem;
}

.neg-amenity-tags span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    color: #475569;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 6px;
}

.btn-ver-detalles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--azul-primario);
    color: #fff;
    border: none;
    padding: .7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .9rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    font-family: var(--fuente-principal);
}

.btn-ver-detalles:hover {
    background: var(--color-azul);
    color: #fff;
    transform: translateY(-2px);
}

/* Pagination */
.neg-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 2rem;
}

.neg-pagination a,
.neg-pagination span {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all .2s;
}

.neg-pagination a:hover {
    border-color: var(--azul-primario);
    color: var(--azul-primario);
}

.neg-pagination span.active {
    background: var(--azul-primario);
    color: #fff;
    border-color: var(--azul-primario);
}

/* ===== DETAIL PAGE (PAGE 3) ===== */
.neg-detail-header {
    padding-top: 100px;
    padding-bottom: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.neg-detail-subcat-badge {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .6rem;
}

.neg-detail-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-azul);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.neg-detail-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: .6rem;
    font-size: .9rem;
}

.neg-detail-rating-row .stars {
    color: #f59e0b;
    font-size: 1rem;
}

.neg-detail-rating-row .rating-num {
    font-weight: 800;
    color: #1e293b;
}

.neg-detail-rating-row .review-count {
    color: #64748b;
}

.neg-detail-rating-row .price-indicator {
    color: var(--primary-color);
    font-weight: 700;
}

.neg-detail-status {
    margin-bottom: .8rem;
}

.neg-detail-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.neg-detail-amenities .amenity-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #334155;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
}

.neg-detail-amenities .amenity-chip i {
    color: var(--azul-primario);
    font-size: 1rem;
}

/* Detail body sections */
.neg-detail-section {
    margin-bottom: 2rem;
}

.neg-detail-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-azul);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.neg-detail-section-title i {
    color: var(--primary-color);
}

.neg-detail-desc {
    font-size: .95rem;
    color: #475569;
    line-height: 1.7;
}

/* Schedule table */
.neg-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.neg-schedule-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.neg-schedule-table tr:last-child {
    border-bottom: none;
}

.neg-schedule-table td {
    padding: .7rem 0;
    font-size: .9rem;
}

.neg-schedule-table td:first-child {
    font-weight: 600;
    color: #1e293b;
}

.neg-schedule-table td:last-child {
    text-align: right;
    color: #475569;
}

.neg-schedule-table tr.today td {
    color: var(--primary-color);
    font-weight: 700;
}

/* Dishes grid */
.neg-dish-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    transition: all .2s;
}

.neg-dish-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.neg-dish-card h5 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .2rem;
}

.neg-dish-card p {
    font-size: .82rem;
    color: #64748b;
    margin-bottom: .4rem;
}

.neg-dish-card .dish-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: .95rem;
}

/* Reviews */
.neg-reviews-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.neg-reviews-big-num {
    text-align: center;
    min-width: 80px;
}

.neg-reviews-big-num .big-rating {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.neg-reviews-big-num .big-stars {
    color: #f59e0b;
    font-size: .9rem;
    margin-top: 4px;
}

.neg-reviews-big-num .total-reviews {
    color: #64748b;
    font-size: .8rem;
    margin-top: 2px;
}

.neg-reviews-bars {
    flex: 1;
}

.neg-review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: .8rem;
}

.neg-review-bar-row .star-label {
    width: 25px;
    text-align: right;
    color: #64748b;
    font-weight: 600;
}

.neg-review-bar-row .star-icon {
    color: #f59e0b;
    font-size: .75rem;
}

.neg-review-bar-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.neg-review-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 4px;
    transition: width .5s ease;
}

.neg-review-bar-row .count {
    width: 25px;
    color: #64748b;
    font-size: .78rem;
}

/* Individual review */
.neg-review-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid #f1f5f9;
}

.neg-review-item .reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--azul-primario);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}

.neg-review-item .reviewer-name {
    font-weight: 700;
    color: #1e293b;
    font-size: .9rem;
}

.neg-review-item .reviewer-date {
    color: #94a3b8;
    font-size: .78rem;
}

.neg-review-item .review-text {
    color: #475569;
    font-size: .88rem;
    line-height: 1.5;
    margin-top: .5rem;
}

/* Sidebar contact card */
.neg-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    position: sticky;
    top: 90px;
    border: 1px solid rgba(0, 0, 0, .04);
}

.btn-llamar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--azul-primario);
    color: #fff;
    border: none;
    padding: .85rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    font-family: var(--fuente-principal);
}

.btn-llamar:hover {
    background: var(--color-azul);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25d366;
    color: #fff;
    border: none;
    padding: .85rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    font-family: var(--fuente-principal);
}

.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
}

.neg-contact-info {
    margin-top: 1.2rem;
}

.neg-contact-row {
    display: flex;
    gap: 12px;
    padding: .7rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.neg-contact-row:last-child {
    border-bottom: none;
}

.neg-contact-row i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.neg-contact-row .info-label {
    font-size: .78rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 1px;
}

.neg-contact-row .info-value {
    font-size: .9rem;
    color: #1e293b;
    font-weight: 500;
}

.neg-contact-row .info-value a {
    color: var(--azul-primario);
    text-decoration: none;
}

.neg-contact-row .info-value a:hover {
    text-decoration: underline;
}

.neg-social-links {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    justify-content: center;
}

.neg-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.2rem;
    transition: all .2s;
    text-decoration: none;
}

.neg-social-links a:hover {
    background: var(--azul-primario);
    color: #fff;
}

/* Map on detail page */
.neg-map-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    height: 300px;
    margin-top: 1rem;
    position: relative;
    transition: all .4s cubic-bezier(.86, 0, .07, 1);
}

.neg-map-container.is-expanded {
    position: fixed;
    top: 2vh;
    left: 2vw;
    width: 96vw;
    height: 96vh;
    z-index: 1060;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
    margin: 0;
}

.neg-map-container #negocioMap {
    width: 100%;
    height: 100%;
}

/* Related businesses */
.neg-related-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.neg-related-card:hover {
    color: inherit;
}

/* Transport overlay reuse */
.transport-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transport-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    width: 90%;
    max-width: 360px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    animation: fadeUpNeg .3s ease-out;
}

.transport-box h6 {
    font-weight: 700;
    color: var(--color-azul);
    margin-bottom: 0;
}

.transport-btns {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.tr-btn {
    border: none;
    border-radius: 8px;
    padding: .75rem;
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    color: #fff;
    transition: transform 0.2s;
    cursor: pointer;
    font-family: var(--fuente-principal);
}

.tr-btn:hover {
    transform: translateY(-2px);
}

.tr-btn.walk {
    background: #10b981;
}

.tr-btn.taxi {
    background: #7c3aed;
}

.tr-btn.bus-t {
    background: #f59e0b;
}

@keyframes fadeUpNeg {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map backdrop */
.map-backdrop-neg {
    position: fixed;
    inset: 0;
    background: rgba(15, 37, 71, .85);
    backdrop-filter: blur(5px);
    z-index: 1055;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

body.neg-map-expanded .map-backdrop-neg {
    opacity: 1;
    pointer-events: auto;
}

body.neg-map-expanded {
    overflow: hidden;
}

.btn-expand-neg-map {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, .1);
    color: var(--color-azul);
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
    transition: all .3s;
}

.btn-expand-neg-map:hover {
    background: #fff;
    color: var(--primary-color);
}

#routeInfoNeg {
    background: #f8fafc;
    padding: .6rem;
    border-radius: 8px;
    margin-top: .8rem;
    font-size: .9rem;
    display: none;
    border-left: 4px solid var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .neg-hero {
        padding: 110px 0 40px;
    }

    .neg-hero h1 {
        font-size: 2rem;
    }

    .neg-filter-panel {
        position: static;
        margin-bottom: 1.5rem;
    }

    .neg-contact-card {
        position: static;
        margin-top: 2rem;
    }

    .neg-detail-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .neg-hero {
        padding: 85px 0 30px;
    }

    .neg-hero h1,
    .neg-section-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .neg-reviews-summary {
        flex-direction: column;
        text-align: center;
    }

    .neg-subcat-img {
        height: 150px;
    }
}