/* ============================================================
   MENÚ UNIFICADO · Misma identidad que Inicio / Sucursales /
   Banquetes / Contacto / Delivery
   Todo vive dentro de .rm para no chocar con navbar ni footer
   ============================================================ */

.rm {
    --green: #3a5a40;
    --green-dk: #2b4430;
    --leaf: #3c8f2e;
    --yellow: #ffd41f;
    --yellow-soft: #fff2a8;
    --cream: #faf5e6;
    --tan: #ead9a6;
    --sage: #c8ddb7;
    --brown: #3b2a20;

    --border: 2.5px solid var(--brown);
    --shadow: 5px 5px 0 var(--brown);
    --shadow-sm: 3px 3px 0 var(--brown);

    --f-display: 'Fraunces', Georgia, serif;
    --f-cond: 'Anton', 'Arial Narrow', sans-serif;
    --f-body: 'Outfit', system-ui, sans-serif;

    font-family: var(--f-body);
    color: var(--brown);
    background: var(--cream);
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

.rm *, .rm *::before, .rm *::after { box-sizing: border-box; }
.rm :where(h1, h2, h3, h4) { margin: 0; font-weight: 400; line-height: 1.1; }
.rm p { margin: 0; }
.rm ul { list-style: none; margin: 0; padding: 0; }
.rm [hidden] { display: none !important; }

/* ================= HERO ================= */
.rm-hero {
    position: relative;
    background-color: var(--green);
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    text-align: center;
}

.rm-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 8.5rem 1.5rem 4.2rem; /* espacio extra por el navbar fijo */
}

.rm-hero__kicker {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--yellow);
    margin-bottom: .2rem;
}

.rm-hero__title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(3.2rem, 11vw, 7rem);
    color: var(--yellow);
    letter-spacing: -.01em;
    text-shadow: 2px 2px 0 var(--green-dk), 4px 4px 0 var(--green-dk), 6px 6px 0 rgba(0, 0, 0, .22);
}

.rm-hero__sub {
    max-width: 560px;
    margin: 1.4rem auto 0;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
}

/* Remate festoneado */
.rm-scallop {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 20px;
    background: radial-gradient(circle at 20px 20px, var(--cream) 19px, transparent 19.5px) 0 0 / 40px 20px repeat-x;
}

/* Decoraciones flotantes */
.rm-deco { position: absolute; z-index: 1; pointer-events: none; }

.rm-deco--leaf-a, .rm-deco--leaf-b {
    width: 74px; height: 74px;
    background: #a9cc9c;
    border: 3px solid var(--green-dk);
    border-radius: 0 100% 0 100%;
}
.rm-deco--leaf-a { top: 9rem; left: 5%; transform: rotate(-12deg); }
.rm-deco--leaf-b { bottom: 20%; right: 6%; transform: rotate(70deg) scale(.85); }

.rm-deco--spark { bottom: 22%; left: 9%; font-size: 3rem; color: var(--tan); animation: rm-twinkle 3s ease-in-out infinite; }

.rm-deco--lemon {
    top: 7rem; right: 6%;
    width: 78px; height: 78px;
    border-radius: 50%;
    border: 6px solid #8a6a3d;
    background: repeating-conic-gradient(var(--tan) 0 12deg, #fbefc4 12deg 24deg);
    box-shadow: 4px 4px 0 var(--green-dk);
}

/* ================= TABS (botones crema como en Inicio) ================= */
.rm-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.1rem;
    margin-top: 2.4rem;
}

.rm-tab {
    width: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    padding: .9rem .6rem .8rem;
    background: var(--cream);
    border: var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    color: var(--brown);
    transition: transform .15s, box-shadow .15s, background .15s;
}

.rm-tab__ico {
    width: 66px; height: 66px;
    display: grid; place-items: center;
    font-size: 1.8rem;
    color: var(--green);
    background: var(--yellow);
    border: 3px solid var(--green);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--cream);
}

.rm-tab__txt {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: .95rem;
    line-height: 1.1;
}

.rm-tab:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--brown); }
.rm-tab.is-active { background: var(--tan); transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--brown); }

.rm-tab:focus-visible, .rm-btn:focus-visible, .rm-search input:focus-visible {
    outline: 3px dashed var(--yellow);
    outline-offset: 3px;
}

/* ================= CINTA INCLINADA ================= */
.rm-ribbon {
    position: relative;
    z-index: 3;
    margin: 0 -2%;
    width: 104%;
    background: var(--tan);
    border-block: 2px solid var(--brown);
    transform: rotate(-1.2deg);
    overflow: hidden;
    padding: .7rem 0;
    margin-top: -4px;
}

