/* =====================================================
   RESTAURANTEXS — CITY PAGE CSS  |  Etapa 4
   ===================================================== */

/* -------------------------------------------------------
   HERO CIUDAD
------------------------------------------------------- */
.rxs-city-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 44px;
}
.rxs-city-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.rxs-city-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,18,8,0.82) 0%, rgba(45,90,27,0.7) 100%);
    z-index: 1;
}
.rxs-city-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.rxs-city-hero__content { flex: 1; min-width: 280px; }
.rxs-city-hero__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    display: block;
    margin-bottom: 10px;
}
.rxs-city-hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 10px;
}
.rxs-city-hero__title em {
    font-style: italic;
    color: var(--gold-light);
}
.rxs-city-hero__subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
}
.rxs-city-hero__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 24px;
}
.rxs-city-hero__stats {
    display: flex;
    gap: 28px;
}
.rxs-city-hero__stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--gold-light);
}
.rxs-city-hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.rxs-city-hero__links {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 200px;
}
.rxs-city-hero__links-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 2px;
}
.rxs-city-hero__link {
    background: rgba(255,255,255,0.09);
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background var(--transition);
}
.rxs-city-hero__link:hover { background: rgba(255,255,255,0.16); }

/* -------------------------------------------------------
   LAYOUT CIUDAD
------------------------------------------------------- */
.rxs-city-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding-top: 36px;
    padding-bottom: 56px;
    align-items: start;
}

/* -------------------------------------------------------
   SIDEBAR FILTROS
------------------------------------------------------- */
.rxs-city-sidebar {
    position: sticky;
    top: 72px;
}
.rxs-filters-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}
.rxs-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.rxs-filters-title { font-size: 14px; font-weight: 600; color: var(--dark); }
.rxs-filters-clear { font-size: 12px; color: var(--terracotta); text-decoration: none; }
.rxs-filter-group {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.rxs-filter-group--last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rxs-filter-group__title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--mid);
    margin-bottom: 10px;
}
.rxs-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 8px;
    color: var(--dark);
}
.rxs-filter-check input { accent-color: var(--terracotta); }
.rxs-filter-count { margin-left: auto; font-size: 11px; color: var(--mid); }
.rxs-filter-more {
    font-size: 12px;
    color: var(--terracotta);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}
.rxs-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.rxs-filter-pill {
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--mid);
    cursor: pointer;
    transition: all var(--transition);
}
.rxs-filter-pill.is-active,
.rxs-filter-pill:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    background: rgba(192,82,42,0.06);
}
.rxs-filter-open {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
}
.rxs-filter-open input { accent-color: var(--terracotta); width: 16px; height: 16px; }

/* -------------------------------------------------------
   RESULTADOS HEADER
------------------------------------------------------- */
.rxs-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.rxs-results-count { font-size: 15px; font-weight: 500; color: var(--dark); }
.rxs-results-filter-tag {
    font-size: 13px;
    color: var(--terracotta);
    margin-left: 6px;
}
.rxs-tag-remove {
    color: var(--mid);
    text-decoration: none;
    margin-left: 4px;
    font-size: 15px;
}
.rxs-sort-select {
    font-family: var(--font-body);
    font-size: 13px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
}

/* -------------------------------------------------------
   CARDS HORIZONTALES
------------------------------------------------------- */
.rxs-restaurant-list { display: flex; flex-direction: column; gap: 14px; }
.rxs-list-card {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.rxs-list-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.rxs-list-card__media {
    width: 220px;
    min-height: 160px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
    display: block;
    text-decoration: none;
}
.rxs-list-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.rxs-list-card:hover .rxs-list-card__img { transform: scale(1.04); }
.rxs-list-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    height: 100%;
    min-height: 160px;
}
.rxs-list-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
}
.rxs-list-card__body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.rxs-list-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rxs-list-card__title-link { text-decoration: none; }
.rxs-list-card__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.2;
}
.rxs-list-card__title-link:hover .rxs-list-card__title { color: var(--terracotta); }
.rxs-list-card__position { font-size: 13px; color: var(--mid); white-space: nowrap; margin-left: 12px; flex-shrink: 0; }
.rxs-list-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 13px;
}
.rxs-list-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rxs-cat-tag--feature {
    color: var(--mid);
    background: var(--cream-dark);
}
.rxs-list-card__address { font-size: 13px; color: var(--mid); }

