/* ========== DISEÑO MODERNO RESTAURANTE DE ALTO STANDING ========== */

/* Fuentes elegantes - @import debe estar al principio */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lora:wght@300;400;500&display=swap');

/* Fallbacks para navegadores que no soportan clamp() */
@supports not (font-size: clamp(1rem, 1vw, 2rem)) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .menu-section h3,
    .about-section h3,
    .services-section h3,
    .specialties-section h3,
    .cta-section h3,
    .quick-help h3 {
        font-size: 1.5rem;
    }
}

/* Fallbacks específicos para móviles */
@supports not (font-size: clamp(1rem, 1vw, 2rem)) {
    @media (max-width: 768px) {
        .logo h1 {
            font-size: 1.3rem;
        }
        
        .hero h2 {
            font-size: 1.6rem;
        }
        
        .menu-section h3,
        .about-section h3,
        .services-section h3,
        .specialties-section h3,
        .cta-section h3,
        .quick-help h3 {
            font-size: 1.3rem;
        }
    }
    
    @media (max-width: 480px) {
        .logo h1 {
            font-size: 1.2rem;
        }
        
        .hero h2 {
            font-size: 1.4rem;
        }
        
        .menu-section h3,
        .about-section h3,
        .services-section h3,
        .specialties-section h3,
        .cta-section h3,
        .quick-help h3 {
            font-size: 1.2rem;
        }
    }
}

/* Variables CSS para consistencia de colores - SaborLab Moderno Azul Profesional */
:root {
    /* Paleta Moderna Azul Profesional - Basada en subir.php */
    --restaurant-gold: #d4af37;           /* Dorado elegante */
    --restaurant-gold-dark: #b8860b;      /* Dorado oscuro */
    --restaurant-gold-light: #f0e6d2;     /* Dorado claro */
    --restaurant-primary: #2c5aa0;         /* Azul principal profesional */
    --restaurant-primary-dark: #1e3d73;   /* Azul oscuro elegante */
    --restaurant-primary-light: #4a7bc8;  /* Azul claro suave */
    --restaurant-accent: #2c5aa0;         /* Azul como acento */
    --restaurant-accent-dark: #1e3d73;    /* Azul oscuro */
    --restaurant-accent-light: #6b9ae0;   /* Azul muy claro */
    --restaurant-black: #2c3e50;          /* Gris azulado oscuro moderno */
    --restaurant-black-light: #4a5568;    /* Gris azulado medio */
    --restaurant-brown: #8B4513;
    --restaurant-brown-dark: #654321;
    --restaurant-beige: #f8f9fa;          /* Gris muy claro moderno */
    --restaurant-white: #FFFFFF;
    --text-dark: #2c3e50;                  /* Texto principal moderno */
    --text-medium: #4a5568;                /* Texto secundario */
    --text-light: #718096;                 /* Texto claro */
    --background-white: #f8f9fa;           /* Gris muy claro */
    --background-light-beige: #f8f9fa;     /* Gris muy claro */
    --panel: rgba(255, 255, 255, 0.95);
    --panel-border: #2c5aa0;               /* Borde azul profesional */
    --shadow-elegant: 0 8px 24px rgba(44, 90, 160, 0.25);
    
    /* Compatibilidad con nombres antiguos - mapeo a nuevos colores */
    --sevilla-red: var(--restaurant-primary);
    --sevilla-red-dark: var(--restaurant-primary-dark);
    --sevilla-red-light: var(--restaurant-primary-light);
    --sevilla-white: var(--restaurant-white);
    --gold-primary: var(--restaurant-gold);
    --gold-light: var(--restaurant-gold-light);
    --gold-dark: var(--restaurant-gold-dark);
    --burgundy: var(--restaurant-primary-dark);
    --dark-elegant: var(--text-dark);
    --dark-warm: var(--text-medium);
    --text: var(--text-dark);
    --muted: var(--text-medium);
    --accent-rgb: 44, 90, 160;            /* RGB principal para overlays */
}

/* ========== SELECCIÓN DE TEXTO GLOBAL - SABORLAB ========== */
/* Estilo de selección coherente con la identidad del proyecto */
::selection {
    background: var(--restaurant-primary) !important;
    color: var(--restaurant-white) !important;
    text-shadow: none !important;
}

::-moz-selection {
    background: var(--restaurant-primary) !important;
    color: var(--restaurant-white) !important;
    text-shadow: none !important;
}

/* Selección en títulos y encabezados - destacado */
h1 ::selection,
h2 ::selection,
h3 ::selection,
h4 ::selection,
h5 ::selection,
h6 ::selection {
    background: var(--restaurant-primary-dark) !important;
    color: var(--restaurant-white) !important;
}

h1 ::-moz-selection,
h2 ::-moz-selection,
h3 ::-moz-selection,
h4 ::-moz-selection,
h5 ::-moz-selection,
h6 ::-moz-selection {
    background: var(--restaurant-primary-dark) !important;
    color: var(--restaurant-white) !important;
}

/* Selección en enlaces - contraste */
a ::selection {
    background: var(--restaurant-primary-light) !important;
    color: var(--restaurant-black) !important;
}

a ::-moz-selection {
    background: var(--restaurant-primary-light) !important;
    color: var(--restaurant-black) !important;
}

/* Reset y base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Lora', serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    color: #2c3e50;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    color: var(--text);
}

a {
    color: var(--restaurant-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--restaurant-primary-dark);
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* ========== NAVEGACIÓN · ESTILO GLASMORPHISM GOURMET ========== */
header {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(135deg, #3278bf 0%, #2e68a3 35%, #3461a7 50%, #4a7bb8 70%, #b8d0e5 90%, #d6e1ed 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 60px -30px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
}

header::before,
header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(0);
    opacity: 0.45;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

header::before {
    width: 420px;
    height: 420px;
    top: -280px;
    right: -180px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 65%);
}

