/* Locutorios Cerca · estilos de home.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); }

/* Hero */
/* OJO: aquí había overflow:hidden, y el desplegable del buscador se
   recortaba justo donde empieza la barra de estadísticas, que al ser
   blanca lo tapaba. Se deja en visible: el patrón de fondo va con
   inset 0, así que no se sale igualmente.
   El z-index del hero mantiene toda la cabecera por encima de las
   secciones siguientes. */
.hero { background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%); color: var(--white); padding: 4rem 0 6rem; position: relative; overflow: visible; z-index: 3; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat; opacity: 0.5; z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }

/* Search */
.search-box { background: var(--white); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-xl); display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; position: relative; z-index: 3; }

/* Stats */

/* Section */

/* Cities */

/* Establishments */
.establishment-card .card-image { position: relative; height: 200px; background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.establishment-card .card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ad */

/* Footer */

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.25rem; }
    .search-box { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: repeat(3, 1fr); }
    .establishments-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 3rem 0 4rem; }
    .hero h1 { font-size: 1.875rem; }
    .hero p { font-size: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cities-grid { grid-template-columns: repeat(2, 1fr); }
    .establishments-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
}
@media (max-width: 480px) {
    .cities-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .site-footer .container { grid-template-columns: 1fr; }
}
