/* Medina's Meat Shop & Grill - Premium Styling System */

/* ----------------------------------------------------
   1. VARIABLES & SYSTEM TOKENS
   ---------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-darkest: #070707;
    --color-bg-darker: #0d0d0d;
    --color-bg-dark: #121212;
    --color-bg-card: rgba(22, 22, 22, 0.7);
    --color-text-light: #ffffff;
    --color-text-muted: #b3b3b3;
    
    /* Accents & Brand Colors */
    --color-primary: #D35400; /* Terracota / Brasa */
    --color-primary-hover: #E67E22; /* Naranja encendido */
    --color-secondary: #FF4500; /* Fuego / Naranja Brasa */
    --color-gold: #D4AF37; /* Dorado sutil */
    --color-gold-hover: #F1C40F; /* Dorado brillante */
    --color-glow: rgba(211, 84, 0, 0.4);
    --color-gold-glow: rgba(212, 175, 55, 0.2);
    
    /* Glassmorphism Defaults */
    --glass-bg: rgba(18, 18, 18, 0.75);
    --glass-border: rgba(212, 175, 55, 0.15);
    --glass-border-hover: rgba(212, 175, 55, 0.5);
    --glass-blur: blur(12px);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transition Times */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Scrollytelling Variables (Mapped via JS) */
    --plate-y: 100px;
    --plate-scale: 0.6;
    --plate-opacity: 0;
    --steak-y: -150px;
    --steak-opacity: 0;
    --garnish-y: 120px;
    --garnish-rotate: -45deg;
    --garnish-opacity: 0;
    --smoke-opacity: 0.1;
}

/* ----------------------------------------------------
   2. BASE STYLES & RESET
   ---------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-darkest);
    color: var(--color-text-light);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ----------------------------------------------------
   3. REUSABLE COMPONENTS & UTILITIES
   ---------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px var(--color-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.6);
}

.btn-outline {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-text-light);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-light);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
}

.section-tag {
    display: inline-block;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 40%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 1.05rem;
}

.section-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-darkest);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    animation: pulseGlow 2s infinite ease-in-out;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px auto;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-gold) 100%);
    animation: loadBar 2s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

.preloader-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ----------------------------------------------------
   4. NAVIGATION / HEADER
   ---------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1;
    color: var(--color-text-light);
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    color: var(--color-gold);
    margin-top: 4px;
    font-weight: 600;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-light);
    transition: var(--transition-fast);
}

/* ----------------------------------------------------
   5. HERO SECTION
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero_grill.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.4) 0%, rgba(7, 7, 7, 0.9) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    background: linear-gradient(180deg, #fff 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.mouse-icon {
    width: 20px;
    height: 35px;
    border: 2px solid var(--color-text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

/* ----------------------------------------------------
   6. CONCEPT SECTION
   ---------------------------------------------------- */
.concept-section {
    background-color: var(--color-bg-darker);
    position: relative;
    overflow: hidden;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-paragraph {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
}

.badge-item i {
    font-size: 1.8rem;
    color: var(--color-gold);
}

.badge-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.concept-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 8px;
    background: var(--color-bg-dark);
}

.img-concept-main {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.image-wrapper:hover .img-concept-main {
    transform: scale(1.02);
}

.floating-overlay-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.floating-overlay-card .card-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
}

.floating-overlay-card .card-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-top: 5px;
    text-align: center;
}

/* ----------------------------------------------------
   7. SCROLLYTELLING SECTION (El Arte del Fuego)
   ---------------------------------------------------- */
.scrolly-section {
    position: relative;
    /* Duración de la animación en scroll */
    height: 300vh; 
    background-color: var(--color-bg-darkest);
}

.scrolly-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolly-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: brightness(0.4);
    z-index: 1;
}

.scrolly-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--color-bg-darkest) 80%);
    z-index: 2;
    pointer-events: none;
}

/* Humo */
.smoke-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(211, 84, 0, 0.08) 0%, transparent 70%);
    z-index: 2;
    opacity: var(--smoke-opacity);
    mix-blend-mode: color-dodge;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Contenedor central de ensamble */
