/* Locutorios Cerca · estilos de search.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 */

/* Search Hero */
.search-hero { background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%); color: var(--white); padding: 3rem 0; position: relative; z-index: 2; }
.search-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.search-hero p { color: var(--gray-300); font-size: 1.125rem; }

/* Search Form */
/* El contenedor del buscador se sube por encima del hero (margin-top
   negativo) y tiene que quedar por delante de los resultados, o el
   desplegable de sugerencias quedaría tapado por las tarjetas. */
.search-form-container { background: var(--white); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-xl); margin-top: -2rem; position: relative; z-index: 20; }
.search-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr 1fr auto; gap: 1rem; align-items: end; }
.search-form .field { display: flex; flex-direction: column; gap: 0.5rem; }
.search-form label { font-size: 0.875rem; font-weight: 600; color: var(--gray-700); }
.search-form input, .search-form select { padding: 0.875rem 1rem; border: 2px solid var(--gray-200); border-radius: var(--radius-md); font-size: 1rem; transition: var(--transition); background: var(--white); }
.search-form input:focus, .search-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.search-form .btn-search { padding: 0.875rem 2rem; background: var(--primary); color: var(--white); border-radius: var(--radius-md); font-weight: 600; font-size: 1rem; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.search-form .btn-search:hover { background: var(--primary-dark); }

/* Results */
.results-header { display: flex; align-items: center; justify-content: space-between; margin: 2rem 0 1rem; }
.results-count { font-size: 1.125rem; color: var(--gray-600); }
.results-count strong { color: var(--gray-900); }

/* Establishments */

/* Ad */

/* Footer */

@media (max-width: 1024px) {
    .search-form { grid-template-columns: 1fr 1fr 1fr; }
    .establishments-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .search-hero h1 { font-size: 1.875rem; }
    .search-form { grid-template-columns: 1fr; }
    .establishments-grid { grid-template-columns: 1fr; }
    .header-nav { display: none; }
}
@media (max-width: 480px) {
    .site-footer .container { grid-template-columns: 1fr; }
}
