/* ============================================================
   STYLES.CSS - DISEÑO ESTILO GUÍA MICHELIN
   ============================================================ */

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f3f0;
    color: #1a1a1a;
    line-height: 1.6;
}

::selection {
    background: #ED1C24;
    color: white;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO SECTION MICHELIN ===== */
.hero-michelin {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
    padding: 60px 0 80px;
}

.hero-michelin::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(237, 28, 36, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-michelin .hero-bg-text {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    letter-spacing: 20px;
    pointer-events: none;
    user-select: none;
}

.hero-michelin .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-michelin .hero-badge {
    display: inline-block;
    background: #ED1C24;
    color: white;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-michelin h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    color: white;
    margin-bottom: 16px;
}

.hero-michelin h1 span {
    color: #ED1C24;
    font-style: italic;
}

.hero-michelin .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    max-width: 500px;
    letter-spacing: 1px;
}

.hero-michelin .hero-stats {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 40px;
}

.hero-michelin .hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-michelin .hero-stat .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ED1C24;
    line-height: 1;
}

.hero-michelin .hero-stat .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* Selector idioma Michelin */
.selector-idioma-michelin {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.selector-idioma-michelin .idioma-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.selector-idioma-michelin .idioma-btn:hover {
    color: rgba(255, 255, 255, 0.6);
}

.selector-idioma-michelin .idioma-btn.activo {
    background: #ED1C24;
    color: white;
}

/* ===== FILTROS MICHELIN ===== */
.filtros-michelin {
    background: white;
    padding: 24px 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.filtros-michelin .filtros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.filtros-michelin .filtros-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
}

.filtros-michelin .filtros-header h2 i {
    color: #ED1C24;
    margin-right: 8px;
}

.filtros-michelin .resultados-count {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.3);
    font-weight: 500;
    background: #f5f3f0;
    padding: 4px 16px;
    border-radius: 20px;
}

.filtros-michelin .filtros-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(237, 28, 36, 0.2) transparent;
}

.filtros-michelin .filtros-scroll::-webkit-scrollbar {
    height: 3px;
}

.filtros-michelin .filtros-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.filtros-michelin .filtros-scroll::-webkit-scrollbar-thumb {
    background: rgba(237, 28, 36, 0.2);
    border-radius: 4px;
}

.filtros-michelin .filtros {
    display: flex;
    gap: 8px;
    min-width: max-content;
}