header::after {
    width: 360px;
    height: 360px;
    bottom: -240px;
    left: -160px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 50%, transparent 70%);
}

header:hover::before,
header:hover::after {
    opacity: 0.65;
    transform: translateY(-6px);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 26px 22px;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 0;
}

/* Wrapper para título y slogan en el logo principal - expandido al máximo */
.logo > div[style*="flex-direction:column"],
.logo .title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 0 12px;
    width: 100%;
    max-width: none;
    order: 2;
}

.logo > div[style*="flex-direction:column"] h1,
.logo .title-wrapper h1 {
    margin: 0;
    width: 100%;
    text-align: center;
}

.logo .mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    line-height: 1;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font-weight: 800;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    order: 1;
}

.logo .mark:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 6.5vw, 3.5rem);
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
    letter-spacing: 1.2px;
    transition: color 0.35s ease, text-shadow 0.35s ease;
    line-height: 1.15;
    width: 100%;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Slogan de página - debajo de los títulos - expandido y muy visible */
.page-slogan {
    font-family: 'Lora', serif;
    font-size: clamp(0.85rem, 2.2vw, 1.3rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.4px;
    line-height: 1.4;
    width: 100%;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive para tablets - títulos y slogan más amplios y visibles */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo h1 {
        font-size: clamp(2.2rem, 7vw, 3.8rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5), 0 6px 22px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.6) !important;
    }
    
    .page-slogan {
        font-size: clamp(1rem, 2.5vw, 1.4rem) !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 4px 18px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 20px;
    }
}

/* Desktop - máximo espacio para títulos - máxima visibilidad */
@media (min-width: 1025px) {
    .logo h1 {
        font-size: clamp(2.5rem, 7.5vw, 4.2rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.6) !important;
        letter-spacing: 1.5px !important;
    }
    
    .page-slogan {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem) !important;
        font-weight: 600 !important;
        letter-spacing: 0.6px !important;
        text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5), 0 5px 20px rgba(0, 0, 0, 0.4), 0 1px 5px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 24px;
    }
}

/* Responsive para móviles - títulos y slogans muy visibles */
@media (max-width: 768px) {
    .logo h1 {
        font-size: clamp(1.6rem, 6vw, 2.8rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    .page-slogan {
        font-size: clamp(0.75rem, 2vw, 1.1rem) !important;
        font-weight: 600 !important;
        letter-spacing: 0.3px !important;
        line-height: 1.35 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: clamp(1.5rem, 5.5vw, 2.5rem) !important;
    }
    
    .page-slogan {
        font-size: clamp(0.7rem, 1.8vw, 1rem) !important;
        letter-spacing: 0.25px !important;
    }
}

@media (max-width: 375px) {
    .logo h1 {
        font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
    }
    
    .page-slogan {
        font-size: clamp(0.65rem, 1.6vw, 0.95rem) !important;
        letter-spacing: 0.2px !important;
    }
}

@media (max-width: 320px) {
    .logo h1 {
        font-size: clamp(1.3rem, 4.8vw, 2rem) !important;
    }
    
    .page-slogan {
        font-size: clamp(0.6rem, 1.5vw, 0.85rem) !important;
        letter-spacing: 0.15px !important;
    }
}

/* Slogan en secciones con fondo claro (como carta.php, pedidos.php) */
#section-title .page-slogan,
.section-title .page-slogan {
    color: #1e3d73 !important;
    text-shadow: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Responsive para slogan en secciones */
@media (max-width: 480px) {
    #section-title .page-slogan,
    .section-title .page-slogan {
        font-size: 0.5rem !important;
    }
}

@media (max-width: 375px) {
    #section-title .page-slogan,
    .section-title .page-slogan {
        font-size: 0.45rem !important;
    }
}

@media (max-width: 320px) {
    #section-title .page-slogan,
    .section-title .page-slogan {
        font-size: 0.4rem !important;
    }
}

nav {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
}

nav a {
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 249, 255, 0.82));
    border: 1px solid rgba(44, 90, 160, 0.22);
    color: #1f2b50;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 14px 28px rgba(17, 23, 40, 0.12);
}

nav a:hover {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.12), rgba(30, 61, 115, 0.08));
    color: #1e3d73;
    border-color: rgba(44, 90, 160, 0.32);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(17, 23, 40, 0.18);
}

/* ========== HERO SECTION ELEGANTE ========== */
.hero {
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(90deg, #FFFFFF 0%, #FFF8DC 100%);
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--restaurant-gold), var(--restaurant-gold-dark), var(--restaurant-gold));
    border-radius: 25px 25px 0 0;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--restaurant-gold-dark);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.hero p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 500;
}

.hero strong {
    color: var(--restaurant-gold);
    font-weight: 700;
}



.ornament {
    width: 100%;
    height: 8px;
    margin: 2rem 0 0;
    background: linear-gradient(to right, transparent, rgba(var(--primary-rgb, 44, 90, 160), 0.6), transparent);
    border-radius: 999px;
    position: relative;
}

.ornament::after {
    content: '🍽️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    background: var(--color-surface, #FFFFFF);
    padding: 0 10px;
    filter: drop-shadow(0 2px 4px rgba(var(--primary-rgb, 44, 90, 160), 0.3));
}

