:root {
  --ink: #111111;
  --ink-2: #2a2a2a;
  --paper: #f7f2e8;
  --paper-2: #efe7d7;
  --white: #ffffff;
  --red: #e41b1b;      /* rojo del logo (#f81e1d), apenas más oscuro para contraste con texto blanco */
  --red-dark: #9e0200; /* sombra del logo */
  --caramel: #c98a3c;
  --muted: #5d5850;
  --line: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 4px;
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --body: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tone: radial-gradient(circle, rgba(17,17,17,.16) 1.2px, transparent 1.4px) 0 0 / 9px 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.jp { font-family: var(--body); font-weight: 900; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
  padding: 13px 22px; border: var(--line); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-red { background: var(--red); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--red); }
.btn-ink:hover { box-shadow: 6px 6px 0 var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 4px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img {
  width: 84px; height: 84px; margin: 10px 0 -30px; /* cuelga por debajo del header como un sello */
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,.55));
  transition: transform .2s ease;
}
.logo:hover .logo-img { transform: rotate(-8deg) scale(1.04); }
.logo-text {
  font-weight: 900; font-size: 12px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: #cfc8bb;
}
.logo-foot .logo-img { width: 96px; height: 96px; margin: 0; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 3px;
}
.nav a:hover { background: var(--ink-2); }
.nav .nav-ig { background: var(--red); margin-left: 6px; }
.nav .nav-ig:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--white); margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    var(--tone),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding: 72px 0 80px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
  background: var(--ink); color: var(--white); padding: 6px 12px 6px 6px; border-radius: 3px;
  margin-bottom: 22px;
}
.kicker .jp { background: var(--red); padding: 2px 8px; border-radius: 2px; letter-spacing: .05em; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); }
.hero h1 em {
  font-style: normal; color: var(--red);
  -webkit-text-stroke: 0; display: inline;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-brands { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-brands a {
  display: flex; flex-direction: column; text-decoration: none;
  border-left: 5px solid var(--red); padding: 2px 0 2px 12px;
}
.hero-brands strong { font-size: 17px; }
.hero-brands span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.hero-brands a:hover strong { color: var(--red); }

.hero-panel {
  position: relative; margin: 0;
  border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  background: var(--white); transform: rotate(1.5deg);
}
.hero-panel img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: contrast(1.05) saturate(1.1); }
.bubble {
  position: absolute; background: var(--white); color: var(--ink);
  border: var(--line); border-radius: 50%; font-weight: 900;
  padding: 18px 26px; text-align: center; line-height: 1.2;
}
.bubble::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  background: var(--white); border-right: var(--line); border-bottom: var(--line);
}
.bubble-hero { top: -34px; left: -26px; font-size: 18px; transform: rotate(-6deg); }
.bubble-hero::after { bottom: -13px; right: 34px; transform: rotate(45deg) skew(12deg, 12deg); }
.hero-panel .hero-sticker {
  aspect-ratio: 1; object-fit: contain;
  position: absolute; right: -34px; bottom: -44px; width: 150px; height: 150px;
  transform: rotate(10deg);
  filter: drop-shadow(5px 6px 0 var(--ink));
}