.plate-assembly-container {
    position: relative;
    width: min(80vw, 450px);
    height: min(80vw, 450px);
    z-index: 3;
}

.scrolly-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    will-change: transform, opacity;
}

.scrolly-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9));
}

/* Elemento específicos con variables CSS controladas por JS */
.plate-layer {
    transform: translateY(var(--plate-y)) scale(var(--plate-scale));
    opacity: var(--plate-opacity);
    z-index: 10;
}

.steak-layer {
    transform: translateY(var(--steak-y));
    opacity: var(--steak-opacity);
    z-index: 11;
}

.steak-layer img {
    /* Brillo de calor a la carne */
    filter: drop-shadow(0 0 15px rgba(211, 84, 0, 0.4)) drop-shadow(0 20px 40px rgba(0,0,0,0.9));
}

.garnish-layer {
    transform: translateY(var(--garnish-y)) rotate(var(--garnish-rotate));
    opacity: var(--garnish-opacity);
    z-index: 12;
}

/* Textos Narrativos */
.scrolly-narrative {
    position: absolute;
    right: 8%;
    width: 320px;
    height: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.narrative-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.narrative-step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.narrative-step h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.narrative-step p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Indicador de progreso de scroll */
.scrolly-progress-bar-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    z-index: 10;
}

.scrolly-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.1s ease;
}

/* ----------------------------------------------------
   8. INTERACTIVE MENU SECTION
   ---------------------------------------------------- */
