/* ============================================================
   Guia Nacional - guianacional.com.ar
   CSS completo - Mobile-first, Dark/Light mode
   ============================================================ */

/* --- Custom Properties (Dark mode default) --- */
:root {
    --brand: #36c2ff;
    --brand2: #7a5cff;
    --ok: #34d399;
    --warn: #fbbf24;
    --danger: #f87171;

    --bg: #0f1117;
    --bg2: #181b25;
    --bg3: #1e2230;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.08);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-hover: rgba(255, 255, 255, 0.15);

    --text: #e8eaed;
    --text2: #9aa0ab;
    --text3: #6b7280;
    --text-inverse: #0f1117;

    --glass-bg: rgba(24, 27, 37, 0.7);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: 16px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(54, 194, 255, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

    --header-h: 64px;
    --container-max: 1280px;
    --container-px: 1rem;
}

/* --- Light mode --- */
@media (prefers-color-scheme: light) {
    :root {
        --bg: #f8f9fc;
        --bg2: #ffffff;
        --bg3: #f0f1f5;
        --surface: rgba(0, 0, 0, 0.03);
        --surface-hover: rgba(0, 0, 0, 0.06);
        --surface-border: rgba(0, 0, 0, 0.08);
        --surface-border-hover: rgba(0, 0, 0, 0.15);

        --text: #1a1d26;
        --text2: #4b5563;
        --text3: #9ca3af;
        --text-inverse: #ffffff;

        --glass-bg: rgba(255, 255, 255, 0.75);
        --glass-border: rgba(0, 0, 0, 0.06);

        --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
        --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
        --shadow-glow: 0 0 20px rgba(54, 194, 255, 0.1);
    }
}

/* --- Reset & base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--brand2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

input, select, textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.logo-text strong {
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    color: var(--text2);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--surface-hover);
}

.header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex: 1;
    max-width: 400px;
}

.header-search:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(54, 194, 255, 0.15);
}

.header-search-input {
    border: none;
    background: transparent;
    padding: 0.5rem 0.875rem;
    outline: none;
    width: 100%;
    font-size: 0.875rem;
    color: var(--text);
}

.header-search-input::placeholder {
    color: var(--text3);
}

.header-search-btn {
    padding: 0.5rem 0.75rem;
    color: var(--text2);
    transition: color 0.2s;
    flex-shrink: 0;
}

.header-search-btn:hover {
    color: var(--brand);
}

.header-search-btn svg {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: flex;
    padding: 0.5rem;
    color: var(--text2);
    border-radius: var(--radius-sm);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile nav open */
.site-header.nav-open .header-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 1rem 1rem;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    :root {
        --container-px: 1.5rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-px: 2rem;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(54, 194, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(122, 92, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hero h1 .grad {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.0625rem;
    color: var(--text2);
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero search */
.hero-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus-within {
    border-color: var(--brand);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(54, 194, 255, 0.2);
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 1rem 1.25rem;
    outline: none;
    font-size: 1rem;
    color: var(--text);
    min-width: 0;
}

.hero-search-input::placeholder {
    color: var(--text3);
}

.hero-search-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    color: var(--text3);
    font-size: 0.875rem;
}

.hero-stats strong {
    color: var(--text);
    font-size: 1.25rem;
    display: block;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand);
    white-space: nowrap;
}

.section-link:hover {
    color: var(--brand2);
}

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.tipos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tipo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.tipo-pill:hover {
    background: var(--surface-hover);
    border-color: var(--surface-border-hover);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.tipo-pill .cat-emoji {
    font-size: 1rem;
}

.tipo-pill .pill-count {
    font-size: 0.6875rem;
    color: var(--text3);
    background: var(--surface);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.125rem;
}

/* ============================================================
   LOCALE CARDS GRID
   ============================================================ */
.locales-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 540px) {
    .locales-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .locales-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .locales-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.local-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
    overflow: hidden;
}

.local-card:hover {
    border-color: var(--surface-border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.local-card-link {
    display: block;
    padding: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.local-card-link:hover {
    color: var(--text);
}

.local-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.local-card-nombre {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tipo-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    background: rgba(54, 194, 255, 0.1);
    color: var(--brand);
    margin-bottom: 0.625rem;
}

.estado-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    white-space: nowrap;
}

.estado-abierto {
    background: rgba(52, 211, 153, 0.12);
    color: var(--ok);
}

.estado-cerrado {
    background: rgba(248, 113, 113, 0.12);
    color: var(--danger);
}

.estado-desconocido {
    display: none;
}

.local-card-direccion,
.local-card-ubicacion {
    font-size: 0.8125rem;
    color: var(--text2);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
}

.local-card-direccion {
    margin-bottom: 0.25rem;
}

.local-card-direccion svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text3);
}

.local-card-ubicacion {
    color: var(--text3);
    font-size: 0.75rem;
}

/* ============================================================
   SEARCH PAGE LAYOUT
   ============================================================ */
.search-layout {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0 3rem;
}

.search-sidebar {
    display: none;
    width: 260px;
    flex-shrink: 0;
}

.search-main {
    flex: 1;
    min-width: 0;
}

@media (min-width: 900px) {
    .search-sidebar {
        display: block;
    }
}

/* Sidebar filters */
.filter-panel {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.filter-panel h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text3);
    margin-bottom: 0.75rem;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 280px;
    overflow-y: auto;
}

.filter-list::-webkit-scrollbar {
    width: 4px;
}
.filter-list::-webkit-scrollbar-track {
    background: transparent;
}
.filter-list::-webkit-scrollbar-thumb {
    background: var(--surface-border);
    border-radius: 4px;
}

.filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text2);
    transition: all 0.2s;
    text-decoration: none;
}

