/* =============================================================
   Maqueta 3 · "Panorama familiar" — editorial crema y cálida
   ============================================================= */

/* 1. Tokens */
:root {
  --bg: #f4efe6;
  --bg-2: #e8dfd0;
  --paper: #fffdf9;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --mute: #6b6b6b;
  --accent: #D9541F;
  --accent-2: #4a5d3a;
  --line: rgba(26, 26, 26, .12);
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 22px;
}

/* 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: 76px; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.05; letter-spacing: -.02em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: var(--bg); z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.demo { background: var(--accent-2); color: #f4efe6; text-align: center; font-size: 12.5px; font-weight: 500; padding: 7px 16px; }

/* 4. Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5.6vw, 3.7rem); font-variation-settings: "SOFT" 50; }
.h2 em, .hero-title em { font-style: italic; font-weight: 500; color: var(--accent); font-variation-settings: "SOFT" 100; }

/* 5. Components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .35s var(--ease-out), background .3s, box-shadow .3s; border: 1.5px solid var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(217, 84, 31, .28); }
.btn-line { background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

.nav { position: sticky; top: 12px; z-index: 50; padding: 0 12px; margin-top: 12px; }
.nav-pill { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 20px; background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 10px; box-shadow: 0 10px 30px rgba(26, 26, 26, .08); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand b { color: var(--accent); }
.nav-links { display: none; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--accent); }
.nav-pill .btn { margin-left: auto; }

/* 6. Sections */
.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; gap: 50px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.dot.is-open { background: #3f9a5b; box-shadow: 0 0 0 4px rgba(63, 154, 91, .18); }
.hero-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.9rem, 9vw, 5.8rem); line-height: .98; max-width: 12ch; font-variation-settings: "SOFT" 50; }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 44ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.badges li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; color: var(--mute); }
.badges b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-weight: 600; }

.collage { position: relative; height: 470px; max-width: 520px; width: 100%; justify-self: center; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--paper); box-shadow: 0 24px 50px rgba(26, 26, 26, .16); }
.collage .c1 { width: 58%; height: 86%; left: 4%; top: 2%; transform: rotate(-3deg); object-position: 50% 60%; }
.collage .c2 { width: 40%; height: 54%; right: 2%; top: 0; transform: rotate(4deg); }
.collage .c3 { width: 50%; height: 42%; right: 6%; bottom: 0; transform: rotate(-2deg); }
.sticker { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-10deg); width: 104px; height: 104px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.1rem; line-height: 1; box-shadow: 0 12px 26px rgba(217, 84, 31, .35); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 16px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-style: italic; font-size: 1.5rem; white-space: nowrap; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 44px; }
.marquee span::after { content: "✺"; color: var(--accent); font-style: normal; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.platos, .combos { padding: 90px 0; }
.sec-head { margin-bottom: 36px; max-width: 720px; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }

.bento { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .6s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(217, 84, 31, .28); }
.tile:hover img { transform: scale(1.08); filter: saturate(1.15) brightness(1.04); }
.tile-label { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: rgba(255, 253, 249, .94); border-radius: 14px; padding: 9px 12px; font-size: 14px; font-weight: 600; }
.tile-label b { font-family: var(--display); font-size: 1.1rem; color: var(--accent); white-space: nowrap; }
.tile-label em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 6px; vertical-align: 2px; }
.t-ramen { grid-column: 1 / -1; grid-row: span 2; }
.t-drink { grid-row: span 2; }
.t-wok { grid-column: 1 / -1; }
.more { margin-top: 30px; text-align: center; }

