/* =========================================================
   PREMIUM 10K UI UPGRADES - LA NONNA RÚSTICA
   ========================================================= */

/* --- NAVEGACIÓN GLOBAL --- */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(0, 48, 73, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease;
}

.global-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.global-nav-logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: white;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.global-nav-logo img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-dorado);
}

.global-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.global-nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--animacion-suave);
    padding: 0.5rem 0;
}

.global-nav-links a:hover, .global-nav-links a.active {
    color: var(--color-dorado);
}

.global-nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-nav-reserva {
    background: var(--color-principal);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--animacion-suave);
}

.btn-nav-reserva:hover {
    background: #a31018;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 18, 31, 0.4);
}

/* Cart Badge on Nav */
.nav-cart-wrapper {
    position: relative;
    cursor: pointer;
    color: white;
}

.nav-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-principal);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
}

/* Mobile Nav Structure */
.mobile-bottom-nav {
    display: none; /* hidden on desktop */
}

/* --- HERO INDEX ($10K) --- */
.hero-10k {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    background: black;
    overflow: hidden;
}

.hero-10k-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: transform 10s ease-out;
    animation: scaleBg 20s infinite alternate;
}

@keyframes scaleBg {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-10k::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0, 48, 73, 0.9) 100%);
}

.hero-10k-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    margin-top: 80px; /* Offset for nav */
}

.hero-10k-content h1 {
    font-family: var(--fuente-titulos);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.8rem;
    font-style: italic;
    font-family: var(--fuente-titulos);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

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

.hero-cta {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    background: var(--color-dorado);
    color: white;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(247, 127, 0, 0.3);
}

.btn-reservar-hero {
    background: rgba(0, 48, 73, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(247, 127, 0, 0.5);
}

@media (max-width: 900px) {
    .hero-10k {
        height: 80vh;
    }
    .hero-10k-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .hero-cta {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

/* --- NOSOTROS (MASONRY GRID) --- */
.nosotros-layout {
    padding: 150px 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nosotros-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.nosotros-text h2 {
    font-family: var(--fuente-titulos);
    font-size: 3.5rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}

.nosotros-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-texto-claro);
    margin-bottom: 1.5rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.mson-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--sombra-fuerte);
}

.mson-item:hover img { transform: scale(1.05); }

.mson-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.mson-item:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.mson-item:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; }
.mson-item:nth-child(3) { grid-column: 8 / 13; grid-row: 2 / 3; }
.mson-item:nth-child(4) { grid-column: 1 / 6; grid-row: 3 / 4; }
.mson-item:nth-child(5) { grid-column: 6 / 13; grid-row: 3 / 4; }

/* --- CONTACTO / RESERVAS (SPLIT SCREEN) --- */
.split-screen {
    display: flex;
    min-height: 100vh;
    padding-top: 83px; /* Offset for nav */
}

.split-left {
    flex: 1;
    background: var(--color-fondo);
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.split-right img, .split-right iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.input-premium {
    width: 100%;
    padding: 1.2rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--fuente-principal);
    transition: var(--animacion-suave);
}

.input-premium:focus {
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.1);
}

.btn-submit-premium {
    background: var(--color-principal);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--animacion-suave);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit-premium:hover {
    background: var(--color-secundario);
}

.section-title-premium {
    font-family: var(--fuente-titulos);
    font-size: 3rem;
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
}

.section-subtitle-premium {
    color: var(--color-principal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

/* =========================================================
   MEDIA QUERIES (Mobile Adaptation)
   ========================================================= */

/* Tablets and below */
@media (max-width: 1024px) {
    .global-nav-links { display: none; }
    
    .hero-10k-content h1 { font-size: 3.5rem; }
    
    .masonry-grid { display: flex; flex-direction: column; }
    .mson-item { height: 300px; grid-column: auto !important; grid-row: auto !important; }

    .split-screen { flex-direction: column; }
    .split-left { padding: 3rem 2rem; }
    .split-right { min-height: 400px; height: 50vh; }
}

/* Mobile specific styling */
@media (max-width: 768px) {
    .global-nav-actions .btn-nav-reserva { display: none; }
    
    body { padding-bottom: 70px; } /* Space for bottom nav */
    
    /* Bottom Navigation Bar replaces main nav functionality */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
        z-index: 3000;
        justify-content: space-around;
        padding: 0.8rem 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        color: var(--color-texto-claro);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 600;
    }

    .bottom-nav-item.active {
        color: var(--color-principal);
    }
    
    .hero-10k-content h1 { font-size: 2.8rem; }
    .hero-10k-content p { font-size: 1.1rem; }
    .hero-cta { padding: 1rem 2rem; font-size: 1rem; }

    /* Adjust cart modal positioning to account for bottom nav */
    .boton-flotante-carrito { bottom: 80px; }
}

/* =========================================================
   NUEVOS MÓDULOS DE ABUNDANCIA VISUAL (INDEX & NOSOTROS)
   ========================================================= */

/* --- SECCIÓN PARALLAX --- */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem 2rem;
}

