/* ============================================
   TRUCHERÍA FLOR DE CAPULÍ — CSS PRINCIPAL
   Diseño: Light Mode limpio inspirado en Fudizza
   ============================================ */

/* ============================================ */
/* VARIABLES */
/* ============================================ */
:root {
    --naranja: #FF6B00;
    --naranja-hover: #E55A00;
    --negro: #1A1A1A;
    --gris-oscuro: #333333;
    --gris-medio: #666666;
    --gris-claro: #999999;
    --fondo: #FFFFFF;
    --fondo-gris: #F7F7F7;
    --borde: rgba(0, 0, 0, 0.08);
    --crema: #FFF8F0;

    /* Compat con carta.html (no cambiar) */
    --verde-bosque: #1A1A1A;
    --verde-musgo: #FF6B00;
    --verde-claro: #FF8533;
    --verde-oliva: #555555;
    --dorado: #FF6B00;
    --dorado-oscuro: #CC5500;
    --tierra: #333333;
    --tierra-oscura: #111111;
    --naranja-fuego: #FF6B00;
    --rojo-cobre: #FF4500;
    --negro-suave: #1A1A1A;
    --gris-piedra: #666666;
    --gris-texto: #666666;
    --blanco-papel: #FFFFFF;
    --crema-claro: #F7F7F7;
    --blanco-nieve: #F7F7F7;
    --panel-cristal: rgba(255,255,255,0.9);
    --borde-cristal: rgba(0,0,0,0.08);
    --texto-blanco: #FFFFFF;
    --texto-gris: #666666;
    --fondo-oscuro: #1A1A1A;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --shadow-soft: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.10);
    --shadow-strong: 0 20px 50px rgba(0,0,0,0.15);

    --radius: 16px;
    --container: 1280px;
}

/* ============================================ */
/* RESET + BASE */
/* ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--fondo);
    color: var(--negro);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--negro);
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

section { padding: 5rem 2rem; }

/* ============================================ */
/* UTILIDADES */
/* ============================================ */
.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--naranja);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title em {
    font-style: italic;
    color: var(--naranja);
}

/* ============================================ */
/* BOTONES */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--naranja);
    color: #FFFFFF;
    border-color: var(--naranja);
}

.btn-primary:hover {
    background: var(--naranja-hover);
    border-color: var(--naranja-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,0,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--negro);
    border-color: var(--borde);
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    border-color: var(--naranja);
    color: var(--naranja);
    transform: translateY(-2px);
}

/* ============================================ */
/* HEADER */
/* ============================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.9rem 2rem;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde);
    transition: box-shadow 0.3s;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--negro);
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text { color: var(--negro); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gris-oscuro);
    transition: color 0.2s;
    position: relative;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--naranja);
    transition: width 0.25s;
}

.nav-menu a:hover, .nav-menu a.nav-active {
    color: var(--naranja);
}

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

.nav-highlight {
    background: rgba(255,107,0,0.08) !important;
    color: var(--naranja) !important;
    padding: 0.4rem 1rem !important;
    border-radius: 50px;
    border: 1.5px solid var(--naranja);
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem;
    line-height: 1 !important;
    padding-bottom: 0.4rem !important;
}

.nav-highlight::after { display: none !important; }
.nav-highlight:hover { background: rgba(255,107,0,0.15) !important; }

.nav-cta {
    background: var(--naranja);
    color: #fff !important;
    padding: 0.55rem 1.3rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.25s;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    padding-bottom: 0.55rem !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--naranja-hover) !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,107,0,0.3); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--negro);
    cursor: pointer;
}

/* ============================================ */
/* HERO */
/* ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 3rem;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,0,0.07) 0%, transparent 70%);
    top: -100px; right: -100px;
    pointer-events: none;
}

.hero-content {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,107,0,0.08);
    color: var(--naranja);
    border: 1px solid rgba(255,107,0,0.2);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--negro);
    margin-bottom: 1.4rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--naranja);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gris-medio);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--borde);
    padding-top: 2rem;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-right: 2rem;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--borde);
    margin-right: 2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--naranja);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gris-claro);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider { display: none; }

/* Hero visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.hero-img-ring {
    width: 400px;
    height: 540px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--crema);
    box-shadow: 0 30px 80px rgba(255,107,0,0.18), 0 0 0 6px rgba(255,107,0,0.08);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


.hero-badge-float {
    position: absolute;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    z-index: 2;
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.hero-badge-top {
    top: 30px;
    right: -15px;
    animation-delay: 0s;
}

.hero-badge-bottom {
    bottom: 50px;
    left: -15px;
    animation-delay: 2s;
}

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

/* ============================================ */
/* SECCIÓN VALOR */
/* ============================================ */
.valor { background: var(--fondo-gris); }