/* -------------------------------------------------------
   NO RESULTS
------------------------------------------------------- */
.rxs-no-results {
    text-align: center;
    padding: 48px 24px;
    color: var(--mid);
}
.rxs-no-results p { margin-bottom: 16px; font-size: 15px; }

/* -------------------------------------------------------
   PAGINACIÓN
------------------------------------------------------- */
.rxs-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.rxs-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    transition: all var(--transition);
}
.rxs-page-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.rxs-page-btn.is-active {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--white);
    font-weight: 600;
}
.rxs-page-dots { font-size: 14px; color: var(--mid); padding: 0 4px; }

/* -------------------------------------------------------
   SECCIÓN EDITORIAL
------------------------------------------------------- */
.rxs-editorial-section {
    background: var(--cream-dark);
    padding: 56px 0;
}
.rxs-editorial-inner { max-width: 860px; }
.rxs-editorial-header { text-align: center; margin-bottom: 48px; }
.rxs-editorial-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--terracotta);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}
.rxs-editorial-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.rxs-editorial-sub {
    font-size: 15px;
    color: var(--mid);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Entry editorial ── */
.rxs-editorial-entry {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
}
.rxs-editorial-entry--first { border-bottom-width: 2px; }
.rxs-editorial-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.rxs-editorial-entry__header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
}
.rxs-editorial-entry__num {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
}
.rxs-editorial-entry:not(.rxs-editorial-entry--first) .rxs-editorial-entry__num {
    color: rgba(201,146,43,0.35);
}
.rxs-editorial-entry__title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
}

/* Pills */
.rxs-editorial-entry__pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    align-items: center;
}
.rxs-editorial-pill {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--dark);
}
.rxs-editorial-pill--rating {
    color: var(--gold);
    border-color: rgba(201,146,43,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}
.rxs-editorial-pill--recommended {
    color: var(--terracotta);
    border-color: rgba(192,82,42,0.3);
    background: rgba(192,82,42,0.06);
    display: flex;
    align-items: center;
    gap: 5px;
}
.rxs-editorial-pill--award {
    color: #7a4e10;
    border-color: rgba(201,146,43,0.3);
    background: rgba(201,146,43,0.08);
}

/* Foto */
.rxs-editorial-entry__photo { margin-bottom: 8px; }
.rxs-editorial-entry__img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}
.rxs-editorial-entry--first .rxs-editorial-entry__img { max-height: 480px; }
.rxs-editorial-entry__placeholder {
    width: 100%;
    height: 300px;
    background: var(--cream-dark);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border: 1px solid var(--border);
}
.rxs-editorial-entry__caption {
    font-size: 12px;
    color: var(--mid);
    margin-top: 8px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Texto */
.rxs-editorial-entry__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-mid);
    margin-bottom: 14px;
}

/* CTA — solo botón */
.rxs-editorial-entry__cta { margin-top: 24px; }

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1000px) {
    .rxs-city-layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .rxs-list-card__media { width: 180px; }
}
@media (max-width: 800px) {
    .rxs-city-layout { grid-template-columns: 1fr; }
    .rxs-city-sidebar { position: static; }
    .rxs-filters-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .rxs-filters-header { grid-column: 1 / -1; }
    .rxs-filters-form > button { grid-column: 1 / -1; }
    .rxs-list-card { flex-direction: column; }
    .rxs-list-card__media { width: 100%; height: 200px; min-height: unset; }
    .rxs-city-hero__links { display: none; }
}
@media (max-width: 600px) {
    .rxs-filters-form { grid-template-columns: 1fr; }
    .rxs-editorial-entry__num { font-size: 40px; }
    .rxs-editorial-entry__title { font-size: 22px; }
    .rxs-city-hero__stats { gap: 16px; }
}