.parallax-content h2 {
    font-family: var(--fuente-titulos);
    font-size: 4rem;
    color: var(--color-dorado);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.parallax-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* --- GRID DE CARACTERÍSTICAS (BENEFICIOS) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 48, 73, 0.1);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-family: var(--fuente-titulos);
    font-size: 1.8rem;
    color: var(--color-secundario);
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--color-texto-claro);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* --- SECCIÓN OVERLAPPING CARDS (CHEF / HORNO) --- */
.overlap-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.overlap-section.reverse {
    flex-direction: row-reverse;
}

.overlap-img {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.overlap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.overlap-img::after {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, var(--color-dorado) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: -1;
}

.overlap-text {
    flex: 1;
}

.overlap-text h2 {
    font-family: var(--fuente-titulos);
    font-size: 3.5rem;
    color: var(--color-principal);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.overlap-text .subtitle {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secundario);
    margin-bottom: 2rem;
    display: inline-block;
    border-bottom: 2px solid var(--color-dorado);
    padding-bottom: 0.5rem;
}

.overlap-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-texto-claro);
    margin-bottom: 1.5rem;
}

/* --- LÍNEA DE TIEMPO (TIMELINE VERTICAL) --- */
.timeline-container {
    max-width: 800px;
    margin: 4rem auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-dorado);
    top: 0; bottom: 0; left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px; height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--color-principal);
    top: 15px; border-radius: 50%; z-index: 1;
}

.timeline-item.right::after {
    left: -13px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    font-family: var(--fuente-titulos);
    color: var(--color-secundario);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    color: var(--color-principal);
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Animaciones Reveal */
.reveal, .reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}
.reveal.active, .reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   ULTRA-PREMIUM $10K EFFECTS 
   ========================================================= */

/* --- GIANT MARQUEE TEXT --- */
.marquee-container {
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    background: var(--color-secundario);
    color: var(--color-dorado);
    transform: skewY(-2deg);
    margin: 4rem 0;
}
.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 20s linear infinite;
    font-family: var(--fuente-titulos);
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.marquee-content span {
    padding: 0 2rem;
    -webkit-text-stroke: 1px var(--color-dorado);
    color: transparent;
}
.marquee-content span.filled {
    color: var(--color-dorado);
    -webkit-text-stroke: 0;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- STICKY SCROLL SECTION --- */
.sticky-super-container {
    display: flex;
    position: relative;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}
.sticky-left {
    flex: 1;
    position: sticky;
    top: 150px;
    height: fit-content;
    padding-right: 2rem;
}
.sticky-left h2 {
    font-family: var(--fuente-titulos);
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--color-secundario);
    margin-bottom: 2rem;
}
.sticky-left .big-number {
    font-size: 8rem;
    color: rgba(0, 48, 73, 0.05);
    position: absolute;
    top: -50px;
    left: -20px;
    z-index: -1;
    font-family: var(--fuente-titulos);
    font-weight: 800;
}
.sticky-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 15vh;
}
.sticky-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sticky-card:hover { transform: scale(1.02); }
.sticky-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.sticky-card h3 {
    font-size: 2rem;
    font-family: var(--fuente-titulos);
    color: var(--color-principal);
    margin-bottom: 1rem;
}

/* --- CLIP PATH REVEAL --- */
.clip-reveal-container {
    position: relative;
    width: 100%;
    height: 90vh;
    margin: 8rem 0;
    overflow: hidden;
}
.clip-reveal-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.clip-reveal-container.active .clip-reveal-bg {
    clip-path: inset(0 0 0 0);
}
.clip-content {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
}
.clip-content h2 {
    font-size: 5rem;
    font-family: var(--fuente-titulos);
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0; transform: translateY(40px);
    transition: all 1s ease 0.5s;
}
.clip-reveal-container.active .clip-content h2 {
    opacity: 1; transform: translateY(0);
}