.valor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.valor-card {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--borde);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.valor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
    border-color: var(--naranja);
}

.valor-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.valor-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--negro);
}

.valor-card p {
    font-size: 0.92rem;
    color: var(--gris-medio);
    line-height: 1.6;
}

/* ============================================ */
/* PLATOS DESTACADOS */
/* ============================================ */
.destacados { background: #FFFFFF; }

.destacados-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: start;
}

.destacados-intro {
    position: sticky;
    top: 100px;
}

.plato-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--borde);
    background: transparent;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gris-oscuro);
    cursor: pointer;
    transition: all 0.2s;
}

.pill:hover, .pill-active {
    background: var(--naranja);
    border-color: var(--naranja);
    color: #FFFFFF;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--borde);
    transition: background 0.2s;
}

.menu-item:last-child { border-bottom: none; }

.menu-item img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.menu-item-info {
    flex: 1;
}

.menu-item-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.3rem;
}

.menu-item-row h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--negro);
    white-space: nowrap;
}

.menu-dot-line {
    flex: 1;
    border-bottom: 2px dotted rgba(0,0,0,0.12);
    margin: 0 0.3rem;
    min-width: 20px;
}

.menu-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--negro);
    white-space: nowrap;
}

.menu-item-info > p {
    font-size: 0.82rem;
    color: var(--gris-claro);
    font-style: italic;
}

/* ============================================ */
/* PROMO BANNER (Fudizza "Best Deal") */
/* ============================================ */
.promo-banner {
    background: var(--fondo-gris);
    padding: 0;
    overflow: hidden;
}

.promo-banner-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 500px;
}

.promo-img {
    height: 500px;
    overflow: hidden;
    background: var(--crema);
}

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

.promo-text {
    padding: 4rem 5rem;
}

.promo-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.promo-text p {
    color: var(--gris-medio);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ============================================ */
/* TESTIMONIOS */
/* ============================================ */
.testimonios { background: var(--fondo-gris); }

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.testimonio {
    background: #FFFFFF;
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--borde);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}

.testimonio:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }

.estrellas {
    color: #FFBB00;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonio p {
    font-size: 0.95rem;
    color: var(--gris-oscuro);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--borde);
    padding-top: 1.2rem;
}

.autor-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--naranja);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonio-autor > div > strong {
    display: block;
    font-size: 0.92rem;
    color: var(--negro);
}

.testimonio-autor > div > span {
    font-size: 0.8rem;
    color: var(--gris-claro);
}

/* ============================================ */
/* UBICACIÓN */
/* ============================================ */
.ubicacion { background: #FFFFFF; }

.ubicacion-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.info-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--naranja);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--gris-oscuro);
    line-height: 1.6;
}

.ubicacion-mapa iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    width: 100%;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--negro);
    color: #CCCCCC;
    padding-top: 4rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: start;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--naranja);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links li, .footer-links a {
    font-size: 0.9rem;
    color: #888;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--naranja); }

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: #555;
}

/* ============================================ */
/* WHATSAPP FLOTANTE */
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}