.ticker { background: var(--red); color: var(--white); border-top: var(--line); overflow: hidden; }
.ticker-track {
  display: flex; gap: 22px; width: max-content; padding: 12px 0;
  font-family: var(--display); font-size: 20px; letter-spacing: .06em;
  animation: ticker 28s linear infinite;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { margin-bottom: 44px; max-width: 720px; }
.chapter {
  display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.section-sub { font-size: 18px; color: var(--muted); margin-top: 14px; }

/* Dos marcas */
.intro { background: var(--white); border-bottom: var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.brand-card {
  position: relative; overflow: hidden;
  border: var(--line); box-shadow: var(--shadow); padding: 36px 32px 32px; border-radius: var(--radius);
}
.brand-card h3 { font-size: 28px; margin-bottom: 14px; position: relative; }
.brand-card p { position: relative; max-width: 30em; }
.brand-jp {
  position: absolute; right: -8px; top: -14px;
  font-family: var(--body); font-weight: 900; font-size: 120px; line-height: 1; opacity: .12;
}
.brand-manga { background: var(--tone), var(--paper); }
.brand-cafe { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 var(--red); }
.brand-cafe .brand-jp { color: var(--white); opacity: .14; }
.link-arrow {
  display: inline-block; margin-top: 20px; font-weight: 900; text-decoration: none;
  border-bottom: 3px solid var(--red); padding-bottom: 2px; position: relative;
}
.link-arrow::after { content: " →"; }

/* Comiquería */
.comic { background: var(--paper); }
.panels {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, auto); gap: 16px;
}
.panel {
  background: var(--white); border: var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.panel:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.panel-big { grid-row: span 2; }
.panel-wide { grid-column: span 2; }
.panel-body { padding: 20px 22px 24px; border-top: var(--line); }
.panel-body h3 { font-size: 24px; margin-bottom: 8px; }
.panel-body p { color: var(--ink-2); }
.panel-art { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; }
.panel-big .panel-art { height: auto; flex: 1; min-height: 260px; }

.art-manga { background: var(--tone), var(--paper-2); display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding: 0 24px; }
.art-book { width: 42px; border: var(--line); border-bottom: 0; border-radius: 3px 3px 0 0; position: relative; }
.art-book::before { content: ""; position: absolute; left: 6px; right: 6px; top: 18px; height: 10px; background: var(--white); border: 2px solid var(--ink); }
.b1 { height: 170px; background: var(--red); }
.b2 { height: 200px; background: var(--ink); }
.b2::before { background: var(--red); }
.b3 { height: 185px; background: var(--white); }
.b3::before { background: var(--ink); }
.b4 { height: 215px; background: var(--caramel); }
.b5 { height: 160px; background: var(--ink-2); transform: rotate(8deg); transform-origin: bottom left; }

.art-jp {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, var(--red) 0 10deg, #ff4b3e 10deg 20deg);
}
.art-jp span {
  font-family: var(--body); font-weight: 900; font-size: 58px; line-height: 1; color: var(--white);
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; transform: rotate(-6deg);
  text-shadow: 5px 5px 0 var(--ink);
}
.art-gacha { background: var(--ink); display: flex; gap: 14px; justify-content: center; align-items: center; }
.capsule {
  width: 62px; height: 62px; border-radius: 50%; border: 3px solid var(--white);
  background: linear-gradient(180deg, var(--c) 0 50%, var(--white) 50% 100%);
  position: relative;
}
.capsule::after { content: ""; position: absolute; left: -3px; right: -3px; top: calc(50% - 2px); height: 4px; background: var(--ink); }
.c1 { --c: var(--red); transform: translateY(-14px); }
.c2 { --c: #ffe14d; }
.c3 { --c: #4dc3ff; transform: translateY(12px); }
.art-figure { background: var(--caramel); }
.art-figure span {
  font-size: 110px; line-height: 1; color: var(--white);
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; transform: rotate(12deg);
}

.pay-strip {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  border: var(--line); border-radius: var(--radius); background: var(--white); padding: 22px 26px;
  box-shadow: var(--shadow);
}
.pay-strip p { max-width: 640px; }

/* Café */
.cafe { background: var(--ink); color: var(--white); border-top: var(--line); }
.cafe .section-sub { color: #bdb6aa; }
.cafe .chapter { color: #ff5a4f; }
.favs {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.fav {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 3px solid var(--white); background: #222;
}
.fav img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fav:hover img { transform: scale(1.05); }
.fav-tall { grid-row: span 2; }
.fav-wide { grid-column: span 2; }
.fav figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 14px 12px; font-weight: 900; font-size: 17px; line-height: 1.2;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.fav figcaption small { display: block; font-weight: 500; font-size: 13px; color: #d6d0c4; margin-top: 3px; }
.tag {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px;
  background: var(--red); border-radius: 2px; font-size: 13px; vertical-align: 2px;
}
.perks {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.perks li {
  border: 2px solid #3a3a3a; border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.perk-ico { font-size: 28px; }
.perks strong { font-size: 18px; }
.perks li > span:last-child { color: #bdb6aa; font-size: 15px; }

/* Menú */
.menu { background: var(--tone), var(--paper); border-top: var(--line); }
.menu-tools {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px;
}
.menu-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-tabs button {
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  padding: 7px 14px;
}
.menu-tabs button:hover { background: var(--paper-2); }
.menu-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.menu-search input {
  font: inherit; font-size: 15px; width: min(320px, 100%);
  padding: 10px 14px; border: var(--line); border-radius: var(--radius); background: var(--white);
}
.menu-search { flex: 0 1 320px; }
.menu-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start;
}
.menu-col:only-child { grid-column: 1 / -1; width: 100%; max-width: 760px; }
.menu-cat {
  background: var(--white); border: var(--line); border-radius: var(--radius);
  padding: 22px 24px 14px; margin-bottom: 28px; box-shadow: var(--shadow);
}
.menu-cat h3 {
  font-size: 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: var(--line); padding-bottom: 12px; margin-bottom: 8px;
}
.menu-cat h3 .jp { font-size: 15px; color: var(--red); }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.menu-cat li {
  display: flex; align-items: baseline; gap: 8px; padding: 10px 0;
  border-bottom: 1px dashed #cfc6b4;
}
.menu-cat li:last-child { border-bottom: 0; }
.mi-name { font-weight: 700; flex: 0 1 auto; }
.mi-name small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; line-height: 1.4; }
.mi-dots { flex: 1 1 20px; border-bottom: 2px dotted #b3aa98; transform: translateY(-4px); min-width: 16px; align-self: flex-start; margin-top: 16px; }
.mi-price { font-weight: 900; white-space: nowrap; font-variant-numeric: tabular-nums; align-self: flex-start; }
.menu-empty { font-weight: 700; padding: 24px 0; grid-column: 1 / -1; }

/* Visitanos */
.visit { background: var(--white); border-top: var(--line); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info { margin: 0 0 32px; display: grid; gap: 20px; }
.info div { border-left: 5px solid var(--red); padding-left: 16px; }
.info dt { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--muted); }
.info dd { margin: 4px 0 0; font-size: 19px; font-weight: 700; }
.info dd small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; }
.ig-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ig-links a { color: var(--red-dark); }
.map-frame {
  border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--red); border-radius: var(--radius);
  overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #bdb6aa; border-top: 4px solid var(--red); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.logo-foot { color: var(--white); }
.fine { font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 56px; }
  .hero-panel { max-width: 620px; margin-inline: auto; width: calc(100% - 20px); }
  .panels { grid-template-columns: 1fr 1fr; }
  .panel-big { grid-column: span 2; grid-row: auto; }
  .favs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .menu-list { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 4px solid var(--red);
    padding: 8px 16px 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid #2c2c2c; font-size: 17px; }
  .nav .nav-ig { margin: 12px 0 0; text-align: center; border-bottom: 0; }
  .section { padding: 72px 0; }
  .split { grid-template-columns: 1fr; }
  .bubble-hero { left: -8px; top: -30px; font-size: 15px; padding: 14px 18px; }
  .hero-panel .hero-sticker { width: 104px; height: 104px; right: -10px; bottom: -34px; }
  .logo-img { width: 66px; height: 66px; margin: 6px 0 -18px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .panels { grid-template-columns: 1fr; }
  .panel-big, .panel-wide { grid-column: auto; }
  .favs { grid-auto-rows: 160px; gap: 10px; }
  .fav-wide { grid-column: span 2; }
  .fav figcaption { font-size: 15px; padding: 28px 10px 10px; }
  .perks { grid-template-columns: 1fr; }
  .menu-cat { padding: 18px 16px 10px; }
  .menu-cat h3 { font-size: 21px; }
  .brand-card { padding: 28px 22px 24px; }
  .pay-strip { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .btn, .panel, .fav img { transition: none; }
}