/* --- DUAL TONE THEME SPLIT --- */
/* --- ULTRA-PREMIUM PHILOSOPHY SECTION (15X IMPROVEMENT) --- */
.philosophy-ultra-premium {
    background: radial-gradient(circle at 10% 20%, rgba(0, 48, 73, 1) 0%, rgba(0, 20, 30, 1) 90%);
    color: white;
    padding: 10rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative ambient glows */
.philosophy-ultra-premium::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 18, 31, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    z-index: 1;
}

.philosophy-ultra-premium::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 127, 0, 0.08) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
    z-index: 1;
}

.philosophy-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 6rem auto;
    position: relative;
    z-index: 2;
}

.philosophy-header .subtitle {
    color: var(--color-dorado);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.philosophy-title {
    font-family: var(--fuente-titulos);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: linear-gradient(to bottom, #fff 30%, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3rem;
    border-radius: 40px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.philosophy-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.05);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(0,0,0,0.2);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden; /* Para que la imagen no se salga del radio */
}

.philosophy-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-card:hover .philosophy-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: var(--color-dorado);
    box-shadow: 0 15px 40px rgba(247, 127, 0, 0.4);
}

.philosophy-card i, .philosophy-card .emoji {
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.philosophy-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.philosophy-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

.philosophy-card:hover p {
    color: rgba(255,255,255,0.95);
}

/* Dynamic Line Decoration */
.philosophy-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 4px;
    background: var(--color-dorado);
    transition: width 0.6s ease;
}

.philosophy-card:hover::after {
    width: 40%;
}

@media (max-width: 900px) {
    .philosophy-ultra-premium { padding: 6rem 1.5rem; }
    .philosophy-title { font-size: 2.8rem; }
    .philosophy-card { padding: 3rem 2rem; border-radius: 30px; }
    .philosophy-grid { gap: 2rem; }
}


/* Mobile Adjustments for extreme elements */
@media (max-width: 1024px) {
    .overlap-section { flex-direction: column !important; }
    .overlap-img, .overlap-text { width: 100%; flex: auto; }
    
    .timeline-container::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left::after, .timeline-item.right::after { left: 18px; }
    .timeline-item.right { left: 0%; }
    
    .sticky-super-container { flex-direction: column; gap: 2rem; }
    .sticky-left { position: relative; top: 0; }
    .sticky-right { gap: 4rem; }
}

/* =========================================================
   10K MENU LAYOUTS (MEGA DRAWER, SCROLLSPY, 3D CARDS)
   ========================================================= */

/* Cinematic Carousel */
.cinematic-carousel-header {
    height: 60vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}
.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,48,73,0.9));
}
.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}
.carousel-content .tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border: 1px solid var(--color-dorado);
    color: var(--color-dorado);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.carousel-content h2 {
    font-family: var(--fuente-titulos);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* Menu Premium Layout */
.premium-menu-container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 5rem 2rem;
    gap: 3rem;
}


/* Sidebar ScrollSpy */
.menu-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-title {
    font-family: var(--fuente-titulos);
    font-size: 1.5rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}
.scrollspy-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.scrollspy-link {
    text-decoration: none;
    color: var(--color-texto-claro);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radio-pequeno);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}
.scrollspy-link:hover, .scrollspy-link.active {
    color: var(--color-secundario);
    background: rgba(0,48,73,0.03);
    border-left-color: var(--color-principal);
    font-weight: 700;
    transform: translateX(5px);
}

/* Main Area */
.menu-products-area {
    flex-grow: 1;
}
.menu-categoria-title {
    font-size: 2.5rem;
    font-family: var(--fuente-titulos);
    color: var(--color-secundario);
    margin-bottom: 2rem;
    padding-top: 2rem; /* offset for anchor */
    border-bottom: 2px solid rgba(0,48,73,0.1);
}

/* Asymmetric 3D Prod Cards */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.producto-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: none !important;
    background: white;
    position: relative;
    z-index: 1;
}
.producto-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,48,73,0.2) !important;
    z-index: 10;
}
.producto-img-container {
    overflow: visible !important; /* Allow popout */
}
.producto-card:hover .producto-img {
    transform: scale(1.08) translateY(-5px);
    filter: brightness(1.05);
}