/* ============================================ */
/* ANIMACIONES SCROLL */
/* ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active, .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================ */
/* RESPONSIVO */
/* ============================================ */
@media (max-width: 1024px) {
    .destacados-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .destacados-intro { position: static; }
    .promo-banner-inner {
        grid-template-columns: 1fr;
    }
    .promo-img { height: 300px; }
    .promo-text { padding: 3rem 2rem; }
    .ubicacion-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    section { padding: 3.5rem 1.5rem; }

    .nav-menu {
        position: fixed;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-bottom: 1px solid var(--borde);
    }

    .nav-menu.open { transform: translateY(0); }
    .menu-toggle { display: flex; }

    .hero {
        min-height: auto;
        padding: 5.5rem 1.5rem 3rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .hero-text { max-width: 100%; }

    .hero-visual {
        min-height: 300px;
        width: 100%;
    }

    .hero-img-ring {
        width: 92%;
        max-width: 360px;
        height: 420px;
        border-radius: 20px;
        margin: 0 auto;
    }

    .hero-stats {
        gap: 0;
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 100px;
        padding-right: 1.5rem;
        margin-right: 1.5rem;
    }

    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }

    .testimonio-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-img-ring { width: 260px; height: 260px; }
    .hero h1 { font-size: 2.4rem; }
    .stat-item:not(:last-child) { border-right: none; margin-right: 0; padding-right: 0; }
    .hero-stats { gap: 1rem; flex-direction: column; }
    .hero-badge-float { display: none; }
    .menu-item img { width: 56px; height: 56px; }
}

/* ============================================
   ESTILOS EXCLUSIVOS CARTA.HTML
   (Se preservan tal cual — NO modificar)
   ============================================ */

/* CARTA HERO */
.carta {
    background: var(--crema-claro);
    position: relative;
}

/* TABS */
.carta-tabs {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.carta-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: #FFFFFF;
    border: 1.5px solid var(--borde);
    color: var(--negro);
    padding: 1rem 1.4rem;
    border-radius: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
}

.tab-btn .tab-emoji {
    font-size: 2rem;
    display: block;
    transition: transform 0.3s;
}

.tab-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--naranja);
}

.tab-btn:hover .tab-emoji { transform: scale(1.15) rotate(5deg); }

.tab-btn.active {
    background: rgba(255,107,0,0.06);
    border-color: var(--naranja);
    color: var(--naranja);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.tab-btn.active .tab-emoji { transform: scale(1.15); }

.menu-categoria { display: none; }
.menu-categoria.active {
    display: block;
    animation: fadeInMenu 0.35s ease;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PLATO CARD */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.plato {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--borde);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plato:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.plato-banner {
    height: 180px;
    overflow: hidden;
    background: var(--crema);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

/* Cuando hay imagen, ocultar el emoji de fondo */
.plato-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Emoji queda debajo de la imagen */
.plato-banner > span {
    position: relative;
    z-index: 0;
    opacity: 0.3;
}

/* Si imagen carga correctamente, ocultar emoji completamente */
.plato-banner img + span { display: none !important; }

/* Badge */
.plato-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: var(--naranja);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

.plato { position: relative; }

.plato-info {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.plato-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

.plato-info p {
    font-size: 0.82rem;
    color: var(--gris-medio);
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex: 1;
}

.plato-precio {
    font-weight: 800;
    color: var(--naranja);
    font-size: 1rem;
    white-space: nowrap;
}

/* CART CONTROLS */
.cart-ui-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
}

.cart-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.var-pill {
    background: transparent;
    border: 1px solid var(--borde);
    color: var(--gris-oscuro);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
}

.var-pill:hover { background: rgba(255,107,0,0.06); border-color: var(--naranja); }
.var-pill.active { background: rgba(255,107,0,0.1); border-color: var(--naranja); color: var(--naranja); }

.cart-controls {
    display: inline-flex;
    align-items: center;
    background: var(--fondo-gris);
    border: 1px solid var(--borde);
    border-radius: 50px;
    padding: 0.25rem;
    gap: 0.6rem;
    align-self: flex-start;
}

.btn-qty {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--negro);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-soft);
}

.btn-qty:hover { background: var(--naranja); color: #fff; }
.btn-plus { background: var(--naranja); color: #fff; }

.qty-display {
    font-size: 1rem;
    font-weight: 700;
    color: var(--negro);
    min-width: 20px;
    text-align: center;
}

/* CARRITO FLOTANTE */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--naranja);
    color: #fff;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 24px rgba(255,107,0,0.35);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.35s, opacity 0.25s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(80px);
}

.floating-cart.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-cart:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(255,107,0,0.45); }