.menu-section {
    background-color: var(--color-bg-dark);
    position: relative;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-text-light);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
    color: var(--color-bg-darkest);
    background: linear-gradient(135deg, var(--color-gold) 0%, #f39c12 100%);
    border-color: transparent;
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.tab-btn i {
    font-size: 1.1rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjetas del Menú con Glassmorphic */
.menu-item-card {
    background: var(--color-bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    display: none; /* Se activa con la clase active por JS */
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.menu-item-card.active {
    display: flex;
    animation: scaleCard 0.5s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item-card:hover {
    transform: translateY(-8px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(211, 84, 0, 0.15);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 1px;
}

.card-badge.premium {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8860b 100%);
    color: var(--color-bg-darkest);
}

.card-badge.spicy {
    background: #c0392b;
}

.card-image-holder {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.menu-item-card:hover .menu-card-img {
    transform: scale(1.08);
}

/* Efecto brillo brasa especial para la carne */
.meat-glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 84, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 2;
}

.menu-item-card:hover .meat-glow-effect {
    opacity: 1;
    animation: pulseEmbers 3s infinite;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-gold);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.card-rating span {
    color: var(--color-text-muted);
    margin-left: 5px;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.card-description {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-light);
    font-family: var(--font-heading);
}

.btn-add-order {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

.btn-add-order:hover {
    background: var(--color-gold);
    color: var(--color-bg-darkest);
    border-color: var(--color-gold);
    transform: scale(1.1);
}

/* ----------------------------------------------------
   9. FLOATING ORDER BAR (Future e-commerce scalable)
   ---------------------------------------------------- */
.order-floating-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 150px);
    width: 90%;
    max-width: 600px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(211, 84, 0, 0.2);
    z-index: 990;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.order-floating-bar.visible {
    transform: translate(-50%, 0);
}

.order-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-info i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.order-info span {
    display: block;
    font-size: 0.85rem;
}

.order-info #order-count {
    font-weight: 600;
    color: var(--color-text-light);
}

.order-info .order-total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

.order-actions {
    display: flex;
    gap: 10px;
}

/* ----------------------------------------------------
   10. CONTACT & MAP SECTION
   ---------------------------------------------------- */
.contact-section {
    background-color: var(--color-bg-darkest);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-detail-list {
    margin: 45px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.3rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.detail-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.detail-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.social-icon:hover {
    color: var(--color-bg-darkest);
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

/* Mapa Estilizado Oscuro */
.contact-map {
    position: relative;
}

.map-placeholder-container {
    height: 450px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.8);
}

.map-bg-texture {
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(18, 18, 18, 0.3) 10%, var(--color-bg-darker) 100%), 
                linear-gradient(rgba(211, 84, 0, 0.05) 1px, transparent 1px) 0 0 / 20px 20px,
                linear-gradient(90deg, rgba(211, 84, 0, 0.05) 1px, transparent 1px) 0 0 / 20px 20px;
    background-color: #0b0b0b;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background: rgba(7, 7, 7, 0.5);
}

.map-pin-pulse {
    font-size: 3rem;
    color: var(--color-primary);
    animation: pinFloat 2s infinite ease-in-out;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.map-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    max-width: 280px;
}

.map-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 5px;
}

.map-card p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

/* ----------------------------------------------------
   11. FOOTER
   ---------------------------------------------------- */
.footer {
    background-color: var(--color-bg-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    letter-spacing: 6px;
    background: linear-gradient(180deg, #fff 40%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-weight: 900;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--color-text-light);
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 35px auto;
}

.footer-copy {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.footer-dev-credit {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.5px;
}

.footer-dev-credit a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-dev-credit a:hover {
    color: var(--color-text-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ----------------------------------------------------
   12. WIDGET DE CHATBOT (ASISTENTE CONVERSACIONAL)
   ---------------------------------------------------- */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.4), 0 0 0 0 rgba(211, 84, 0, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 25px rgba(211, 84, 0, 0.6);
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    animation: chatPulse 2s infinite;
    pointer-events: none;
}

.chat-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--color-gold);
    color: var(--color-bg-darkest);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-bg-darkest);
}

/* Contenedor ventana de chat */
.chatbox {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 520px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(211, 84, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbox.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbox-header {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, rgba(211, 84, 0, 0.15) 100%);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chef-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    position: relative;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-bg-darkest);
}

.status-indicator.online {
    background-color: #2ecc71;
}

.chef-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.chef-info p {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.chat-close-btn {
    margin-left: auto;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.chat-close-btn:hover {
    color: var(--color-text-light);
}

/* Cuerpo de Chat */
.chatbox-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.message-bot {
    align-self: flex-start;
}

.message-user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.message-bot .msg-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-light);
    border-top-left-radius: 0;
}

.message-user .msg-bubble {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d35400 100%);
    color: var(--color-text-light);
    border-top-right-radius: 0;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.message-user .msg-time {
    align-self: flex-end;
}

/* Sugerencias en chat */
.chat-suggestions {
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    -ms-overflow-style: none;  /* Ocultar scroll en IE */
    scrollbar-width: none;  /* Ocultar scroll en Firefox */
    flex-shrink: 0;
}

.chat-suggestions::-webkit-scrollbar {
    display: none; /* Ocultar scroll en Chrome */
}

.suggest-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.suggest-btn:hover {
    color: var(--color-gold);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

/* Resumen del pedido en Chat */
.chat-order-summary {
    background: rgba(211, 84, 0, 0.08);
    border-top: 1px solid rgba(211, 84, 0, 0.2);
    border-bottom: 1px solid rgba(211, 84, 0, 0.2);
    padding: 15px 20px;
}

.chat-order-summary h5 {
    font-size: 0.85rem;
    color: var(--color-gold);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.summary-items {
    font-size: 0.8rem;
    max-height: 80px;
    overflow-y: auto;
}

.summary-item-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.summary-total {
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: right;
}

/* Input del Chat */
.chatbox-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
    background: var(--color-bg-dark);
    flex-shrink: 0;
}

.chatbox-footer input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 10px 15px;
    color: var(--color-text-light);
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-fast);
}

.chatbox-footer input:focus {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
}

.chatbox-footer button {
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: var(--color-primary);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.chatbox-footer button:hover {
    background: var(--color-primary-hover);
    transform: scale(1.05);
}

/* ----------------------------------------------------
   13. ANIMATIONS KEYS
   ---------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loadBar {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(212,175,55,0.4)); opacity: 0.8; }
    50% { filter: drop-shadow(0 0 15px rgba(212,175,55,0.8)); opacity: 1; }
}

@keyframes scrollMouse {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes scaleCard {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulseEmbers {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes pinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes chatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(211, 84, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 84, 0, 0);
    }
}

/* ----------------------------------------------------
   14. MEDIA QUERIES (MOBILE FIRST COMPLIANT)
   ---------------------------------------------------- */

/* TABLET LAYOUTS (< 1024px) */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concept-visual {
        order: -1;
    }
    
    .floating-overlay-card {
        bottom: -15px;
        left: 15px;
        padding: 15px 25px;
    }
    
    .scrolly-narrative {
        right: 5%;
        width: 280px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* MOBILE LAYOUTS (< 768px) */
@media screen and (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg-darkest);
        padding: 40px;
        border-top: 1px solid rgba(255,255,255,0.05);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-nav {
        display: none; /* Se oculta en nav para móviles */
    }
    
    /* Toggle active animation */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }

    /* Scrollytelling on Mobile:
       Para pantallas móviles el scrollytelling se simplifica para
       evitar problemas de rendimiento. El plato se posiciona estático
       arriba y el texto fluye de forma natural debajo o se reduce el sticky. */
    .scrolly-sticky {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        height: 100vh;
    }

    .plate-assembly-container {
        width: 250px;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .scrolly-narrative {
        position: relative;
        right: 0;
        width: 85%;
        margin: 0 auto;
        text-align: center;
    }
    
    .narrative-step.active {
        position: relative;
    }
    
    .narrative-step h3 {
        font-size: 1.4rem;
    }
    
    .scrolly-progress-bar-container {
        bottom: 20px;
        width: 180px;
    }

    .menu-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .chatbox {
        width: calc(100vw - 40px);
        height: 480px;
        right: -10px;
        bottom: 75px;
    }
    
    .order-floating-bar {
        bottom: 20px;
        padding: 10px 20px;
    }
    
    .order-info .order-total {
        font-size: 0.95rem;
    }
    
    .map-placeholder-container {
        height: 350px;
    }
}

/* ==========================================
   15. PANEL CONFIGURADOR DE PEDIDO INTERACTIVO
   ========================================== */
.order-configurator-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 650px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--color-primary);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-configurator-panel.open {
    transform: translateX(0);
}

.configurator-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, var(--color-bg-dark) 0%, rgba(211, 84, 0, 0.1) 100%);
    flex-shrink: 0;
}

.configurator-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.configurator-header h3 i {
    color: var(--color-primary);
}

.close-configurator-btn {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.close-configurator-btn:hover {
    color: var(--color-text-light);
    transform: scale(1.1);
}

.configurator-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.config-step-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-badge {
    background: var(--color-primary);
    color: var(--color-text-light);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Columna de Menú */
.configurator-menu-section {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 25px;
}

.configurator-cat-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 20px 0 10px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.config-item-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.config-item-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
}

.config-item-info {
    flex-grow: 1;
    margin-right: 15px;
}

.config-item-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.config-item-price {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
}

/* Término de la carne */
.beef-term-selector {
    margin-top: 8px;
    font-size: 0.75rem;
}

.beef-term-selector label {
    color: var(--color-text-muted);
    margin-right: 5px;
}

.beef-term-selector select {
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    outline: none;
}

.beef-term-selector select:focus {
    border-color: var(--color-gold);
}

/* Controles de Cantidad */
.config-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.qty-val {
    font-size: 0.95rem;
    font-weight: 700;
    width: 15px;
    text-align: center;
}

/* Columna Checkout */
.checkout-form {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Toggle de Delivery / Local */
.service-toggle {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.service-toggle-btn {
    flex-grow: 1;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-toggle-btn.active {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.service-toggle-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

/* Resumen del Configurador */
.configurator-summary {
    background: rgba(211, 84, 0, 0.05);
    border: 1px solid rgba(211, 84, 0, 0.15);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
}

.empty-summary-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

.summary-list {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.summary-total-line {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 1px solid rgba(211, 84, 0, 0.2);
    padding-top: 10px;
    color: var(--color-text-light);
}

.summary-total-line #configurator-total {
    color: var(--color-gold);
}

.btn-submit-order {
    width: 100%;
    background: #2ecc71;
    border-color: #2ecc71;
    color: var(--color-text-light);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-submit-order:hover {
    background: #27ae60;
    border-color: #27ae60;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

/* RESPONSIVIDAD DEL CONFIGURADOR */
@media screen and (max-width: 768px) {
    .order-configurator-panel {
        width: 100%;
    }
    
    .configurator-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .configurator-menu-section {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 20px;
    }
}

/* ====================================================
   9. SECCIÓN PLATOS DESTACADOS (Style Gallery4)
   ==================================================== */
.featured-section {
    background-color: var(--color-bg-darkest);
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.featured-title-area {
    display: flex;
    flex-direction: column;
}

.featured-title-area .section-title {
    margin-bottom: 12px;
}

.featured-title-area .section-subtitle {
    margin: 0;
    text-align: left;
}

.featured-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.carousel-control-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.carousel-control-btn:hover:not(:disabled) {
    background: var(--color-gold);
    color: var(--color-bg-darkest);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

.carousel-control-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carrusel Wrapper y Tiras */
.featured-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.featured-carousel-wrapper::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.featured-carousel {
    display: flex;
    gap: 24px;
    padding: 10px 4px;
    width: max-content;
}

/* Tarjeta Destacada (Gallery4 Style) */
.gallery-card {
    position: relative;
    width: 340px;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(7, 7, 7, 0) 0%, 
        rgba(7, 7, 7, 0.3) 40%, 
        rgba(7, 7, 7, 0.8) 75%, 
        #070707 100%
    );
    z-index: 2;
    mix-blend-mode: multiply;
}

.gallery-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.gallery-card-badge {
    align-self: flex-start;
    background: var(--color-primary);
    color: var(--color-text-light);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.gallery-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 10px;
    line-height: 1.3;
}

.gallery-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-card-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gold);
}

/* Hovers de la Tarjeta */
.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(211, 84, 0, 0.3);
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.08);
}

/* Indicadores Dots */
.featured-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.featured-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    cursor: pointer;
}

.featured-dots .dot.active {
    background: var(--color-gold);
    width: 24px;
    border-radius: 4px;
}

/* Responsividad de Platos Destacados */
@media screen and (max-width: 1024px) {
    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .featured-controls {
        align-self: flex-end;
    }
}

@media screen and (max-width: 768px) {
    .featured-section {
        padding: 60px 0;
    }
    
    .gallery-card {
        width: 290px;
        height: 420px;
    }
    
    .gallery-card-content {
        padding: 20px;
    }
    
    .gallery-card-title {
        font-size: 1.2rem;
    }
}

/* ====================================================
   10. SCROLL INDICATOR (Indicador de Desplazamiento)
   ==================================================== */
.expansion-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 105; /* Se muestra por encima del video y del fondo */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    opacity: calc(1 - var(--scroll-progress, 0) * 3);
    transition: opacity 0.15s ease-out;
}

.expansion-scroll-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 10px rgba(211, 84, 0, 0.4);
    animation: textGlow 2.5s infinite ease-in-out;
}

.scroll-mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-gold);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 0 5px rgba(211,84,0,0.3);
}

.scroll-mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary-hover);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.6s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-arrow-icon {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    animation: arrowBounce 1.6s infinite ease-in-out;
    margin-top: 2px;
}