/* Mega Drawer Settings */
.mega-drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.mega-drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.mega-drawer {
    position: fixed;
    top: 0; right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--color-secundario);
    color: white;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-drawer.open {
    right: 0;
}

.drawer-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-header h2 {
    font-family: var(--fuente-titulos);
    font-size: 1.8rem;
    color: var(--color-dorado);
}
.close-drawer {
    background: none; border: none; color: white; cursor: pointer;
    transition: transform 0.3s;
}
.close-drawer:hover { transform: rotate(90deg); }

.drawer-main-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
/* Custom scrollbar for dark mega drawer */
.drawer-main-content::-webkit-scrollbar { width: 6px; }
.drawer-main-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }

.empty-drawer {
    text-align: center; color: rgba(255,255,255,0.5); margin-top: 2rem;
}
.drawer-item-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.drawer-item-img {
    width: 70px; height: 70px; border-radius: 10px; object-fit: cover;
}
.drawer-item-details { flex-grow: 1; }
.drawer-item-details h4 { margin-right: 20px; font-size: 1.1rem; }
.drawer-item-price { color: var(--color-dorado); font-weight: bold; }

/* Cross Selling Zone */
.cross-sell-zone {
    margin-top: auto; /* Push to bottom of viewable area */
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.cross-sell-zone h4 {
    color: rgba(255,255,255,0.6); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 1rem;
}
.cross-sell-item {
    display: flex; align-items: center; gap: 1rem;
}
.cross-sell-item img {
    width: 50px; height: 50px; border-radius: 5px; object-fit: cover;
}
.cs-details h5 { font-size: 0.95rem; }
.cs-details span { color: var(--color-dorado); font-size: 0.8rem; }
.cs-add-btn {
    background: var(--color-principal); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; margin-left: auto;
}

.drawer-footer {
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.drawer-total-row {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: 1.2rem;
}
.drawer-price { font-size: 1.8rem; font-weight: bold; color: var(--color-dorado); }
.drawer-checkout-btn {
    width: 100%; padding: 1.2rem; background: var(--color-principal); color: white; font-weight: bold; border: none; border-radius: var(--radio-pequeno); cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s;
}
.drawer-checkout-btn:hover { background: #E01A22; }

@media (max-width: 900px) {
    .premium-menu-container { flex-direction: column; }
    .menu-sidebar { width: 100%; }
    .sidebar-sticky { position: relative; top: 0; }
    .scrollspy-nav { flex-direction: row; overflow-x: auto; padding-bottom: 1rem; white-space: nowrap; }
    .mega-drawer { width: 100%; right: -100%; }
    .cinematic-carousel-header { height: 40vh; }
    .carousel-content h2 { font-size: 2.5rem; }
    
    /* Grid de 2 columnas para el catálogo */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 5px;
    }
    
    .producto-card {
        border-radius: 15px;
    }
    
    .info-producto {
        padding: 0.8rem;
    }
    
    .nombre-producto {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .descripcion-producto {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.8rem;
    }
    
    .btn-agregar {
        padding: 0.5rem;
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    
    .precio-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

/* =========================================================
   FIXES ESTRUCTURALES MODALES (EMERGENCIA)
   ========================================================= */
.modal {
    display: none !important; 
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal.activo {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #ffffff;
    color: var(--color-secundario);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 95%;
    position: relative;
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
    overflow: hidden; /* Important for the image header */
    border: none;
}

.modal-producto-img-container {
    margin: -2.5rem -2.5rem 1.2rem -2.5rem;
    height: 300px;
    width: calc(100% + 5rem);
    position: relative;
    overflow: hidden;
}

.modal-producto-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-content:hover .modal-producto-img-container img {
    transform: scale(1.05);
}

.modal-badge-descuento {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70%;
    background: var(--color-principal);
    color: white;
    padding: 8px 15px;
    font-weight: 800;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-producto-titulo {
    font-family: var(--fuente-titulos);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-secundario);
    margin-bottom: 0.4rem;
    line-height: 1.1;
}

.modal-producto-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-texto-claro);
    margin-bottom: 0.8rem;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    color: var(--color-texto-claro);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cerrar-modal:hover {
    background: white;
    transform: scale(1.1);
    color: var(--color-secundario);
}

.btn-agregar-modal {
    background: var(--color-principal);
    color: white;
    padding: 0.9rem 1.6rem;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.2);
}

.btn-agregar-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(193, 18, 31, 0.5);
}

.modal-producto-footer { 
    margin-top: 0.5rem; 
    padding-top: 1.2rem; 
    border-top: 1px solid rgba(0,0,0,0.05); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
} 

.modal-precio-old { 
    text-decoration: line-through; 
    opacity: 0.5; 
    display: block; 
    font-size: 0.9rem; 
} 

.modal-precio { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: var(--color-principal); 
} 

.modificadores-container { 
    background: #fcfcfc; 
    padding: 1.5rem; 
    border-radius: 16px; 
    margin-bottom: 2rem; 
    border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 600px) {
    .modal-content {
        padding: 1.2rem;
        max-width: 90%;
    }
    .modal-producto-img-container {
        margin: -1.2rem -1.2rem 1.5rem -1.2rem;
        height: 220px;
        width: calc(100% + 2.4rem);
    }
    .modal-producto-titulo {
        font-size: 1.8rem;
    }
    .btn-agregar-modal {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
    .modal-precio {
        font-size: 1.5rem;
    }
    .modal-producto-footer {
        gap: 15px; 
        margin-top: 0.3rem !important;
        padding-top: 0.8rem;
    }
    .modal-producto-desc {
        margin-bottom: 0.5rem;
    }
}


.mod-item-row { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 10px; 
    border-radius: 12px; 
    transition: background 0.3s; 
    cursor: pointer; 
    border: 1px solid rgba(0,0,0,0.03); 
    background: white;
} 

.mod-item-row:hover { 
    background: #fdf8f5; 
} 

.mod-item-row.selected { 
    background: rgba(247, 127, 0, 0.05); 
    border-color: var(--color-dorado); 
} 

.mod-checkbox { 
    appearance: none; 
    width: 24px; 
    height: 24px; 
    border: 2px solid var(--color-dorado); 
    border-radius: 6px; 
    cursor: pointer; 
    position: relative; 
    background: transparent; 
    transition: all 0.2s; 
} 

.mod-checkbox:checked { 
    background: var(--color-dorado); 
} 

.mod-checkbox:checked::after { 
    content: '✓'; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; 
    font-weight: bold; 
    font-size: 14px; 
}

.img-vuelo-animacion { 
    position: fixed; 
    z-index: 10000; 
    pointer-events: none; 
    border-radius: 50%; 
    object-fit: cover; 
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease-in, width 0.8s ease, height 0.8s ease; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    border: 2px solid white; 
}
/* --- SEARCH SYSTEM 10K --- */
.search-sticky-container { 
    position: sticky;
    top: 90px;
    z-index: 50;
    background: transparent !important;
    margin: 0 -2rem 1.5rem -2rem;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
    pointer-events: none; /* Dejamos pasar clics al fondo si no es el input */
}

.search-box-wrapper { 
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    pointer-events: auto; /* El buscador sí recibe clics */
}

.search-icon { 
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-texto-claro);
    opacity: 0.5;
    z-index: 5;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.btn-search-cat {
    display: none; /* Oculto en PC */
    background: white;
    border: 2px solid rgba(0, 48, 73, 0.1);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--color-principal);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.btn-search-cat:hover {
    transform: scale(1.05);
    border-color: var(--color-principal);
    box-shadow: 0 15px 30px rgba(193, 18, 31, 0.1);
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    z-index: 10;
    height: fit-content; /* Asegura que solo ocupe su contenido y pueda flotar */
}


#menu-search-input { 
    flex-grow: 1;
    padding: 1.2rem 1.2rem 1.2rem 60px;
    border: 2px solid rgba(0, 48, 73, 0.1);
    border-radius: 50px;
    font-size: 1.1rem;
    background: white !important;
    transition: all 0.3s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    font-family: var(--fuente-principal);
}

#menu-search-input:focus { 
    outline: none;
    border-color: var(--color-principal);
    box-shadow: 0 15px 40px rgba(193, 18, 31, 0.15);
}

.mini-menu-cats {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    width: 280px;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 200;
}

.mini-menu-cats.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.btn-mini-cat {
    padding: 1rem 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-secundario);
    font-family: var(--fuente-principal);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-mini-cat:hover {
    background: var(--color-dorado);
    color: white;
    border-color: var(--color-dorado);
    transform: translateX(5px);
}

@media (max-width: 900px) { 
    .menu-sidebar {
        display: none !important; /* Eliminado en celular por orden del jefe */
    }
    .btn-search-cat {
        display: flex; /* Visible solo en celular */
        width: 50px;
        height: 50px;
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }
    .search-sticky-container { 
        position: sticky;
        top: 85px;
        z-index: 150;
        margin: 0 -1rem 1.5rem -1rem;
        padding: 0.5rem 1rem;
        background: transparent !important;
    }
    .search-input-group {
        gap: 8px;
    }
    #menu-search-input {
        padding: 1rem 1rem 1rem 50px;
        font-size: 1rem;
        height: 50px;
    }
    .mini-menu-cats {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        top: auto !important;
        transform: none !important;
        width: 100vw;
        max-width: 100%;
        height: auto;
        min-height: 50vh;
        max-height: 85vh; 
        background: #ffffff;
        padding: 1.5rem 2rem 2rem 2rem;
        border-radius: 36px 36px 0 0;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
        display: flex !important; /* Forzado a flex */
        flex-direction: column !important; /* Forzado a columna */
        z-index: 5000;
        transition: bottom 0.4s cubic-bezier(0.1, 1, 0.3, 1), box-shadow 0.4s ease;
    }

    .mini-menu-cats.visible {
        display: flex !important;
        flex-direction: column !important;
        bottom: 0;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.1), 0 0 0 100vmax rgba(0,0,30,0.4);
    }

    .bottom-sheet-handle {
        width: 45px;
        height: 5px;
        background: #e0e0e0;
        border-radius: 10px;
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .bottom-sheet-header {
        margin-top: 10px;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        text-align: left;
    }

    .bottom-sheet-header h3 {
        font-family: var(--fuente-titulos);
        font-size: 2.2rem;
        color: #111;
        margin-bottom: 0.3rem;
        line-height: 1;
    }

    .bottom-sheet-header p {
        font-size: 0.95rem;
        color: #888;
        font-family: var(--fuente-principal);
    }

    .bottom-sheet-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    .btn-mini-cat {
        width: 100%;
        padding: 1.2rem 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        background: transparent;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        text-align: left;
    }

    .btn-mini-cat:last-child {
        border-bottom: none;
    }

    .cat-icon {
        width: 54px;
        height: 54px;
        background: #fff8f0;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        flex-shrink: 0;
        color: var(--color-dorado);
        overflow: hidden; /* Importante para que la imagen no se salga */
    }

    .cat-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cat-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .cat-name {
        font-family: var(--fuente-principal);
        font-size: 1.15rem;
        font-weight: 700;
        color: #222;
        line-height: 1.1;
    }

    .cat-desc {
        font-size: 0.85rem;
        color: #777;
        line-height: 1.3;
    }
}

/* --- MODAL DE ORDEN (CHECKOUT) --- */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 48, 73, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 1.5rem;
}

.modal.activo {
    opacity: 1;
    visibility: visible;
}

.form-orden-layout {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.activo .form-orden-layout {
    transform: scale(1) translateY(0);
}

.form-orden-layout h2 {
    font-family: var(--fuente-titulos);
    font-size: 2.2rem;
    color: var(--color-secundario);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -1px;
}

#form-pedido {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

#form-pedido input, #form-pedido textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(0, 48, 73, 0.05);
    background: #f8fafc;
    border-radius: 20px;
    font-size: 1rem;
    font-family: var(--fuente-principal);
    transition: all 0.3s;
    color: var(--color-secundario);
}

#form-pedido input:focus, #form-pedido textarea:focus {
    outline: none;
    border-color: var(--color-dorado);
    background: white;
    box-shadow: 0 10px 25px rgba(247, 127, 0, 0.1);
}

#form-pedido textarea {
    min-height: 120px;
    resize: none;
}

.btn-block {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: #25D366; /* WhatsApp Green */
    color: white;
    border: none;
    border-radius: 20px;
    font-family: var(--fuente-principal);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.btn-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.cerrar-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.cerrar-modal:hover {
    color: var(--color-principal);
}