.cart-icon { font-size: 1.3rem; position: relative; }

#cart-badge {
    position: absolute;
    top: -9px; right: -14px;
    background: #fff;
    color: var(--naranja);
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px; height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-summary { font-weight: 700; font-size: 1rem; }

/* TOAST RESERVA */
.toast-reserva {
    position: fixed;
    bottom: 30px; left: 30px;
    background: #1A1A1A;
    color: #fff;
    padding: 0.8rem 1.3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    z-index: 1100;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s, opacity 0.3s;
    border-left: 4px solid var(--naranja);
}

.toast-reserva.visible { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.2rem; }
.toast-body { font-size: 0.86rem; font-weight: 500; }

/* MODAL CARRITO */
.cart-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-modal-overlay.active { opacity: 1; visibility: visible; }

.cart-modal-content {
    background: #fff;
    width: 90%;
    max-width: 440px;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-strong);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s;
}

.cart-modal-overlay.active .cart-modal-content { transform: translateY(0) scale(1); }

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--borde);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.cart-modal-header h3 { font-size: 1.3rem; color: var(--negro); }

.cart-modal-close {
    background: none; border: none;
    font-size: 1.4rem; color: var(--gris-medio);
    cursor: pointer; line-height: 1;
}

.cart-modal-body {
    max-height: 48vh;
    overflow-y: auto;
    padding-right: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: var(--naranja) #f0f0f0;
}

.cart-modal-body::-webkit-scrollbar { width: 5px; }
.cart-modal-body::-webkit-scrollbar-thumb { background: var(--naranja); border-radius: 4px; }

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; color: var(--negro); }
.cart-item-qty { color: var(--naranja); font-weight: 700; margin-right: 0.4rem; }
.cart-item-price { font-weight: 700; color: var(--gris-oscuro); margin-right: 0.4rem; }

.cart-item-remove {
    background: none; border: none;
    color: #e74c3c; font-size: 1.1rem;
    cursor: pointer; padding: 0.2rem 0.4rem;
    border-radius: 6px; transition: background 0.2s;
    display: flex; align-items: center;
}

.cart-item-remove:hover { background: rgba(231,76,60,0.1); }

.cart-modal-footer {
    margin-top: 1.2rem;
    border-top: 1px solid var(--borde);
    padding-top: 1rem;
}

.cart-modal-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 1rem;
}

.cart-modal-btn {
    width: 100%;
    background: var(--naranja);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.03em;
}

.cart-modal-btn:hover { background: var(--naranja-hover); }
.cart-modal-btn:active { transform: scale(0.98); }

/* RESERVA FORM (carta.html) */
.reserva { background: var(--fondo-gris); }

.reserva-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reserva-form {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--borde);
}

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gris-oscuro); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--borde);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--negro);
    background: #fff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--naranja);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* SUBCATEGORÍAS */
.menu-subcategory-header {
    width: 100%;
    border-bottom: 1px solid var(--borde);
    padding-bottom: 0.5rem;
    margin: 2.5rem 0 1.5rem;
}

.menu-subcategory-header h3 {
    font-size: 1.2rem;
    color: var(--naranja);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* DESCRIPCIÓN CATEGORÍA */
.categoria-desc-premium {
    background: rgba(255,107,0,0.04);
    border-left: 4px solid var(--naranja);
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.categoria-desc-premium .desc-icon { font-size: 1.6rem; }

.categoria-desc-premium p {
    font-size: 0.9rem;
    color: var(--gris-oscuro);
    line-height: 1.5;
}

/* PROMOCIONES (carta.html) */
.promociones-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.promo-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.promo-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 1rem; background: rgba(255,107,0,0.1); color: var(--naranja); align-self: flex-start; }
.promo-card h3 { font-size: 1.4rem; color: var(--negro); margin-bottom: 0.5rem; }
.promo-desc { font-size: 0.9rem; color: var(--gris-medio); margin-bottom: 1rem; line-height: 1.5; }
.promo-details { margin-bottom: 1.2rem; flex: 1; }
.promo-details li { position: relative; padding-left: 1.3rem; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--gris-oscuro); }
.promo-details li::before { content: '✓'; position: absolute; left: 0; color: var(--naranja); font-weight: 700; }
.promo-terms { font-size: 0.76rem; color: var(--gris-claro); font-style: italic; border-top: 1px dashed var(--borde); padding-top: 0.7rem; }