.rm-ribbon__track {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    width: max-content;
    animation: rm-marquee 28s linear infinite;
}

.rm-ribbon span {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: 1.25rem;
    white-space: nowrap;
}

.rm-ribbon i { width: 11px; height: 11px; border-radius: 50%; background: var(--green); flex: none; }

/* ================= CONTENEDOR / TOOLBAR ================= */
.rm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.2rem 1.5rem 5rem;
}

.rm-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 1rem 1.2rem;
    margin-bottom: 3.2rem;
}

.rm-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.rm-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--green); }

.rm-search input {
    width: 100%;
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 500;
    padding: .75rem 1rem .75rem 2.8rem;
    background: var(--cream);
    border: var(--border);
    border-radius: 99px;
    color: var(--brown);
}

.rm-toolbar__msg {
    flex: 1 1 260px;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 600;
    color: var(--green);
}

.rm-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--f-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cream);
    background: var(--leaf);
    border: var(--border);
    border-radius: 99px;
    padding: .75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
}

.rm-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--brown); background: var(--green); }
.rm-btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--brown); }

/* ================= PANELES ================= */
.rm-panel { display: none; }
.rm-panel.is-active { display: block; animation: rm-pop .35s ease-out; }

.rm-head { text-align: center; margin-bottom: 2.8rem; }

.rm-pill {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--tan);
    color: var(--green-dk);
    border: 2px solid var(--green-dk);
    border-radius: 99px;
    padding: .25rem .9rem;
}
.rm-pill--tan { background: var(--tan); }

.rm-title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(2.6rem, 8vw, 4.6rem);
    color: var(--green);
    margin: .6rem 0 .5rem;
    text-shadow: 3px 3px 0 var(--yellow);
}

.rm-lead { max-width: 560px; margin: 0 auto; font-weight: 500; opacity: .85; }

.rm-empty { text-align: center; font-weight: 700; font-size: 1.1rem; margin-top: 2rem; }

/* Sticker de precio (circular, como "Eventos a tu medida") */
.rm-price {
    position: absolute;
    right: 12px;
    bottom: -22px;
    z-index: 3;
    width: 74px; height: 74px;
    display: grid; place-items: center;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 900;
    font-size: 1.2rem;
    background: var(--yellow);
    border: var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transform: rotate(-8deg);
}

.rm-price--static { position: static; flex: none; }

/* ================= ENSALADAS ================= */
.rm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2.4rem 2rem;
}

.rm-card {
    background: #fff;
    border: var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.rm-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 8px 8px 0 var(--brown); }

.rm-card__img {
    position: relative;
    height: 220px;
    border-bottom: var(--border);
    border-radius: 21px 21px 0 0;
    background: var(--tan);
}

.rm-card__img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    border-radius: 21px 21px 0 0;
}

.rm-chip {
    position: absolute;
    top: 12px; left: 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: var(--tan);
    color: var(--green-dk);
    border: 2px solid var(--green-dk);
    border-radius: 99px;
    padding: .2rem .8rem;
}
.rm-chip--alt { background: var(--yellow); color: var(--brown); border-color: var(--brown); }

.rm-card__body { padding: 1.7rem 1.4rem 1.5rem; flex: 1; }

.rm-card__name {
    font-family: var(--f-cond);
    font-size: 1.6rem;
    letter-spacing: .02em;
    color: var(--green-dk);
    margin-bottom: .55rem;
    padding-right: 60px;
}

.rm-card__desc { font-size: .93rem; font-weight: 500; opacity: .85; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.rm-card.pulse { animation: pulse 3.2s ease-in-out infinite; }
.rm-card.pulse:hover { animation: none; }

/* ================= MENÚ INFANTIL ================= */
.rm-feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    max-width: 780px;
    margin: 0 auto 3.4rem;
    background: #fff;
    border: var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 1.2rem 1.8rem;
}

.rm-feature__ico {
    width: 84px; height: 84px;
    display: grid; place-items: center;
    font-size: 2.6rem;
    background: var(--yellow-soft);
    border: 3px solid var(--green);
    border-radius: 50%;
}

.rm-feature h3 { font-family: var(--f-cond); font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--green-dk); margin-top: .4rem; letter-spacing: .02em; }
.rm-feature > div { flex: 1 1 200px; }

.rm-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem 2rem;
}

.rm-box {
    position: relative;
    border: var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2.4rem 1.6rem 1.6rem;
}

.rm-box--0 { background: var(--sage); }
.rm-box--1 { background: var(--tan); }
.rm-box--2 { background: var(--yellow-soft); }