/* ========== SECCIONES DEL MENÚ CON FONDO CLARO ========== */
.menu-section {
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8DC 50%, #FFFFFF 100%);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

/* Contenedor principal de carta.php */
main.container {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

/* Estilos específicos para el header de carta.php */
header.container {
    padding: 20px;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

/* Logo - estructura mejorada con espacio máximo para títulos */
header.container .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
    position: relative;
    min-width: 0;
}

/* Emoji del logo - máxima posición izquierda */
header.container .logo .mark {
    flex-shrink: 0;
    margin-right: 0;
}

/* Contenedor de título y slogan - ocupa todo el espacio central disponible */
header.container .logo > div[style*="flex-direction:column"] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    padding: 0 12px;
    order: 2;
    width: 100%;
    max-width: none;
}

header.container .logo > div[style*="flex-direction:column"] h1 {
    margin: 0;
    width: 100%;
    text-align: center;
}

header.container .logo h1 {
    font-size: clamp(1.8rem, 6.5vw, 3.5rem);
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.15;
    letter-spacing: 1.2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Botón hamburguesa - máxima posición derecha, dentro del logo pero al final */
header.container .logo .hamburger-btn {
    flex-shrink: 0;
    margin-left: auto;
    order: 3;
    position: relative;
    z-index: 10001;
}

/* Media queries específicas para el header - responsive mejorado con máxima visibilidad */
@media (max-width: 768px) {
    header.container {
        padding: 16px 18px;
        gap: 12px;
    }
    
    header.container .logo h1 {
        font-size: clamp(1.6rem, 6vw, 2.8rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo .mark {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 10px;
    }
    
    .page-slogan {
        font-size: clamp(0.75rem, 2vw, 1.1rem) !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 480px) {
    header.container {
        padding: 14px 16px;
        gap: 10px;
    }
    
    header.container .logo h1 {
        font-size: clamp(1.5rem, 5.5vw, 2.5rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo .mark {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 8px;
    }
    
    .page-slogan {
        font-size: clamp(0.7rem, 1.8vw, 1rem) !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 370px) {
    header.container {
        padding: 12px 14px;
        gap: 8px;
    }
    
    header.container .logo h1 {
        font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo .mark {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 6px;
    }
    
    .page-slogan {
        font-size: clamp(0.65rem, 1.6vw, 0.95rem) !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 335px) {
    header.container {
        padding: 10px 12px;
        gap: 6px;
    }
    
    header.container .logo h1 {
        font-size: clamp(1.3rem, 4.8vw, 2rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo .mark {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    header.container .logo > div[style*="flex-direction:column"] {
        padding: 0 4px;
    }
    
    .page-slogan {
        font-size: clamp(0.6rem, 1.5vw, 0.85rem) !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
}

@media (max-width: 300px) {
    header.container .logo h1 {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem) !important;
        font-weight: 800 !important;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6) !important;
    }
    
    .page-slogan {
        font-size: clamp(0.55rem, 1.4vw, 0.8rem) !important;
        font-weight: 600 !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.6) !important;
    }
    
    header.container .logo .mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    header.container {
        padding: 10px 12px;
    }
    
    header.container .logo {
        gap: 8px;
    }
}

.menu-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--restaurant-gold-dark);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.menu-section h3 i {
    font-size: 1.8rem;
    color: var(--restaurant-gold);
}

/* Menú del Día con fondo claro */
.menu-day {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 1rem 0.5rem;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

/* Hacer que el menu-grid dentro de menu-day tenga el mismo comportamiento que el menu-grid directo */
.menu-day .menu-grid {
    margin: 1rem auto 0 !important;
    width: calc(100% - 1rem) !important;
    max-width: calc(100% - 1rem) !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    justify-items: center !important;
    align-items: start !important;
    place-items: center !important;
    justify-content: center !important;
    align-content: start !important;
    box-sizing: border-box !important;
}

.menu-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem 1rem 1rem;
    border-bottom: 2px solid rgba(var(--accent-rgb), 0.3);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.menu-header h4 {
    font-size: 1.5rem;
    color: var(--sevilla-red-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.chef-info {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.menu-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--sevilla-red), var(--sevilla-red-dark));
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
    border: 2px solid var(--sevilla-red-dark);
}

.menu-courses {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.course {
    padding: 1rem;
    background: rgba(255, 245, 245, 0.8);
    border-radius: 10px;
    border-left: 4px solid var(--sevilla-red);
}

.course h5 {
    color: var(--sevilla-red-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.course h5 i {
    color: var(--sevilla-red);
    font-size: 1rem;
}

.course p, .course ul {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.course ul {
    list-style: none;
    padding-left: 0;
}

.course li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course li:last-child {
    border-bottom: none;
}

.course strong {
    color: var(--sevilla-red);
    font-weight: 700;
}

.menu-includes {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(var(--accent-rgb), 0.3);
}

.menu-includes p {
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.menu-includes i {
    color: var(--sevilla-red);
}

/* Grid de Menú - Base (será sobrescrito por media queries específicas) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 100%;
    justify-items: center;
    align-items: start;
    place-items: center;
    justify-content: center;
    align-content: start;
}

.menu-item {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    min-width: auto;
    margin: 0 auto;
    justify-self: center;
    align-self: start;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    width: 100%;
    text-align: center;
}

.menu-item-header h4 {
    color: var(--restaurant-primary-dark);
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.4;
    flex: 1;
    font-weight: 700;
}

/* Notas informativas en el menú */
.menu-note {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(232, 239, 252, 0.9) 0%, #FFFFFF 100%);
    border: 1px solid rgba(44, 90, 160, 0.15);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.menu-note p {
    color: var(--restaurant-primary-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.menu-note i {
    color: var(--restaurant-primary);
    margin-right: 0.5rem;
}

.menu-item .price {
    background: linear-gradient(135deg, var(--restaurant-primary), var(--restaurant-primary-dark));
    color: #FFFFFF;
    padding: 6px 12px;
    border: 2px solid var(--restaurant-primary-dark);
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.menu-item p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

.allergens {
    font-size: 0.9rem;
    color: var(--restaurant-primary);
    font-style: italic;
    padding: 8px 12px;
    background: rgba(44, 90, 160, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(44, 90, 160, 0.2);
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

/* Grid de Vinos */
.wine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1rem auto 0;
    width: 100%;
    max-width: 100%;
    justify-items: center;
    align-items: center;
    place-items: center;
    justify-content: center;
    align-content: center;
}

.wine-item {
    background: #FFFFFF;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-self: center;
    align-self: center;
    min-width: auto;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.wine-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.wine-info h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.wine-info p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.wine-price {
    display: inline-block;
    background: linear-gradient(135deg, var(--sevilla-red), var(--sevilla-red-dark));
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--sevilla-red-dark);
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.3);
}

/* ========== SECCIONES SOBRE NOSOTROS CON FONDO CLARO ========== */
.about-section {
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 50%, #FFFFFF 100%);
    border-radius: 20px;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.15);
}

.about-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--sevilla-red-dark);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(var(--accent-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 700;
}

.about-section h3 i {
    font-size: 1.8rem;
    color: var(--sevilla-red);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-weight: 500;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--sevilla-red);
    font-weight: 700;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-elegant);
}

/* Filosofía */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.philosophy-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 15px;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.philosophy-icon {
    font-size: 3rem;
    color: var(--sevilla-red);
    margin-bottom: 1rem;
}

.philosophy-item h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.philosophy-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* Equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    background: #FFFFFF;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.member-photo {
    flex-shrink: 0;
}

.member-photo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sevilla-red);
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
}

.member-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
    border-color: var(--sevilla-red-light);
}

.member-info {
    flex: 1;
    min-width: 0;
}

.member-info h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.member-role {
    color: var(--sevilla-red);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}

.member-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
    color: var(--sevilla-red-dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.1);
    transition: all 0.3s ease;
    font-weight: 700;
}

.achievement:hover {
    background: var(--sevilla-red);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

/* Premios */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.award-item {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 15px;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.award-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.award-item h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.award-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.value-item {
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 15px;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.3);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.value-item h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.value-item h4 i {
    font-size: 1.1rem;
    color: var(--sevilla-red);
}

.value-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========== ESTILOS PARA PÁGINA QR ========== */
.qr-generator-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    border-radius: 25px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.qr-generator-section h3 {
    text-align: center;
    color: var(--sevilla-red-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.qr-generator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-input-section .input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qr-input-section label {
    color: var(--sevilla-red-dark);
    font-weight: 700;
    font-size: 1rem;
}

.qr-input-section input,
.qr-input-section select {
    padding: 1rem;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 15px;
    background: #FFFFFF;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.qr-input-section input:focus,
.qr-input-section select:focus {
    outline: none;
    border-color: var(--sevilla-red);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3);
    background: #EEF3FF;
}

.qr-input-section input[type="color"] {
    height: 50px;
    padding: 0.5rem;
    cursor: pointer;
}

.url-info {
    font-size: 0.9rem;
    color: var(--sevilla-red);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.url-info i {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.qr-preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.qr-preview {
    width: 300px;
    height: 300px;
    background: var(--color-surface, #ffffff);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb, 44, 90, 160), 0.3);
    border: 3px solid var(--color-primary, #2c5aa0) !important;
    border-color: var(--color-primary, #2c5aa0) !important;
    padding: 1rem;
    box-sizing: border-box;
}

#qr-code-placeholder {
    text-align: center;
    color: var(--color-text-primary, #2c3e50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#qr-code-placeholder i {
    font-size: 4rem;
    color: var(--color-primary, #2c5aa0);
    margin-bottom: 0;
}

#qr-code-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Botón de descargar QR */
.qr-share-button {
    padding: 12px 24px;
    background: var(--color-primary, #2c5aa0);
    color: var(--color-surface, #ffffff);
    border: 2px solid var(--color-primary-dark, #1e3d73);
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 44, 90, 160), 0.4);
    margin-top: 1rem;
}

.qr-share-button:hover:not(:disabled) {
    background: var(--color-primary-dark, #1e3d73);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb, 44, 90, 160), 0.5);
}

.qr-share-button:disabled {
    background: #9e9e9e;
    border-color: #616161;
    opacity: 0.6;
    cursor: not-allowed;
}

.qr-share-button i {
    font-size: 1.1rem;
}

.qr-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Plantillas predefinidas */
.qr-templates-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    border-radius: 25px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.qr-templates-section h3 {
    text-align: center;
    color: var(--gold-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.template-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    transition: all 0.3s ease;
}

.template-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--sevilla-red);
}

.template-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.template-item h4 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.template-item p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Consejos de uso */
.qr-tips-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%);
    border-radius: 25px;
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}

.qr-tips-section h3 {
    text-align: center;
    color: var(--gold-primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--sevilla-red);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-item h4 {
    color: var(--sevilla-red-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tip-item p {
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}

/* ========== SECCIONES ADICIONALES CON FONDO CLARO ========== */
.services-section, .specialties-section, .cta-section {
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-surface, #FFFFFF) 0%, var(--color-background, #f8f9fa) 50%, var(--color-surface, #FFFFFF) 100%);
    border-radius: 20px;
    border: 2px solid rgba(var(--primary-rgb, 44, 90, 160), 0.3);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(var(--primary-rgb, 44, 90, 160), 0.15);
}

.services-section h3, .specialties-section h3, .cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--color-primary, #2c5aa0);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(var(--primary-rgb, 44, 90, 160), 0.2);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 15px;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
    background: linear-gradient(135deg, #FFFFFF 0%, #EEF3FF 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--sevilla-red);
}

.service-card h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.specialty-item {
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(var(--accent-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.1);
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-rgb), 0.25);
    border-color: var(--sevilla-red);
}

.specialty-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.specialty-content {
    padding: 1.5rem;
}

.specialty-content h4 {
    color: var(--sevilla-red-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.specialty-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.price {
    display: inline-block;
    background: linear-gradient(135deg, var(--sevilla-red) 0%, var(--sevilla-red-dark) 100%);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--sevilla-red-dark);
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.3);
}

.cta-section {
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary, #2c5aa0), var(--color-primary-light, #4a7bc8), var(--color-primary, #2c5aa0));
    border-radius: 25px 25px 0 0;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb, 44, 90, 160), 0.4);
}

.cta-section p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sevilla-red), var(--sevilla-red-dark));
    border: 2px solid var(--sevilla-red-dark);
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--sevilla-red-dark), var(--sevilla-red));
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5);
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #FFFFFF;
    border: 2px solid var(--sevilla-red);
    color: var(--sevilla-red-dark);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--sevilla-red);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5);
}

/* ========== FOOTER ELEGANTE CON FONDO CLARO ========== */
.footer {
    background: linear-gradient(135deg, #1e3d73 0%, #2c5aa0 50%, #1e3d73 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding: 2rem 0 1rem;
    box-shadow: 0 -4px 20px rgba(30, 61, 115, 0.3);
    color: #FFFFFF;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap; /* No wrap - mantener en una línea */
}

.footer-section {
    text-align: center;
    min-width: auto;
    flex: 0 1 auto; /* No crecer, no encoger */
}

/* Responsive - Permitir wrap solo en móviles */
@media (max-width: 768px) {
    .footer-content {
        flex-wrap: wrap; /* Permitir wrap en móviles */
        gap: 2rem;
    }
}

.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section p {
    color: #FFFFFF;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.95;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: #FFFFFF;
}

.footer-section ul li a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-section ul li a:hover {
    color: #f0e6d2 !important;
    border-bottom-color: #f0e6d2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section i {
    color: #FFFFFF;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #f0e6d2;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    color: #FFFFFF;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: 0.85rem;
    opacity: 0.95;
}

.footer-bottom a {
    color: #FFFFFF !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #f0e6d2 !important;
    border-bottom-color: #f0e6d2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== CHAT MEJORADO ========== */
.chat-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    /* Los colores del borde ahora los maneja theme-loader.php dinámicamente con máxima prioridad */
    /* border: 1px solid var(--panel-border); */
    backdrop-filter: blur(8px);
    margin: 2rem 0;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(90deg, var(--burgundy), var(--gold-primary));
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--dark-elegant);
}

.chat-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.chat-header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.chat-window {
    margin: 0;
    backdrop-filter: blur(12px);
    background: var(--panel);
    border: none;
    border-radius: 0;
    height: 60vh;
    overflow: auto;
    padding: 20px;
    box-shadow: none;
    position: relative;
}

/* Reglas de chat movidas a chat_improved.css para evitar conflictos */

.meta {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 8px;
    text-align: center;
}

/* ========== FORMULARIO DE CHAT MEJORADO ========== */
.chat-form {
    display: flex;
    gap: 15px;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
}

.input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--gold-primary);
    font-size: 1.1rem;
    z-index: 2;
}

.chat-form input {
    flex: 1;
    padding: 16px 20px 16px 50px;
    border-radius: 25px;
    border: 2px solid #262d3a;
    background: #0e131b;
    color: var(--text);
    outline: none;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.chat-form input:focus {
    border-color: var(--sevilla-red);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
    transform: translateY(-1px);
}

.btn-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chat-options {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* ========== AYUDA RÁPIDA ========== */
.quick-help {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(8px);
}

.quick-help h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.quick-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.quick-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid var(--panel-border);
    border-radius: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

.quick-question:hover {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--sevilla-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.2);
}

.quick-question i {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.quick-question span {
    text-align: center;
    font-weight: 500;
}

/* ========== BOTONES ELEGANTES ========== */
button, .btn {
    position: relative;
    padding: 12px 24px;
    border-radius: 25px;
    border: 2px solid rgba(var(--accent-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.1));
    color: var(--text);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover, .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    border-color: var(--sevilla-red);
}

button:active, .btn:active {
    transform: translateY(-1px);
}

button:disabled, .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========== CHIPS Y TOGGLE ELEGANTES ========== */
.small {
    font-size: 12px;
    color: var(--text-dark);
    padding: 8px 16px;
    background: var(--chip);
    border-radius: 20px;
    border: 1px solid #212733;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.small:hover {
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--sevilla-red);
}

.small input[type="checkbox"] {
    accent-color: var(--sevilla-red);
    transform: scale(1.2);
}

/* ========== TYPEWRITER CARET ========== */
.typing {
    border-right: 3px solid var(--accent);
    animation: caret 0.8s steps(1) infinite;
}

@keyframes caret {
    50% {
        border-color: transparent;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .menu-section {
        margin: 1.5rem auto;
        padding: 1rem;
        width: 98%;
        box-sizing: border-box;
    }
    
    .menu-grid {
        gap: 1rem;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Estilos unificados para todos los items en móviles pequeños */
    .menu-section .menu-item,
    .menu-section .wine-item {
        padding: 1.2rem !important;
        min-width: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .menu-section .menu-item-header {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .menu-section .menu-item-header h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }
    
    .menu-section .menu-item p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
    }
    
    .menu-day {
        padding: 0.8rem 0.3rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .menu-day .menu-grid {
        width: calc(100% - 0.6rem) !important;
        max-width: calc(100% - 0.6rem) !important;
        margin: 0.8rem auto 0 !important;
    }
    
    .menu-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .wine-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Dispositivos móviles medianos (480px y menos) */
@media (max-width: 480px) {
    .logo h1 {
        font-size: clamp(1.2rem, 4vw, 1.4rem);
    }
    
    .logo .mark {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    header .container {
        padding: 16px 18px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        gap: 14px;
        flex: 1;
        justify-content: center;
    }
}

/* Dispositivos móviles pequeños (370px y menos) */
@media (max-width: 370px) {
    .logo h1 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
    }
    
    .logo .mark {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    header .container {
        padding: 14px 16px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        gap: 12px;
        flex: 1;
        justify-content: center;
    }
}

/* Dispositivos móviles muy pequeños (335px y menos) */
@media (max-width: 335px) {
    .logo h1 {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
    
    .logo .mark {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    header .container {
        padding: 12px 14px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        gap: 10px;
        flex: 1;
        justify-content: center;
    }
}

/* Dispositivos ultra pequeños (300px y menos) */
@media (max-width: 300px) {
    .logo h1 {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
    }
    
    .logo .mark {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    header .container {
        padding: 10px 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        gap: 8px;
        flex: 1;
        justify-content: center;
    }
}



/* ========== RESPONSIVIDAD ========== */

/* About section responsive */
@media (max-width: 768px) {
    .about-section {
        margin: 2rem auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1rem;
    }
    
    .member-photo img {
        width: 120px;
        height: 120px;
    }
    
    .member-info {
        text-align: center;
        width: 100%;
    }
    
    .member-info h4 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .member-role {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .member-bio {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }
    
    .member-achievements {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .achievement {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-section, .specialties-section, .cta-section {
        margin: 2rem auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .services-grid, .specialties-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        margin: 1.5rem auto;
        padding: 1rem;
        width: 98%;
    }
    
    .about-content {
        gap: 1rem;
    }
    
    .philosophy-grid {
        gap: 1rem;
    }
    
    .team-grid {
        gap: 1rem;
    }
    
    .team-member {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .member-photo img {
        width: 100px;
        height: 100px;
    }
    
    .member-info h4 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .member-role {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .member-achievements {
        gap: 0.6rem;
    }
    
    .achievement {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .values-grid {
        gap: 1rem;
    }
    
    .services-section, .specialties-section, .cta-section {
        margin: 1.5rem auto;
        padding: 1rem;
        width: 98%;
    }
    
    .services-grid, .specialties-grid {
        gap: 1rem;
    }
}

/* Hero responsive */
@media (max-width: 768px) {
    .hero {
        margin: 2rem auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .hero h2 {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .hero p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero {
        margin: 1.5rem auto;
        padding: 1rem;
        width: 98%;
    }
    
    .hero h2 {
        font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .team-member {
        padding: 1rem;
        gap: 0.6rem;
    }
    
    .member-photo img {
        width: 90px;
        height: 90px;
    }
    
    .member-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .member-role {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .member-bio {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }
    
    .member-achievements {
        gap: 0.5rem;
    }
    
    .achievement {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}
/* ========== ESTILOS PARA PÁGINA DE COOKIES ========== */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    padding: 15px;
    background: rgba(18, 20, 26, 0.6);
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
}

.contact-item i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-item strong {
    color: var(--sevilla-red);
}

/* Footer con fondo elegante azul */
.footer {
    background: linear-gradient(135deg, #1e3d73 0%, #2c5aa0 50%, #1e3d73 100%);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
    padding: 3rem 0 1rem;
    color: #FFFFFF;
    box-shadow: 0 -4px 20px rgba(30, 61, 115, 0.3);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap; /* No wrap - mantener en una línea */
}

/* Responsive - Grid en móviles */
@media (max-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section p {
    color: #FFFFFF;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.footer-section ul li a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-section ul li a:hover {
    color: #f0e6d2 !important;
    border-bottom-color: #f0e6d2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #f0e6d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--accent-rgb), 0.2);
    color: var(--text-dark);
}

/* Botón de scroll hacia arriba */
.scroll-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 1) 0%, rgba(104, 165, 255, 0.95) 100%);
    border: 1px solid rgba(30, 61, 115, 0.55);
    color: #ffffff;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease, visibility 0.3s ease, background 0.35s ease, border-color 0.35s ease;
    z-index: 1200;
    box-shadow: 0 18px 32px -12px rgba(23, 48, 91, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.scroll-to-top i {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
}

.scroll-to-top:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 24px 46px -18px rgba(17, 36, 72, 0.6);
    background: linear-gradient(135deg, rgba(30, 61, 115, 1) 0%, rgba(76, 135, 215, 0.98) 100%);
    border-color: rgba(30, 61, 115, 0.65);
}

.scroll-to-top:hover::after {
    opacity: 1;
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 12px 24px -12px rgba(17, 36, 72, 0.55);
}

.scroll-to-top:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 135, 215, 0.4), 0 24px 46px -18px rgba(17, 36, 72, 0.6);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .scroll-to-top {
        bottom: 22px;
        right: 22px;
        width: 56px;
        height: 48px;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ========== RESPONSIVE DESIGN PARA MENÚ HAMBURGUESA ========== */

/* TEMPORAL: Mostrar menú hamburguesa en todas las pantallas para pruebas */
.hamburger-container {
    display: flex !important;
}

/* Tablets y dispositivos medianos */
@media (max-width: 768px) {
    /* Ocultar navegación normal en móviles */
    header nav {
        display: none !important;
    }
    
    /* Mostrar contenedor del menú hamburguesa */
    .hamburger-container {
        display: flex !important;
    }
    
    /* Ajustar header para móviles */
    header .container {
        padding: 15px 20px;
    }
    
    .logo h1 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }
    
    .logo .mark {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Ajustes responsive para secciones de menú */
    .menu-section {
        margin: 2rem auto;
        padding: 1.5rem;
        width: 95%;
        box-sizing: border-box;
    }
    
    .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Estilos unificados para todos los items en tablets */
    .menu-section .menu-item,
    .menu-section .wine-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        min-width: auto !important;
        padding: 1.4rem !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    .menu-section .menu-item-header {
        flex-direction: column !important;
        gap: 0.8rem !important;
        margin-bottom: 1.2rem !important;
        text-align: center !important;
    }
    
    .menu-section .menu-item-header h4 {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
    }
    
    .menu-section .menu-item p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .menu-day {
        padding: 0.9rem 0.4rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .menu-day .menu-grid {
        width: calc(100% - 0.8rem) !important;
        max-width: calc(100% - 0.8rem) !important;
        margin: 1rem auto 0 !important;
    }
    
    .menu-item {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wine-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .menu-day {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
    }
    

}

/* ========== ESTILOS ESPECÍFICOS PARA CENTRADO PERFECTO ========== */
/* Forzar centrado de todos los elementos en menu-section */
.menu-section * {
    text-align: center;
}



.menu-section .menu-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin: 1rem auto 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-items: center !important;
    align-items: start !important;
    place-items: center !important;
    justify-content: center !important;
    align-content: start !important;
    /* Compatibilidad cross-browser para grid */
    display: -ms-grid !important;
    display: -webkit-grid !important;
    /* Fallback para navegadores que no soportan grid */
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
}

/* Tablets en horizontal - diseño de 2 columnas (768px a 1199px) */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets en vertical - diseño de 2 columnas (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets grandes en vertical - diseño de 2 columnas (1025px a 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) and (orientation: portrait) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets pequeños en vertical - diseño de 2 columnas (600px a 767px) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles en vertical - diseño de 1 columna (hasta 599px) */
@media (max-width: 599px) and (orientation: portrait) {
    .menu-section .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles en horizontal - diseño de 2 columnas (hasta 599px) */
@media (max-width: 599px) and (orientation: landscape) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles medianos en horizontal - diseño de 2 columnas (600px a 767px) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: landscape) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1.2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1.2rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles pequeños en vertical - diseño de 1 columna (hasta 480px) */
@media (max-width: 480px) and (orientation: portrait) {
    .menu-section .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles pequeños en horizontal - diseño de 2 columnas (hasta 480px) */
@media (max-width: 480px) and (orientation: landscape) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.6rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
}

/* Pantallas grandes - diseño de 3 columnas */
@media (min-width: 1200px) {
    /* Regla más específica para asegurar que se aplique */
    .menu-section .menu-grid,
    .menu-section > .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        max-width: 1200px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        max-width: 1200px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        max-width: 1200px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
}

/* Pantallas muy grandes (4K, etc.) - mantener diseño de 3 columnas */
@media (min-width: 1920px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
        max-width: 1400px !important;
        margin: 3rem auto 0 !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
        max-width: 1400px !important;
        margin: 1.5rem auto 0 !important;
    }
    
    .menu-section .wine-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3rem !important;
        max-width: 1400px !important;
        margin: 3rem auto 0 !important;
    }
}

/* ========== BOTÓN UP GASTRONÓMICO ========== */
.up-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--burgundy) 100%);
    border: 2px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.up-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.up-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(var(--accent-rgb), 0.5);
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--gold-primary) 100%);
    border-color: var(--sevilla-red);
}

.up-button:active {
    transform: translateY(-2px) scale(1.05);
}

.up-button i {
    color: white;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.up-button:hover i {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Animación de pulso para llamar la atención */
.up-button::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--burgundy));
    opacity: 0;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .up-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .up-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .up-button {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
    
    .up-button i {
        font-size: 18px;
    }
}

/* ========== REGLA FINAL PARA FORZAR 3 COLUMNAS EN PANTALLAS GRANDES ========== */
/* Esta regla tiene máxima especificidad para asegurar que se aplique */
@media (min-width: 1200px) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        max-width: 1200px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
        max-width: 1200px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* ========== ESTILOS UNIFICADOS PARA TODOS LOS ITEMS ========== */
/* Regla más específica para eliminar cualquier conflicto */
.menu-section .menu-item,
.menu-section .wine-item,
.menu-day .menu-item {
    background: #FFFFFF !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    border: 1px solid var(--panel-border) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    margin: 0 auto !important;
    justify-self: center !important;
    align-self: start !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    /* Compatibilidad cross-browser */
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    -webkit-border-radius: 15px !important;
    border-radius: 15px !important;
    /* Asegurar que no haya desbordamientos */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    /* Forzar medidas uniformes */
    flex: 1 1 auto !important;
    flex-basis: auto !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
}

.menu-section .menu-item-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    gap: 1rem !important;
    width: 100% !important;
    text-align: center !important;
}

.menu-section .menu-item p {
    color: var(--muted) !important;
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    width: 100% !important;
}

.menu-section .allergens {
    font-size: 0.9rem !important;
    color: var(--gold-light) !important;
    font-style: italic !important;
    padding: 8px 12px !important;
    background: rgba(var(--accent-rgb), 0.1) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(var(--accent-rgb), 0.2) !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* ========== REGLAS DE ESPECIFICIDAD MÁXIMA PARA RESPONSIVE ========== */

/* Regla general para móviles en horizontal - 2 columnas */
@media (max-width: 767px) and (orientation: landscape) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Regla general para móviles en vertical - 1 columna */
@media (max-width: 767px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets en horizontal - 2 columnas (768px a 1199px) */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets en vertical - 2 columnas (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets grandes en vertical - 2 columnas (1025px a 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
        max-width: 1000px !important;
        margin: 2rem auto 0 !important;
        display: grid !important;
    }
}

/* Tablets pequeños en vertical - 2 columnas (600px a 767px) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles en vertical - 1 columna (hasta 599px) */
@media (max-width: 599px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 1.5rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles en horizontal - 2 columnas (hasta 599px) */
@media (max-width: 599px) and (orientation: landscape) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles medianos en horizontal - 2 columnas (600px a 767px) */
@media (min-width: 600px) and (max-width: 767px) and (orientation: landscape) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1.2rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.2rem !important;
        max-width: 100% !important;
        margin: 1.2rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles pequeños en vertical - 1 columna (hasta 480px) */
@media (max-width: 480px) and (orientation: portrait) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin: 1rem auto 0 !important;
        display: grid !important;
    }
}

/* Móviles pequeños en horizontal - 2 columnas (hasta 480px) */
@media (max-width: 480px) and (orientation: landscape) {
    section.menu-section .menu-grid,
    section.menu-section > div.menu-grid,
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
    
    .menu-day .menu-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.6rem auto 0 !important;
        display: grid !important;
    }
    
    section.menu-section .wine-grid,
    .menu-section .wine-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        max-width: 100% !important;
        margin: 0.8rem auto 0 !important;
        display: grid !important;
    }
}


/* ========== ESTILOS PARA HERO SECTION Y MENÚ HAMBURGUESA ========== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #333;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content li {
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #555;
    transition: all 0.3s ease;
}

.hero-content li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Menú Hamburguesa */
.hamburger-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.hamburger-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hamburger-icon:hover {
    background: white;
    transform: scale(1.1);
}

.hamburger-icon span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.menu-items {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 20px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.hamburger-menu.active .menu-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.menu-link.active {
    background: linear-gradient(135deg, var(--sevilla-red) 0%, var(--sevilla-red-dark) 100%);
    color: white;
}

/* Contenedor principal */
.main-content {
    padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        margin: 10px;
        padding: 30px 15px;
    }
    
    .hero-content ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .hamburger-menu {
        top: 15px;
        right: 15px;
    }
    
    .main-content {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin: 5px;
        padding: 20px 10px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-content li {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
}

/* ========== CORRECCIÓN DE ERRORES DE CSS EXTERNOS ========== */

/* Corregir errores de prefijos -moz obsoletos - Solo para elementos específicos */
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-banner-frame {
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Corregir errores de background-image problemáticos - Solo para elementos específicos */
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-banner-frame {
    background-image: none !important;
}

/* Asegurar que los elementos tengan estilos correctos */
button, input, select, textarea {
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Estilos de botones corregidos para Firefox */
button, input, select, textarea {
    outline: none;
    border: none;
}

/* ========== OCULTAR COMPLETAMENTE EL BANNER DE GOOGLE TRANSLATE ========== */
/* Ocultar todos los elementos del banner de Google Translate */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
iframe[name="google_translate_element"],
iframe[title="Language Translate Widget"],
.goog-te-balloon-frame,
.goog-te-balloon-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Asegurar que el body no tenga padding-top por el traductor */
body {
    top: 0px !important;
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* Ocultar cualquier elemento que Google Translate pueda crear fuera del contenedor */
#google_translate_element:not(.top-translator) {
    display: none !important;
}

/* ========== TRADUCTOR FLOTANTE DISCRETO - ESTILO PORTALES MODERNOS ========== */
/* Mostrar solo el contenedor del traductor cuando está dentro de .top-translator */
.top-translator {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9998; /* Por debajo del menú hamburguesa pero visible */
    background: transparent;
    padding: 0;
    margin: 0;
    display: block;
    width: auto;
    height: auto;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.top-translator #google_translate_element {
    display: block !important;
    width: auto;
    height: auto;
}

/* Estilos para el botón del traductor - estilo moderno y compacto */
.top-translator .goog-te-gadget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 0 !important; /* Ocultar texto por defecto */
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
}

/* Botón compacto estilo portales modernos */
.top-translator .goog-te-gadget-simple {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(44, 90, 160, 0.15) !important;
    border-radius: 20px !important;
    color: #1e3d73 !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    min-width: auto !important;
    max-width: 110px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Hover sutil */
.top-translator .goog-te-gadget-simple:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(44, 90, 160, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Active state */
.top-translator .goog-te-gadget-simple:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Estilos del texto del selector */
.top-translator .goog-te-gadget .goog-te-menu-value {
    color: #1e3d73 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.top-translator .goog-te-gadget .goog-te-menu-value span {
    font-size: 12px !important;
    color: #1e3d73 !important;
}

/* Ocultar icono de flecha si existe */
.top-translator .goog-te-gadget .goog-te-menu-value::after {
    content: '🌐' !important;
    font-size: 14px !important;
    margin-left: 4px !important;
}

/* Responsive - móviles */
@media (max-width: 768px) {
    .top-translator {
        top: 12px;
        right: 12px;
    }
    
    .top-translator .goog-te-gadget-simple {
        font-size: 11px !important;
        padding: 5px 9px !important;
        max-width: 95px !important;
        border-radius: 18px !important;
    }
    
    .top-translator .goog-te-gadget .goog-te-menu-value {
        font-size: 11px !important;
    }
    
    .top-translator .goog-te-gadget .goog-te-menu-value span {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .top-translator {
        top: 10px;
        right: 10px;
    }
    
    .top-translator .goog-te-gadget-simple {
        font-size: 10px !important;
        padding: 4px 8px !important;
        max-width: 85px !important;
        border-radius: 16px !important;
    }
    
    .top-translator .goog-te-gadget .goog-te-menu-value {
        font-size: 10px !important;
    }
    
    .top-translator .goog-te-gadget .goog-te-menu-value span {
        font-size: 10px !important;
    }
}

/* Desktop - tamaño óptimo */
@media (min-width: 1025px) {
    .top-translator {
        top: 18px;
        right: 18px;
    }
    
    .top-translator .goog-te-gadget-simple {
        font-size: 13px !important;
        padding: 7px 12px !important;
        max-width: 120px !important;
    }
}