/* CARTA CTA (index.html) */
.carta-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.carta-cta-imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.carta-cta-imgs img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.carta-cta-imgs img:hover { transform: scale(1.06) rotate(-2deg); }
.carta-cta-imgs img:nth-child(2) { margin-top: 1.5rem; }
.carta-cta-imgs img:nth-child(3) { margin-top: -0.8rem; }

@media (max-width: 768px) {
    .carta-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .carta-cta-imgs img:nth-child(2), .carta-cta-imgs img:nth-child(3) { margin-top: 0; }
}

/* SOBRE NOSOTROS (nosotros.html) */

.sobre { background: #fff; }
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.sobre-img-container { position: relative; }
.sobre-img-container img { border-radius: 20px; width: 100%; box-shadow: var(--shadow-medium); }
.sobre-img-floating {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 55%;
    border-radius: 14px;
    box-shadow: var(--shadow-strong);
    border: 4px solid #fff;
}

/* AMBIENTES (ambientes.html) */
.ambientes { background: var(--fondo-gris); }
.ambientes-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 240px;
    gap: 1rem;
}

.ambiente {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.ambiente:hover .ambiente-bg { transform: scale(1.05); }
.ambiente:hover .ambiente-overlay { opacity: 1; }

.ambiente-bg {
    width: 100%; height: 100%;
    transition: transform 0.5s;
    background-size: cover;
    background-position: center;
}

.ambiente-bg img { width: 100%; height: 100%; object-fit: cover; }

.ambiente-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s;
}

.ambiente-1 { grid-column: span 5; }
.ambiente-2 { grid-column: span 7; }
.ambiente-3 { grid-column: span 7; }
.ambiente-4 { grid-column: span 5; }
.ambiente-5 { grid-column: span 4; }
.ambiente-6 { grid-column: span 4; }
.ambiente-7 { grid-column: span 4; }

/* ACCESSIBILITY */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive carta */
@media (max-width: 968px) {
    .reserva-grid { grid-template-columns: 1fr; gap: 2rem; }
    .sobre-grid { grid-template-columns: 1fr; gap: 2rem; }
    .sobre-img-floating { display: none; }
    .promociones-container { grid-template-columns: 1fr; }
    .ambientes-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .ambiente { grid-column: span 1 !important; }
}

@media (max-width: 768px) {
    .carta-tabs { gap: 0.5rem; }
    .tab-btn { padding: 0.7rem 1rem; font-size: 0.85rem; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .plato-banner { height: 120px; font-size: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .ambientes-grid { grid-template-columns: 1fr; }
}

/* ============================================ */
/* SHARED FOOTER — usado en ambientes/nosotros  */
/* ============================================ */
.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    padding: 4rem 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ft-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.ft-brand-logo img {
    width: 40px; height: 40px;
    border-radius: 50%; object-fit: cover;
}

.ft-brand-logo span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.ft-brand-desc {
    font-size: 0.88rem;
    color: #888;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.ft-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.ft-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ft-social a:hover {
    background: var(--naranja);
    color: #fff;
    border-color: var(--naranja);
    transform: translateY(-3px);
}

.ft-col h5 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.2rem;
}

.ft-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    list-style: none;
}

.ft-col li, .ft-col a {
    font-size: 0.88rem;
    color: #777;
    transition: color 0.2s;
}

.ft-col a:hover { color: var(--naranja); }

.footer-bottom-bar {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom-bar a { color: #666; }
.footer-bottom-bar a:hover { color: var(--naranja); }

@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top > div:first-child { grid-column: span 2; }
}

@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-top > div:first-child { grid-column: span 1; }
    .footer-bottom-bar { flex-direction: column; text-align: center; }
}