.rm-box__ico {
    position: absolute;
    top: -30px; left: 18px;
    width: 62px; height: 62px;
    display: grid; place-items: center;
    font-size: 1.9rem;
    background: var(--cream);
    border: var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.rm-box h3 { font-family: var(--f-cond); font-size: 1.7rem; letter-spacing: .02em; color: var(--green-dk); padding-left: 3.6rem; margin-top: -1.9rem; margin-bottom: 1.2rem; }
.rm-box small { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 1rem; opacity: .85; }

.rm-menu-list li { display: flex; align-items: baseline; gap: .45rem; padding: .32rem 0; font-weight: 500; }
.rm-menu-list .rm-item { display: inline-flex; align-items: baseline; }
.rm-menu-list .rm-dots { flex: 1; min-width: 14px; border-bottom: 2px dotted rgba(59, 42, 32, .55); transform: translateY(-3px); }
.rm-menu-list b { font-family: var(--f-display); font-style: italic; font-weight: 900; white-space: nowrap; }

/* ================= BARRA DE JUGOS ================= */
.rm-bar { display: grid; gap: 2.4rem; max-width: 920px; margin: 0 auto; }

.rm-juice {
    border: var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 1.6rem 1.8rem 1.9rem;
    transition: transform .2s, box-shadow .2s;
}
.rm-juice:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--brown); }

.rm-juice--licuados { background: var(--yellow-soft); }
.rm-juice--jugos { background: var(--sage); }
.rm-juice--bnf { background: var(--tan); }

.rm-juice__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.rm-juice__head h3 { font-family: var(--f-cond); font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: .02em; color: var(--green-dk); }
.rm-juice .rm-price { background: #fff; }

.rm-chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.rm-chips li {
    background: #fff;
    border: var(--border);
    border-radius: 99px;
    padding: .4rem 1.2rem;
    font-weight: 600;
    box-shadow: 2px 2px 0 var(--brown);
}

.rm-simple-list li { padding: .5rem 0; font-weight: 500; font-size: 1.05rem; border-bottom: 2px dotted rgba(59, 42, 32, .45); }
.rm-simple-list li:last-child { border-bottom: 0; }

.rm-flavors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.rm-flavor { background: #fff; border: var(--border); border-radius: 18px; padding: .95rem 1.15rem; box-shadow: 2px 2px 0 var(--brown); }
.rm-flavor h4 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.1rem; color: var(--leaf); margin-bottom: .3rem; }
.rm-flavor p { font-size: .9rem; font-weight: 500; }

/* ================= ÍCONOS ================= */
.rm i.bi, .rm i.fa-solid { line-height: 1; }

.rm-ic {
    display: inline-block;
    width: 1.5em;
    margin-right: .45rem;
    text-align: center;
    color: var(--green);
}

.ic-red { color: #d94b3d !important; }
.ic-orange { color: #ee8a1e !important; }
.ic-yellow { color: #e0a800 !important; }
.ic-green { color: var(--leaf) !important; }
.ic-blue { color: #2f8fbf !important; }

.rm-feature__ico { color: var(--green); }
.rm-box__ico { color: var(--green); }

.rm-juice__head h3 i { margin-right: .35rem; color: var(--green); }
.rm-chip i { margin-right: .2rem; }
.rm-pill i { margin-right: .2rem; }
.rm-empty i { margin-right: .3rem; }
.rm-flavor h4 { display: flex; align-items: center; }
.rm-simple-list li { display: flex; align-items: center; }

/* ================= ANIMACIONES ================= */
@keyframes rm-marquee { to { transform: translateX(-50%); } }
@keyframes rm-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
@keyframes rm-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .rm *, .rm *::before, .rm *::after { animation: none !important; transition: none !important; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .rm-hero__inner { padding: 7.5rem 1rem 3.6rem; }
    .rm-deco--leaf-a { width: 50px; height: 50px; }
    .rm-deco--lemon { width: 52px; height: 52px; border-width: 4px; }
    .rm-deco--leaf-b, .rm-deco--spark { display: none; }
    .rm-toolbar { flex-direction: column; align-items: stretch; }
    .rm-search { max-width: none; }
    .rm-btn { margin-left: 0; justify-content: center; }
    .rm-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 480px) {
    .rm-container { padding-inline: 1rem; }
    .rm-tabs { gap: .7rem; }
    .rm-tab { width: 104px; padding: .7rem .4rem; }
    .rm-tab__ico { width: 52px; height: 52px; font-size: 1.6rem; }
    .rm-tab__txt { font-size: .8rem; }
    .rm-feature { text-align: center; justify-content: center; }
    .rm-price { width: 64px; height: 64px; font-size: 1.05rem; }
}