/* Solo Carnes · capa editorial: carbón, brasa y tipografía grande.
   Se carga después de restaurant-cms.css y solo ajusta apariencia; la estructura y los IDs no cambian.
   Las sucursales (#ubicacion) conservan su propio estilo. */
:root {
  --char: #0c0b09; --char-2: #12110e; --char-3: #1a1814; --ink: #0c0b09;
  --paper: #f3ede0; --muted: #a39c8c; --red: #de1c2b; --ember: #ff6a2b; --gold: #e3b575; --line: #ffffff1a;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --header-space: 104px;
}
body { background: var(--char); }
/* Grano fotográfico muy leve sobre toda la página. */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Acento serif editorial en las palabras destacadas (fuera de sucursales). */
main > :not(#ubicacion) :is(h1, h2) em, .outro-title em, .footer-mark em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .06em; color: var(--gold);
}
main > :not(#ubicacion) h2 { font-size: clamp(48px, 6.2vw, 100px); line-height: .88; letter-spacing: -.02em; }

/* ---------- Cabecera ---------- */
.glass-header { background: #0f0e0cb8; border-color: #ffffff17; border-radius: 10px; box-shadow: 0 18px 50px #0006; }
nav a { position: relative; padding: 6px 0; letter-spacing: .02em; }
nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
nav a:hover { color: var(--paper); }
.button { border-radius: 2px; letter-spacing: .04em; }
.button span { display: inline-block; transition: transform .3s var(--ease-out); }
.button:hover span { transform: translate(3px, -3px); }
.eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: .26em; }
main > :not(#ubicacion) .eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--ember); flex: none; }

/* ---------- Franja roja ---------- */
.marquee { background: var(--red); padding: 22px 0; box-shadow: inset 0 1px 0 #ffffff26, inset 0 -1px 0 #0000004d; }
.marquee-track > div { font-size: 30px; letter-spacing: .02em; }
.marquee i { width: 58px; height: 32px; }

/* ---------- Encabezados de sección ---------- */
.section-heading { align-items: end; margin-bottom: 40px; }
.section-heading > p { font-size: 14px; line-height: 1.75; max-width: 34ch; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .section.motion-enter:not(#ubicacion) .section-heading > div > *,
  .section.motion-enter:not(#ubicacion) .section-heading > p,
  .workshops.motion-enter > div > * { animation: riseIn .9s var(--ease-out) both; }
  .section.motion-enter:not(#ubicacion) .section-heading h2, .workshops.motion-enter h2 { animation-delay: .08s; }
  .section.motion-enter:not(#ubicacion) .section-heading > p, .workshops.motion-enter > div > p:not(.eyebrow) { animation-delay: .18s; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-10% -5% -20% -5%); } }

/* ---------- La carta ---------- */
#menu .categories button { border-color: #ffffff22; letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s; }
#menu .categories button:hover { border-color: var(--ember); color: var(--paper); }
#menu .categories button.active { background: var(--paper); color: var(--char); }
#menu .dish-card { position: relative; }
#menu .dish-img { border-radius: 3px; background: radial-gradient(120% 90% at 50% 100%, #3a1a0c 0%, #17130f 55%, var(--char) 100%); }
#menu .dish-img > img { transition: transform 1.1s var(--ease-out), filter .6s; }
#menu .dish-card:hover .dish-img > img, #menu .dish-card:focus-visible .dish-img > img { transform: scale(1.045); filter: saturate(1.08); }
#menu .dish-img::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, #0c0b09b3 100%); }
#menu .photo-pending { color: #b9ad97; letter-spacing: .2em; }
#menu .photo-pending img { mix-blend-mode: screen; opacity: .5; }
#menu .dish-info > small { letter-spacing: .24em; color: var(--ember); }
#menu .dish-info h3 { font-size: clamp(28px, 2.4vw, 38px); letter-spacing: -.01em; transition: color .25s; }
#menu .dish-info > div { border-top: 1px solid var(--line); padding-top: 12px; }
#menu .dish-info b { font: 600 20px 'Barlow Condensed', sans-serif; letter-spacing: .02em; color: var(--paper); }
#menu .dish-info span { font-size: 12px; color: var(--muted); transition: color .25s; }
#menu .dish-card:hover .dish-info span { color: var(--ember); }

/* ---------- Así somos ---------- */
.story { gap: 7%; }
.story-image { max-width: 460px; height: 580px; border-radius: 220px 220px 4px 4px; box-shadow: 0 40px 90px #000a; }
.story-image::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(90% 60% at 50% 110%, #ff6a2b40, transparent 70%); mix-blend-mode: screen; }
.story-image > span { z-index: 2; font-size: 30px; letter-spacing: .01em; padding: 28px 20px; }
.story-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; max-width: 44ch; }
.story-copy > p:first-of-type:not(.eyebrow) { color: var(--paper); }

/* ---------- Catering y talleres ---------- */
.experiences { border-top: 1px solid var(--line); }
.product-grid { gap: 20px; margin-top: 40px; }
.experience-card { position: relative; display: flex; flex-direction: column; padding: 30px; border: 1px solid #ffffff14; border-radius: 4px; background: linear-gradient(160deg, #1a1814 0%, #110f0d 100%); overflow: hidden; transition: border-color .3s, transform .45s var(--ease-out); }
.experience-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--red), var(--ember)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.experience-card:hover::before, .experience-card:focus-within::before { transform: scaleX(1); }
.experience-card:hover { border-color: #ffffff29; transform: translateY(-4px); }
.experience-card > img { border-radius: 2px; height: 220px; }
.experience-card .eyebrow { margin-bottom: 18px; }
.experience-card h3 { font-size: 36px; margin-bottom: 14px; }
.experience-card > strong { margin-top: auto; padding-top: 16px; font: 600 26px 'Barlow Condensed', sans-serif; color: var(--paper); }
.experience-card .button { align-self: flex-start; }
.empty-note { border-left: 1px solid var(--ember); padding: 14px 22px; font-size: 14px; }
.workshops { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 50px 7%; align-items: start; max-width: none; background: radial-gradient(70% 90% at 0% 100%, #ff6a2b14, transparent 60%), var(--char-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshops > div:first-child { position: sticky; top: calc(var(--header-space) + 20px); max-width: 560px; }
.workshops > div > p:not(.eyebrow) { font-size: 16px; line-height: 1.75; }
.workshops .product-grid { margin-top: 0; }

/* ---------- Comunidad ---------- */
.social-video { border: 1px solid #ffffff14; border-radius: 4px; background: #13110f; padding: 24px; transition: border-color .3s; }
.social-video:hover { border-color: #ffffff2e; }
.social-video .embed-holder { border: 0; border-radius: 2px; background: radial-gradient(80% 60% at 50% 100%, #ff6a2b26, transparent 70%), #0b0a08; }
.embed-holder button { width: 68px; height: 68px; border-color: #ffffff59; background: #0c0b0999; backdrop-filter: blur(8px); transition: background .25s, transform .3s var(--ease-out); }
.embed-holder button:hover { background: var(--red); transform: scale(1.06); }
.social-link { border-radius: 40px; border-color: #ffffff22; transition: border-color .25s, color .25s; }
.social-link:hover { color: var(--paper); }

/* ---------- Pie ---------- */
footer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px 40px; align-items: center; padding: 0 6vw 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-mark { grid-column: 1 / -1; min-width: 0; overflow: hidden; margin: 0 0 8px; padding-top: 40px; font: 900 clamp(64px, 17.5vw, 300px)/.78 'Barlow Condensed', sans-serif; letter-spacing: -.035em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px #ffffff26; background: linear-gradient(180deg, #ffffff12, transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ---------- Ficha del plato ---------- */
dialog { border-radius: 6px; background: #151310; border-color: #ffffff1f; box-shadow: 0 40px 120px #000c; }
#dishDetail h2 { font-size: clamp(40px, 6vw, 60px); }

@media (max-width: 760px) {
  :root { --header-space: 84px; }
  main > :not(#ubicacion) h2 { font-size: clamp(44px, 12vw, 64px); }
  .section-heading > p { text-align: left; }
  .marquee-track > div { font-size: 22px; }
  .story-image { height: 460px; border-radius: 180px 180px 4px 4px; }
  .workshops { grid-template-columns: 1fr; }
  .workshops > div:first-child { position: static; }
  footer { grid-template-columns: minmax(0, 1fr); padding: 0 20px 28px; }
  .footer-mark { font-size: 22vw; }
}
@media (max-width: 400px) {
  .glass-header { gap: 10px; }
  .brand small { letter-spacing: 1px; }
  .menu-toggle { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .experience-card, .experience-card::before, nav a::after { transition: none; }
}
