/* Locutorios Cerca · estilos de locutorio.php
 * Extraído tal cual del <style> que estaba en la plantilla.
 * No se ha cambiado ni una regla: solo se ha movido a un fichero
 * para que el navegador lo cachee entre páginas.
 */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #f97316;
    --secondary-light: #ffedd5;
    --accent: #10b981;
    --accent-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.2s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); }

/* Breadcrumb */

/* Hero */
.establishment-hero { background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%); color: var(--white); padding: 3rem 0; }
.establishment-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.establishment-hero .hero-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.establishment-hero .hero-meta span { display: flex; align-items: center; gap: 0.5rem; color: var(--gray-300); }

/* Body */
.establishment-body { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin: 2rem 0; }

/* Foto principal */
.establishment-photo { position: relative; margin: 1.5rem 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-200); }
.establishment-photo img { width: 100%; height: auto; max-height: 440px; object-fit: cover; display: block; }
.establishment-photo figcaption { position: absolute; right: 0; bottom: 0; background: rgba(17, 24, 39, 0.72); color: #fff; font-size: 0.6875rem; padding: 0.25rem 0.625rem; border-top-left-radius: var(--radius); }

/* Info */
.info-section { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.info-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gray-200); }
.info-list { list-style: none; }
.info-list li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.info-list li:last-child { border-bottom: none; }
.info-list .icon { color: var(--primary); width: 1.25rem; text-align: center; flex-shrink: 0; margin-top: 0.125rem; }
.info-list .label { font-weight: 600; color: var(--gray-700); min-width: 100px; }
.info-list .value { color: var(--gray-600); }
.info-list .value a { color: var(--primary); }
.info-list .value a:hover { text-decoration: underline; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; }
.sidebar-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }

/* Hours */
.hours-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; border-radius: 9999px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 1rem; }
.hours-badge.open { background: var(--accent-light); color: var(--accent); }
.hours-badge.closed { background: var(--danger-light); color: var(--danger); }
.hours-badge::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; border-bottom: 1px solid var(--gray-200); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: var(--gray-600); font-weight: 500; }
.hours-list .time { color: var(--gray-900); font-weight: 600; }

/* Map */
.map-container { height: 300px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Actions */
.action-buttons { display: flex; gap: 0.75rem; margin-top: 1rem; }
.action-buttons .btn { flex: 1; padding: 0.875rem 1.5rem; border-radius: var(--radius-md); font-weight: 600; text-align: center; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.action-buttons .btn-primary { background: var(--primary); color: var(--white); }
.action-buttons .btn-primary:hover { background: var(--primary-dark); }
.action-buttons .btn-outline { background: var(--white); color: var(--gray-700); border: 1px solid var(--gray-300); }
.action-buttons .btn-outline:hover { background: var(--gray-50); }

/* Reviews */
.review-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }

/* Review Form */
.review-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.5rem; }

/* Nearby */
.nearby-section { margin-top: 2rem; }
.nearby-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.nearby-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1rem; transition: var(--transition); }
.nearby-card:hover { box-shadow: var(--shadow-md); }
.nearby-card .name { font-weight: 600; color: var(--gray-900); margin-bottom: 0.25rem; }
.nearby-card .rating { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.nearby-card .rating .star { color: var(--warning); }
.nearby-card .address { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.nearby-card .btn { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.5rem 0.875rem; border-radius: var(--radius-md); font-size: 0.75rem; font-weight: 600; background: var(--primary); color: var(--white); }
.nearby-card .btn:hover { background: var(--primary-dark); }

/* Ad: el hueco no necesita estilos propios; los pone style.css. */

/* Footer */

@media (max-width: 1024px) {
    .establishment-body { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .establishment-hero h1 { font-size: 1.875rem; }
    .nearby-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .action-buttons { flex-direction: column; }
}
@media (max-width: 480px) {
    .site-footer .container { grid-template-columns: 1fr; }
}