/* Animaciones */
@keyframes mouseScroll {
    0% {
        top: 6px;
        opacity: 1;
        height: 6px;
    }
    50% {
        top: 14px;
        opacity: 0.5;
        height: 8px;
    }
    100% {
        top: 22px;
        opacity: 0;
        height: 6px;
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
        color: var(--color-gold);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 10px rgba(211, 84, 0, 0.4);
        color: var(--color-gold);
    }
    50% {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(230, 126, 34, 0.8);
        color: #ffffff;
    }
}

@media screen and (max-width: 768px) {
    .expansion-scroll-indicator {
        bottom: 35px;
    }
    .expansion-scroll-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

/* ====================================================
   11. SCROLL EXPANSION HERO (Intro Inmersiva)
   ==================================================== */
.expansion-hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 2; /* Sits behind main content when unlocked */
    overflow: hidden;
    background-color: var(--color-bg-darkest);
}

.expansion-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Capa de fondo con la foto del local */
.expansion-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--bg-opacity, 1);
    z-index: 1;
    transition: opacity 0.1s linear;
}

.expansion-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(7,7,7,0.7) 100%);
}

/* Ventana de video central que crece */
.expansion-media-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Desktop settings: starts at 300x400 and goes to full viewport */
    --media-width-base: 300px;
    --media-width-target: calc(100vw - 300px);
    --media-height-base: 400px;
    --media-height-target: calc(100vh - 400px);
    --media-radius-base: 16px;
    
    width: calc(var(--media-width-base) + var(--scroll-progress, 0) * var(--media-width-target));
    height: calc(var(--media-height-base) + var(--scroll-progress, 0) * var(--media-height-target));
    border-radius: calc(var(--media-radius-base) * (1 - var(--scroll-progress, 0)));
    
    max-width: 100vw;
    max-height: 100vh;
    border: 1px solid rgba(212, 175, 55, calc(0.3 * (1 - var(--scroll-progress, 0))));
    box-shadow: 0 25px 60px rgba(0, 0, 0, calc(0.8 - var(--scroll-progress, 0) * 0.4));
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.08s cubic-bezier(0.16, 1, 0.3, 1), height 0.08s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.08s ease-out;
}