.filter-item:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.filter-item.active {
    background: rgba(54, 194, 255, 0.1);
    color: var(--brand);
    font-weight: 600;
}

.filter-item .filter-count {
    font-size: 0.6875rem;
    color: var(--text3);
}

/* Mobile filter toggle */
.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    color: var(--text2);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    width: 100%;
}

.filter-toggle-btn svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 900px) {
    .filter-toggle-btn {
        display: none;
    }
}

.mobile-filters {
    display: none;
    margin-bottom: 1rem;
}

.mobile-filters.open {
    display: block;
}

@media (min-width: 900px) {
    .mobile-filters {
        display: none !important;
    }
}

/* Search top bar */
.search-top {
    margin-bottom: 1.5rem;
}

.search-top-form {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-top-form:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(54, 194, 255, 0.12);
}

.search-top-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    outline: none;
    font-size: 0.9375rem;
    color: var(--text);
    min-width: 0;
}

.search-top-input::placeholder {
    color: var(--text3);
}

.search-top-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-top-btn:hover {
    opacity: 0.9;
}

.search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--text3);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-meta strong {
    color: var(--text);
}

/* Active filters chips */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: rgba(54, 194, 255, 0.1);
    border: 1px solid rgba(54, 194, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--brand);
    text-decoration: none;
    transition: all 0.2s;
}

.filter-chip:hover {
    background: rgba(54, 194, 255, 0.15);
    color: var(--brand);
}

.filter-chip .chip-remove {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.paginacion {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.paginacion ul {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text2);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    text-decoration: none;
    transition: all 0.2s;
}

.pag-link:hover:not(.disabled):not(.active) {
    color: var(--text);
    background: var(--surface-hover);
    border-color: var(--surface-border-hover);
}

.pag-link.active {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    border-color: transparent;
}

.pag-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pag-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--text3);
}

/* ============================================================
   NO RESULTS
   ============================================================ */
.no-results {
    text-align: center;
    padding: 4rem 1rem;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text2);
    font-size: 0.9375rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-page {
    padding: 2rem 0 4rem;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--text3);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: var(--text2);
}

.breadcrumbs a:hover {
    color: var(--brand);
}

.breadcrumbs .sep {
    margin: 0 0.25rem;
}

.detail-header {
    margin-bottom: 2rem;
}

.detail-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr 340px;
    }
}

.detail-main {
    min-width: 0;
}

.detail-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Info card */
.info-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.info-card h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.info-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text2);
    margin-bottom: 1.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.info-row-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text3);
}

.info-row-icon svg {
    width: 16px;
    height: 16px;
}

.info-row-content {
    flex: 1;
    min-width: 0;
}

.info-row-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text3);
    margin-bottom: 0.125rem;
}

.info-row-value {
    color: var(--text);
    word-break: break-word;
}

.info-row-value a {
    color: var(--brand);
}

/* Map link */
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: opacity 0.2s;
    text-decoration: none;
    margin-top: 0.5rem;
}

.map-link:hover {
    opacity: 0.9;
    color: #fff;
}

.map-link svg {
    width: 16px;
    height: 16px;
}

/* Horarios */
.horarios-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.horarios-card h2 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.horarios-content {
    font-size: 0.875rem;
    color: var(--text2);
    line-height: 1.8;
    white-space: pre-line;
}

/* Social links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--surface-hover);
    color: var(--text);
    border-color: var(--surface-border-hover);
}

.social-link svg {
    width: 14px;
    height: 14px;
}

/* Related section */
.related-section {
    margin-top: 3rem;
}

.related-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    margin-top: auto;
    background: var(--bg2);
    border-top: 1px solid var(--surface-border);
    padding: 3rem 0 1.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--surface-border);
}

@media (min-width: 640px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-desc {
    color: var(--text2);
    font-size: 0.875rem;
    margin-top: 0.75rem;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text3);
    margin-bottom: 0.75rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text2);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text3);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--text2); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-hover) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text3);
}

/* ============================================================
   FOCUS STYLES
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header,
    .site-footer,
    .hero::before,
    .search-sidebar,
    .filter-toggle-btn,
    .paginacion {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .local-card {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}
