/* ==========================================================================
   Roto — capa de marca sobre site.css (template-restaurante-menu).
   site.css queda igual al template para poder traer mejoras; todo lo de Roto va aquí.
   Referencia: tarjeta de info negra (letrero de neón), menú en tarjeta roja con
   pestañas crema y encabezados de sección «Desayunos ······ De 9 am a 1 PM».
   ========================================================================== */
:root {
    --roto-red: var(--accent);
    --roto-cream: #f8f0e0;
    --roto-black: #0d0a09;
    --ink: #2a1513;
    --muted: #7d6460;
    --card: var(--roto-cream);
    --font-body: "Poppins", system-ui, sans-serif;
    --font-heading: "Fraunces", Georgia, serif;
    --font-script: "Yellowtail", cursive;
    --font-mono: "Space Mono", ui-monospace, monospace;
    --radius: 22px;
    --shadow: 0 18px 40px -22px rgba(60, 10, 10, .55);
}
body { font-size: 15px; }
.place-name, .menu-title, .cat-title, .section-h, .res-modal h2, .cats-head strong {
    font-family: var(--font-heading); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; letter-spacing: .01em;
}
.card { border: 0; }

/* ---------- Tarjeta de información: negra, como el letrero de noche ---------- */
.info-card, .info-panel {
    --card: var(--roto-black); --ink: var(--roto-cream); --muted: rgba(248, 240, 224, .62);
    --line: rgba(248, 240, 224, .14); --accent-soft: color-mix(in srgb, var(--accent) 45%, var(--roto-black));
    --accent-ink: var(--roto-cream);
    --fa-primary-color: var(--roto-cream); --fa-secondary-color: var(--accent); --fa-secondary-opacity: 1;
}
.info-card { background: var(--roto-black); color: var(--roto-cream); text-align: center; gap: 1rem; padding-top: 0; overflow: hidden; }
.info-card .ib-photo { margin: 0 calc(-1 * clamp(1.25rem, 2.4vw, 2rem)); border-radius: 0; }
.info-card .ib-photo img { object-position: 50% 45%; }
.place-name { font-size: 2.4rem; text-transform: uppercase; letter-spacing: .06em; }
.place-tagline { font-family: var(--font-script); font-style: normal; color: var(--roto-cream); opacity: .85; font-size: 1.45rem; margin-top: 0; }
.ib-desc { color: var(--muted); }
.stories-row { justify-content: center; }
.story-bubble { background: conic-gradient(from 210deg, var(--accent), #e0322f, #f2c9a0, var(--accent)); }
.story-bubble img { border-color: var(--roto-black); }
.ib-label { justify-content: center; color: var(--muted); }

/* Teléfono y dirección: centrados y chicos, como la referencia */
.ib-contact.style-list { align-items: center; gap: 0; }
.ib-contact.style-list a { color: var(--roto-cream); padding: .15rem .5rem; font-size: .95rem; }
.ib-contact.style-list a small { display: none; }
.ib-contact.style-list a:hover { background: transparent; text-decoration: underline; }
.ib-contact.style-list .fa-whatsapp { color: var(--roto-cream); }
.ib-address { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .02em; }
.ib-address .ib-row { justify-content: center; text-align: center; }
.ib-address .ib-row i { display: none; }
.ib-address .btn-row { justify-content: center; }
.ib-address .btn-soft { background: transparent; border: 1px solid var(--line); color: var(--roto-cream); font-family: var(--font-body); }
.ib-address .btn-soft:hover { border-color: var(--roto-cream); }

/* Botón reservar: rectángulo rojo */
.ib-reserve .btn { border-radius: 6px; padding: .8rem 1rem; }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 80%, #000); }

/* Amenidades en círculos rojos */
.ib-amenities { list-style: none; padding: .25rem 0; margin: 0; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.ib-amenities li { display: flex; flex-direction: column; align-items: center; gap: .45rem; width: 72px; font-family: var(--font-heading); font-weight: 800; font-size: .85rem; line-height: 1.15; }
.am-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: 1.15rem; --fa-primary-color: var(--roto-cream); --fa-secondary-color: var(--roto-cream); --fa-secondary-opacity: .45; }

/* Redes: íconos sueltos en crema */
.ib-contact.style-icons a { background: transparent; color: var(--roto-cream); width: 38px; height: 38px; font-size: 1.35rem; }
.ib-contact.style-icons a:hover { background: transparent; color: #fff; }
.ib-contact.style-icons .fa-whatsapp { color: var(--roto-cream); }
.ib-hours { text-align: left; }
.open-badge.is-open { background: #2b4d2e; color: #d7f5d0; }
.open-badge.is-closed { background: #4d1d1b; color: #ffd3cf; }

/* ---------- Menú: tarjeta roja ---------- */
.menu-card {
    background: var(--accent); color: var(--roto-cream); padding: clamp(1.1rem, 2.6vw, 2.25rem);
    --fa-primary-color: var(--accent); --fa-secondary-color: var(--accent);
}
.menu-head { margin-bottom: .25rem; }
.menu-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--roto-cream); --fa-primary-color: var(--roto-cream); --fa-secondary-color: var(--roto-cream); }
.menu-title i { display: none; }
.menu-search { background: var(--roto-cream); border: 0; border-radius: 6px; }
.menu-search:focus-within { box-shadow: 0 0 0 3px rgba(248, 240, 224, .35); }
.menu-search, .menu-search input { color: var(--ink); }
.search-empty { color: var(--roto-cream); }
.menu-tabs { gap: 0; }

/* Encabezado de sección con línea punteada y nota a la derecha */
.menu-section { display: flex; flex-direction: column; gap: .9rem; padding-bottom: 1.4rem; }
.menu-section:not(:has(.cat:not(.is-filtered))) { display: none; }
.section-h { display: flex; align-items: center; gap: 1rem; margin: 1.1rem 0 .1rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.1; color: var(--roto-cream); }
.section-h::after { content: ""; flex: 1; order: 2; border-top: 1px dotted rgba(248, 240, 224, .55); min-width: 2rem; }
.section-h small { order: 3; font-size: .95rem; font-weight: 800; white-space: nowrap; }

/* Pestañas crema, rectas */
.cat { background: var(--roto-cream); border: 0; border-radius: 3px; color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.cat.open { border: 0; }
.cat-toggle { padding: .8rem 1rem; gap: .6rem; }
.cat-toggle:hover, .cat.open .cat-toggle { background: transparent; }
.cat-chev { display: none; }
.cat-plus { font-size: 1.15rem; transition: transform .25s; --fa-primary-color: #fff; --fa-secondary-color: var(--accent); --fa-secondary-opacity: 1; }
.cat.open .cat-plus { transform: rotate(45deg); }
.cat-title { font-family: var(--font-body); font-variation-settings: normal; font-weight: 500; font-size: .98rem; letter-spacing: 0; }
.cat.open .cat-title { font-weight: 700; }
.cat-sub { font-size: .8rem; }
.cat-count { background: var(--accent); }
.cat-body > .cat-inner { padding-left: 1rem; padding-right: 1rem; }
.cat-desc { color: var(--muted); }

.dish { border-bottom-style: dotted; border-color: rgba(42, 21, 19, .22); }
.dish-name { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.dish-price { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.dish-variants li { background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: 4px; }
.dish-variants b { color: var(--accent); font-family: var(--font-mono); }
.dish-img { border-radius: 4px; }
.tag { border-color: rgba(42, 21, 19, .2); --fa-primary-color: var(--accent); --fa-secondary-color: var(--accent); }
.m-text { font-style: italic; color: var(--muted); }

.site-foot { color: color-mix(in srgb, var(--ink) 60%, transparent); font-family: var(--font-mono); font-size: .78rem; }

/* ---------- Reservación ---------- */
.res-modal { background: var(--roto-cream); border-top: 6px solid var(--accent); }
.res-modal .btn-accent { border-radius: 6px; }

/* ---------- Móvil ---------- */
.cats-section { list-style: none; font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--accent); padding: .85rem .75rem .2rem; display: flex; justify-content: space-between; gap: .5rem; }
.cats-section small { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--muted); align-self: end; }
@media (max-width: 900px) {
    .info-panel { background: var(--roto-black); }
    .info-panel .info-card { padding-top: 0; }
    .info-panel .panel-close { background: rgba(13, 10, 9, .7); color: var(--roto-cream); }
    .fbtn-left { border-color: var(--roto-black); background: var(--roto-black); }
    .fbtn-right { border-radius: 6px; background: var(--roto-black); color: var(--roto-cream); }
    .menu-card { border-radius: 14px; }
    .section-h small { font-size: .82rem; }
    .cats-panel a i { color: var(--accent); }
}

/* Lista de arriba: solo el teléfono (WhatsApp va en los íconos de abajo) */
.ib-contact.style-list .contact-wa, .ib-contact.style-list .contact-mail { display: none; }


/* Logo (o nombre) + historias: fuera de la tarjeta roja, sobre el fondo del sitio (--bg) */
.menu-brand { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: .5rem 0 1.25rem; }
.menu-logo { width: 112px; height: 112px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.menu-site-name { margin: 0; font-family: var(--font-heading); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3rem); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); line-height: 1; }
.menu-brand .ib-stories { width: 100%; }
.menu-brand .stories-row { justify-content: center; }
.menu-brand .story-bubble { background: conic-gradient(from 210deg, var(--accent), #e0322f, #f2c9a0, var(--accent)); }
.menu-brand .story-bubble.seen { background: color-mix(in srgb, var(--accent) 25%, var(--bg)); }
.menu-brand .story-bubble img, .menu-brand .story-bubble video { border-color: var(--bg); }
.menu-brand .story-kind { background: var(--accent); color: var(--roto-cream); --fa-primary-color: var(--roto-cream); --fa-secondary-color: var(--roto-cream); }
@media (max-width: 900px) { .menu-logo { width: 88px; height: 88px; border-radius: 14px; } .menu-brand { padding-top: .25rem; } }