.filtros-michelin .filtro-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    color: rgba(26, 26, 26, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filtros-michelin .filtro-btn i {
    font-size: 0.85rem;
}

.filtros-michelin .filtro-btn:hover {
    background: rgba(237, 28, 36, 0.04);
    color: #1a1a1a;
    border-color: rgba(237, 28, 36, 0.1);
}

.filtros-michelin .filtro-btn.activo {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

.filtros-michelin .filtro-btn.activo i {
    color: white;
}

/* ===== SPOTS PUBLICITARIOS ===== */
.spot-publicitario {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.spot-publicitario:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.spot-publicitario .spot-contenido {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 28px;
    text-decoration: none;
    color: inherit;
}

.spot-publicitario .spot-imagen {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f5f3f0;
}

.spot-publicitario .spot-info {
    flex: 1;
}

.spot-publicitario .spot-info .spot-badge {
    display: inline-block;
    background: #ED1C24;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 2px 12px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.spot-publicitario .spot-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.spot-publicitario .spot-info p {
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.4);
}

.spot-publicitario .spot-info .spot-cta {
    display: inline-block;
    margin-top: 6px;
    color: #ED1C24;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
}

.spot-publicitario .spot-info .spot-cta i {
    transition: transform 0.3s ease;
}

.spot-publicitario .spot-info .spot-cta:hover i {
    transform: translateX(4px);
}

.spot-publicitario .spot-tag {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 0.6rem;
    color: rgba(26, 26, 26, 0.12);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spot-publicitario.vacio {
    background: #faf8f6;
    border: 2px dashed rgba(0, 0, 0, 0.04);
    text-align: center;
    padding: 20px;
}

.spot-publicitario.vacio p {
    color: rgba(26, 26, 26, 0.15);
    font-size: 0.85rem;
}

/* ===== GRID DE BARES ===== */
main.container {
    padding: 20px 24px 60px;
}

.grid-directorio-michelin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

/* ===== TARJETAS MICHELIN ===== */
.tarjeta-michelin {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.tarjeta-michelin:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(237, 28, 36, 0.08);
}

.tarjeta-michelin .tarjeta-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(237, 28, 36, 0.9);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.tarjeta-michelin .tarjeta-badge.estrella {
    background: #C9A96E;
    color: #1a1a1a;
}

.tarjeta-michelin .tarjeta-badge i {
    margin-right: 4px;
}

.tarjeta-michelin .tarjeta-imagen {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tarjeta-michelin:hover .tarjeta-imagen {
    transform: scale(1.02);
}

.tarjeta-michelin .tarjeta-contenido {
    padding: 22px 22px 26px;
}

.tarjeta-michelin .tarjeta-contenido h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.tarjeta-michelin .tarjeta-precio {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: #ED1C24;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tarjeta-michelin .tipo-comida {
    background: #f5f3f0;
    color: rgba(26, 26, 26, 0.4);
    font-weight: 500;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 14px;
    border-radius: 20px;
}

.tarjeta-michelin .tarjeta-descripcion {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(26, 26, 26, 0.55);
    margin-bottom: 12px;
}

.tarjeta-michelin .galeria-thumbnails {
    display: flex;
    gap: 5px;
    margin: 6px 0 12px;
    flex-wrap: wrap;
}

.tarjeta-michelin .galeria-thumbnails img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tarjeta-michelin .galeria-thumbnails img:hover {
    transform: scale(1.05);
    border-color: #ED1C24;
}

.tarjeta-michelin .galeria-mas {
    width: 52px;
    height: 52px;
    background: #f5f3f0;
    color: rgba(26, 26, 26, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.tarjeta-michelin .tarjeta-info {
    font-size: 0.8rem;
    color: rgba(26, 26, 26, 0.35);
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.tarjeta-michelin .tarjeta-info i {
    width: 16px;
    color: #ED1C24;
    opacity: 0.4;
}

.tarjeta-michelin .tarjeta-acciones {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tarjeta-michelin .btn-michelin {
    flex: 1;
    padding: 9px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.78rem;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    min-width: 80px;
}

.tarjeta-michelin .btn-michelin.web {
    background: #1a1a1a;
    color: white;
}

.tarjeta-michelin .btn-michelin.web:hover {
    background: #2d2d2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 26, 26, 0.12);
}

.tarjeta-michelin .btn-michelin.carta {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.tarjeta-michelin .btn-michelin.carta:hover {
    background: #f5f3f0;
    transform: translateY(-2px);
}

.tarjeta-michelin .btn-michelin.carta.destacado {
    background: #ED1C24;
    color: white;
    border-color: #ED1C24;
}

.tarjeta-michelin .btn-michelin.carta.destacado:hover {
    background: #c91820;
    border-color: #c91820;
}

/* ===== SIN RESULTADOS ===== */
.sin-resultados-michelin {
    text-align: center;
    padding: 60px 0;
    color: rgba(26, 26, 26, 0.25);
    font-size: 1.05rem;
    grid-column: 1 / -1;
}

.sin-resultados-michelin i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
    color: rgba(237, 28, 36, 0.08);
}

/* ===== FOOTER MICHELIN ===== */
.footer-michelin {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.2);
    padding: 40px 0 24px;
    margin-top: 20px;
    border-top: 3px solid #ED1C24;
}

.footer-michelin .footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 24px;
}

.footer-michelin .footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 4px;
}

.footer-michelin .footer-brand h3 span {
    color: #ED1C24;
}

.footer-michelin .footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
}

.footer-michelin .footer-links {
    display: flex;
    gap: 10px;
}

.footer-michelin .footer-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-michelin .footer-links a:hover {
    background: #ED1C24;
    color: white;
    transform: translateY(-2px);
}

.footer-michelin .footer-bottom {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-michelin h1 {
        font-size: 3.5rem;
    }
    
    .grid-directorio-michelin {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-michelin {
        min-height: 60vh;
        padding: 40px 0 60px;
    }
    
    .hero-michelin h1 {
        font-size: 2.5rem;
    }
    
    .hero-michelin .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .hero-michelin .hero-stat .number {
        font-size: 2rem;
    }
    
    .hero-michelin .hero-bg-text {
        font-size: 3rem;
        right: -10%;
    }
    
    .filtros-michelin .filtros-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .filtros-michelin .filtros-header h2 {
        font-size: 1.1rem;
    }
    
    .grid-directorio-michelin {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .spot-publicitario .spot-contenido {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 16px;
    }
    
    .spot-publicitario .spot-imagen {
        width: 100%;
        height: 140px;
    }
    
    .footer-michelin .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-michelin .footer-links {
        justify-content: center;
    }
    
    main.container {
        padding: 16px 16px 40px;
    }
    
    .filtros-michelin {
        padding: 14px 0 12px;
    }
    
    .filtros-michelin .filtro-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .tarjeta-michelin .tarjeta-imagen {
        height: 180px;
    }
    
    .tarjeta-michelin .btn-michelin {
        font-size: 0.75rem;
        padding: 7px 12px;
    }
}

@media (max-width: 480px) {
    .hero-michelin h1 {
        font-size: 2rem;
    }
    
    .hero-michelin .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .selector-idioma-michelin {
        width: 100%;
        justify-content: center;
    }
    
    .selector-idioma-michelin .idioma-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .tarjeta-michelin .tarjeta-contenido {
        padding: 16px 16px 20px;
    }
    
    .tarjeta-michelin .tarjeta-contenido h3 {
        font-size: 1.15rem;
    }
}