/* On mobile, adjust dimensions */
@media screen and (max-width: 768px) {
    .expansion-media-frame {
        --media-width-base: 200px;
        --media-width-target: calc(100vw - 200px);
        --media-height-base: 280px;
        --media-height-target: calc(100vh - 280px);
        --media-radius-base: 12px;
    }
}

.expansion-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.expansion-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expansion-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(7,7,7,0.4) 100%);
    z-index: 2;
}

/* Texto flotante dentro del marco del video */
.expansion-subtext-overlay {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
    opacity: calc(1 - var(--scroll-progress, 0) * 2);
    transition: opacity 0.15s ease-out;
    pointer-events: none;
}

.expansion-date {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-gold);
    letter-spacing: 4px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.9);
    font-weight: 600;
}

.expansion-scroll-label {
    font-size: 0.75rem;
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
    animation: pulseLabel 2s infinite ease-in-out;
    font-weight: 500;
}

@keyframes pulseLabel {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
}

/* Título de gran tamaño con mix-blend-difference */
.expansion-title-wrapper {
    position: absolute;
    width: 95%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 4;
    pointer-events: none;
    gap: 20px;
}

.expansion-title-part {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--color-text-light);
    line-height: 1.05;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    transition: transform 0.05s ease-out;
}

.title-left {
    transform: translateX(calc(-1 * var(--scroll-progress, 0) * 150px));
}

.title-right {
    transform: translateX(calc(var(--scroll-progress, 0) * 150px));
    color: var(--color-gold);
}

@media screen and (max-width: 768px) {
    .title-left {
        transform: translateX(calc(-1 * var(--scroll-progress, 0) * 70px));
    }
    .title-right {
        transform: translateX(calc(var(--scroll-progress, 0) * 70px));
    }
}

/* Envoltura de todo el contenido del sitio */
.main-page-content-wrapper {
    position: relative;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10; /* Sits above the fixed hero section */
    background-color: var(--color-bg-darkest);
    margin-top: 100vh; /* Normal scrollable flow offset */
}

.main-page-content-wrapper.active {
    opacity: 1;
    pointer-events: auto;
}

/* Asegurar que el header flote sobre la pantalla de introducción */
.main-header {
    z-index: 150 !important;
}