.combos { background: var(--paper); border-block: 1px solid var(--line); }
.combo-grid { display: grid; gap: 16px; }
.combo { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.combo h3 { font-family: var(--display); font-size: 1.9rem; font-weight: 600; }
.combo p { color: var(--ink-soft); margin-top: 8px; }
.combo-price { font-family: var(--display); font-size: 2.2rem !important; font-weight: 600; color: var(--accent) !important; margin-top: 18px !important; }
.combo-price s { font-family: var(--sans); font-size: 1rem; color: var(--mute); font-weight: 400; }
.combo .btn { margin-top: 18px; }
.combo-star { background: var(--accent-2); color: #f4efe6; border-color: var(--accent-2); }
.combo-star p { color: #dfe5d6; }
.combo-star .combo-price { color: #ffd4bd !important; }
.combo-star .combo-price s { color: #b8c4ab; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(74, 93, 58, .12); color: var(--accent-2); margin-bottom: 14px; }
.combo-star .tag { background: rgba(255, 255, 255, .16); color: #fff; }

.bebidas { padding: 90px 0 70px; }
.carousel-btns { display: flex; gap: 8px; }
.carousel-btns button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 18px; transition: background .3s, color .3s; }
.carousel-btns button:hover { background: var(--ink); color: var(--bg); }
.carousel { display: flex; gap: 16px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding: 6px max(20px, calc((100vw - 1200px) / 2 + 20px)) 30px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.drink { flex: none; width: 250px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease-out); }
.drink:hover { transform: translateY(-4px); }
.drink img { width: 100%; height: 260px; object-fit: cover; }
.drink h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; padding: 16px 18px 0; }
.drink p { color: var(--mute); font-size: 14px; padding: 4px 18px 0; }
.drink b { display: block; padding: 10px 18px 18px; font-family: var(--display); font-size: 1.3rem; color: var(--accent); }
.new { font-family: var(--sans); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 2px 6px; border-radius: 6px; vertical-align: 4px; }

.pedir { padding: 40px 0 90px; }
.pedir-box { position: relative; overflow: hidden; border-radius: 32px; padding: 50px 26px; text-align: center; background:
  radial-gradient(60% 80% at 15% 20%, rgba(217, 84, 31, .30), transparent 70%),
  radial-gradient(50% 70% at 85% 80%, rgba(74, 93, 58, .28), transparent 70%),
  radial-gradient(40% 60% at 60% 10%, rgba(255, 196, 140, .45), transparent 70%), var(--paper);
  border: 1px solid var(--line); }
.pedir-sub { font-size: 1.1rem; color: var(--ink-soft); margin: 14px auto 0; max-width: 44ch; }
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 28px 0 30px; }
.steps li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.steps span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--display); }

.visit { padding: 90px 0; border-top: 1px solid var(--line); }
.visit-grid { display: grid; gap: 36px; }
.visit-sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 12px; }
.hours { margin-top: 26px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dd { font-weight: 600; }
.visit-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-weight: 600; color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 6px solid var(--paper); box-shadow: 0 20px 40px rgba(26, 26, 26, .1); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: sepia(.25) saturate(.9); }

.footer { padding: 44px 0; background: var(--ink); color: #d9d3c7; }
.footer-row { display: grid; gap: 16px; justify-items: start; font-size: 14px; }
.footer img { border-radius: 50%; }
.footer b { color: #fff; }
.footer-note { color: #8f897d; font-size: 12.5px; }

.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: 1fr 2fr; gap: 8px; background: rgba(255, 253, 249, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: 0 14px 34px rgba(26, 26, 26, .16); }
.mobile-bar a { text-align: center; padding: 12px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.mobile-bar .mobile-wa { background: var(--accent); color: #fff; }

/* 7. Effects */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .tile.reveal.is-visible:hover { transform: translateY(-6px); }

/* 8. Responsive */
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .t-ramen { grid-column: span 2; grid-row: span 2; }
  .t-drink { grid-column: span 1; grid-row: span 2; }
  .t-dump { grid-column: span 1; }
  .t-wok { grid-column: span 2; }
  .t-rice, .t-fries { grid-column: span 1; }
  .combo-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .pedir-box { padding: 70px 50px; }
  .footer-row { grid-template-columns: auto 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-links { display: flex; }
  .nav-pill .btn { margin-left: 0; }
  .hero { padding: 70px 0 100px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .collage { height: 540px; }
  .visit-grid { grid-template-columns: 1fr 1.2fr; align-items: center; }
}

/* 9. Reduced motion: solo lo intrusivo */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 90s; }
}
