/* =========================================================
   Super Tomy · 多美廚具用品專賣店
   Colores del logo (rojo, azul marino, dorado) sobre crema
   ========================================================= */
:root {
  --red: #c8161d;
  --red-deep: #8f0d12;
  --navy: #0a2455;
  --navy-deep: #061738;
  --gold: #e9b13a;
  --gold-soft: #f7e1a6;
  --cream: #fbf5ea;
  --paper: #fffbf3;
  --ink: #14203d;
  --muted: #5f6478;
  --line: #ecdcc4;
  --wa: #1f9d55;
  --wa-deep: #157a41;
  --radius: 18px;
  --shadow: 0 12px 30px -14px rgba(10, 36, 85, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --han: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --mark: Montserrat, "Arial Black", sans-serif;
  /* alias usados por el logo en HTML (logo.html) */
  --mustard: var(--gold);
  --gold-dark: #d99a06;
  --navy-dark: var(--navy-deep);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.05; margin: 0 0 .4em; color: var(--navy); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
h2 em, h1 em { color: var(--red); font-style: italic; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
[lang="zh-Hant"], .han { font-family: var(--han); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow.light { color: var(--gold); }
.link { color: var(--red); font-weight: 700; text-decoration: none; }

/* ---------- AVISO COSTA RICA ---------- */
.abroad {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--navy-deep); color: var(--gold-soft);
  padding: 8px 48px; font-size: .88rem; font-weight: 700; text-align: center; position: relative;
}
.abroad p { margin: 0; }
.abroad button {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; line-height: 1;
}
.abroad[hidden] { display: none; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 10px clamp(16px, 4vw, 40px);
  background: rgba(251, 245, 234, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-cart { width: 48px; height: auto; transition: transform .3s; }
.brand:hover .brand-cart { transform: rotate(-8deg) translateX(-2px); }
.brand-name { font: 900 italic 1.2rem/1.05 var(--mark); color: var(--navy); letter-spacing: -.02em; }
.brand-name b { color: var(--red); font-weight: inherit; }
.brand-name em {
  display: block; font: 500 normal .7rem/1.3 var(--sans); color: var(--red);
  letter-spacing: .1em; text-transform: uppercase; margin-top: 2px;
}
.brand-name em [lang] { letter-spacing: .02em; font-weight: 700; }
.nav-links { display: flex; gap: 20px; font-size: .95rem; }
.nav-links a { text-decoration: none; font-weight: 500; position: relative; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--red); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.status {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); white-space: nowrap;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: #aaa; }
.status.open { color: #146c3c; }
.status.open i { background: var(--wa); animation: ping 1.8s infinite; }
.status.closed { color: var(--red-deep); }
.status.closed i { background: var(--red); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0); } }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 9px; }
.menu-btn span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 4.5px 0; transition: .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BOTONES ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 99px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--navy); color: var(--navy);
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--navy); color: var(--cream); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; box-shadow: 0 8px 20px -8px var(--wa); }
.btn.wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(90vh, 780px);
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px;
  padding: 200px clamp(16px, 6vw, 80px) 80px;
  background:
    radial-gradient(circle at 82% 22%, rgba(233, 177, 58, .32), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(200, 22, 29, .13), transparent 45%),
    radial-gradient(circle at 50% 120%, rgba(10, 36, 85, .10), transparent 50%),
    var(--cream);
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; opacity: 0; animation: rise .8s forwards; }
.hero-kicker .eyebrow { margin: 0; }
.han-pill {
  display: inline-block; padding: 5px 12px; border-radius: 8px;
  background: var(--red); color: #fff; font-weight: 900; font-size: 1rem; letter-spacing: .08em;
  box-shadow: inset 0 -3px 0 var(--gold);
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -.025em; }
@media (min-width: 861px) { .h1-line { white-space: nowrap; } }
.h1-line { display: block; opacity: 0; transform: translateY(30px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.h1-line:nth-child(1) { animation-delay: .08s; }
.h1-line:nth-child(2) { animation-delay: .2s; }
.h1-line:nth-child(3) { animation-delay: .32s; font-size: .5em; font-weight: 600; margin-top: .25em; }
.h1-line.accent { color: var(--red); font-style: italic; font-weight: 700; }
@keyframes rise { to { opacity: 1; transform: none; } }
.lede { font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 540px; color: var(--muted); margin: 22px 0 30px; opacity: 0; animation: rise .8s .45s forwards; }
.hero .cta-row { opacity: 0; animation: rise .8s .6s forwards; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .95rem; opacity: 0; animation: rise .8s .75s forwards; }
.hero-note a { color: var(--navy); font-weight: 700; }
.hero-watermark {
  position: absolute; right: -1vw; bottom: -5vw; z-index: 0;
  font-family: var(--han); font-weight: 900; font-size: clamp(9rem, 30vw, 25rem); line-height: 1;
  color: var(--red); opacity: .055; pointer-events: none; user-select: none; writing-mode: vertical-rl;
}

/* utensilios colgando de un riel de cocina */
.rail { position: absolute; inset: 0 0 auto 0; height: 220px; z-index: 1; pointer-events: none; }
.rail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 9px; border-radius: 5px;
  background: linear-gradient(180deg, #f2f4f7 0%, #b9c1cc 45%, #7d8797 100%);
  box-shadow: 0 3px 6px -2px rgba(10, 36, 85, .35);
}
.tool {
  position: absolute; top: 18px; left: var(--x); width: 34px;
  transform-origin: 50% 0; animation: sway 4.6s ease-in-out var(--d) infinite alternate;
}
.tool::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: var(--h);
  margin-left: -1px; background: linear-gradient(180deg, #8b95a5, #c9cfd8);
}
.tool svg { position: absolute; top: var(--h); left: 0; width: 34px; height: auto; filter: drop-shadow(0 6px 6px rgba(10, 36, 85, .25)); }
@keyframes sway { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }

/* collage de fotos reales */
.hero-art { position: relative; z-index: 2; height: clamp(360px, 40vw, 520px); }
.collage { position: absolute; inset: 0; }
.snap {
  position: absolute; left: 50%; top: 50%; width: min(48%, 250px); aspect-ratio: 3 / 4.2; margin: 0;
  background: #fff; padding: 10px 10px 40px; border-radius: 6px; cursor: pointer;
  box-shadow: 0 22px 40px -20px rgba(10, 36, 85, .55), 0 2px 6px rgba(0, 0, 0, .08);
  transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--r));
  transition: transform .5s cubic-bezier(.3, .7, .2, 1);
  opacity: 0; animation: drop .8s cubic-bezier(.2, .8, .2, 1) forwards;
}
.snap:nth-child(1) { animation-delay: .35s; z-index: 1; }
.snap:nth-child(2) { animation-delay: .5s; z-index: 2; }
.snap:nth-child(3) { animation-delay: .65s; z-index: 3; }
.snap img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.snap figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--navy); }
.snap:hover { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty) - 8px)) rotate(calc(var(--r) * .6)); }
.snap.front { z-index: 4; }
@keyframes drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }
.spin-badge {
  position: absolute; left: -2%; top: 4%; z-index: 5; width: clamp(96px, 11vw, 132px);
  filter: drop-shadow(0 10px 14px rgba(10, 36, 85, .25));
  animation: spin 22s linear infinite;
}
.spin-badge text { font: 800 15px var(--sans); letter-spacing: 3.2px; fill: var(--red); }
.spin-badge image { transform-origin: 100px 100px; animation: spin 22s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- TICKER ---------- */
.ticker {
  overflow: hidden; background: var(--navy); color: #fff; padding: 14px 0;
  border-top: 4px solid var(--red); border-bottom: 4px solid var(--gold);
}
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker-track span { white-space: nowrap; padding: 0 28px; font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; gap: 10px; }
.ticker-track span::after { content: "✦"; color: var(--gold); margin-left: 28px; }
.ticker-track b { color: var(--gold); font-size: 1.1rem; letter-spacing: .06em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- CATEGORÍAS (iconos) ---------- */
.icon-strip {
  max-width: 1180px; margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px) 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.icon-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px 16px; font: inherit; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon-card .ic {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(180deg, #123272, var(--navy-deep)); transition: transform .3s;
}
.icon-card:hover .ic { transform: rotate(-8deg) scale(1.06); }
.icon-card .ic svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-card b { font-family: var(--han); color: var(--red); font-size: 1.15rem; letter-spacing: .08em; }
.icon-card > span:last-child { font-weight: 700; font-size: .95rem; }

/* ---------- STATS ---------- */
.stats {
  max-width: 1180px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px) 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--red); line-height: 1; margin-bottom: 6px; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- SECCIONES ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: 96px clamp(16px, 4vw, 40px) 0; }
.section-head { max-width: 660px; margin-bottom: 30px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* chips de filtro */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: #fff; color: var(--navy);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* tarjetas de productos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s, opacity .7s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card.hide { display: none; }
.card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-photo img { transform: scale(1.06); }
.card-han {
  position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--han); font-weight: 900; font-size: 1.4rem;
  background: rgba(255, 251, 243, .92); color: var(--red); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
  transition: transform .3s;
}
.card:hover .card-han { transform: rotate(-12deg) scale(1.08); }
.card-body { padding: 20px 22px 24px; }
.card-tag { font-size: .75rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .1em; }
.card h3 { margin: 6px 0 6px; }
.card p { color: var(--muted); margin: 0; }
.card.featured { border: 2px solid var(--red); }
.card.featured .card-tag { display: inline-block; background: var(--gold); color: var(--navy-deep); padding: 3px 9px; border-radius: 99px; }

/* "y mucho más" */
.more {
  margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--paper); border: 2px dashed var(--red); border-radius: var(--radius); padding: 24px 28px;
}
.more-stamp {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--red); color: #fff; transform: rotate(-8deg);
  box-shadow: inset 0 0 0 5px var(--red), inset 0 0 0 7px var(--gold-soft), 0 14px 26px -12px rgba(143, 13, 18, .7);
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.more:hover .more-stamp { transform: rotate(4deg) scale(1.05); }
.more-stamp span { font-family: var(--han); font-weight: 900; font-size: .95rem; letter-spacing: .1em; color: var(--gold-soft); }
.more-stamp b { font: 900 italic 2.1rem/1 var(--mark); letter-spacing: -.02em; }
.more-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .2em; }
.more-body p { color: var(--muted); margin-bottom: .7em; }
.more-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.more-list li { font-size: .88rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.more-list li::after { content: ""; }
.more .btn { white-space: nowrap; }

/* para negocios */
.pro {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(233, 177, 58, .28), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(200, 22, 29, .35), transparent 50%),
    var(--navy);
  color: #fff; border-radius: 28px; padding: clamp(30px, 5vw, 60px);
  box-shadow: 0 30px 60px -30px rgba(10, 36, 85, .7);
}
.pro h2 { color: #fff; }
.pro h2 em { color: var(--gold); }
.pro p { color: #c9d2e6; font-size: 1.05rem; }
.pro .btn { margin-top: 6px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.why-list li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.why-list li:last-child { border-bottom: 0; }
.num { font-family: var(--serif); font-style: italic; font-weight: 800; color: var(--gold); font-size: 1.6rem; min-width: 2.2ch; line-height: 1; }
.why-list h3 { color: #fff; font-size: 1.2rem; margin-bottom: .2em; }
.why-list p { margin: 0; font-size: .98rem; }

/* galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(6, 23, 56, .8));
}

/* visítenos */
.storefront {
  position: relative; margin: 0 0 24px; border-radius: 24px; overflow: hidden;
  aspect-ratio: 16 / 7; background: var(--line); box-shadow: var(--shadow);
}
.storefront img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.storefront figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; color: #fff;
  padding: 70px clamp(18px, 3vw, 32px) clamp(16px, 2.5vw, 26px); font-size: clamp(.95rem, 1.6vw, 1.15rem);
  background: linear-gradient(transparent, rgba(6, 23, 56, .85));
}
.storefront strong { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.1; margin-bottom: .2em; }
.storefront em { font-style: normal; color: var(--gold); font-weight: 700; }
.storefront .han { color: var(--gold-soft); font-weight: 900; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.visit-stack { display: grid; gap: 18px; align-content: start; }
.visit-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.visit-card .eyebrow { margin-bottom: 8px; }
.visit-card h3 { font-size: 1.3rem; line-height: 1.25; }
.links { display: flex; gap: 18px; margin: 0; }
.links a { color: var(--red); font-weight: 700; text-decoration: none; }
.links a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 7px 10px; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { background: #fff; font-weight: 700; color: var(--navy); }
.hours tr.today td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.contact {
  display: flex; flex-direction: column; gap: 2px; text-decoration: none;
  padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  transition: transform .15s, border-color .2s;
}
.contact:hover { transform: translateY(-2px); border-color: var(--navy); }
.contact small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact b { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.contact.wa-c { background: var(--wa); border-color: var(--wa); }
.contact.wa-c small, .contact.wa-c b { color: #fff; }
.visit-card .cr { margin: 14px 0 0; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- FOOTER ---------- */
.footer { margin-top: 120px; background: var(--navy-deep); color: var(--cream); position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 50%, var(--gold) 50%); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 46px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.footer-cart { width: 120px; height: auto; margin-top: -62px; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .35)); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.footer-brand { font: 900 italic 1.8rem/1 var(--mark); margin: 0; letter-spacing: -.02em; color: #fff; }
.footer-brand b { color: #ff4a4f; font-weight: inherit; }
.footer .han { color: var(--gold); font-weight: 900; font-size: 1.15rem; letter-spacing: .08em; }
.footer .muted { color: #9fb0d0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }

/* botón flotante */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .4); transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.fab.show { transform: scale(1); }
.fab.show:hover { transform: scale(1.08); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 6px 20px 16px;
    box-shadow: 0 16px 24px -18px rgba(0, 0, 0, .35); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 180px; padding-bottom: 50px; }
  .hero-art { height: 400px; }
  .icon-strip { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .icon-card { scroll-snap-align: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pro, .visit-grid { grid-template-columns: 1fr; }
  .more { grid-template-columns: auto 1fr; }
  .more .btn { grid-column: 1 / -1; justify-self: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .tool-hide-sm { display: none; }
}
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .brand-name { font-size: 1.05rem; }
  .brand-name em { display: none; }
  .brand-cart { width: 40px; }
  .hero { padding-top: 165px; }
  .tool, .tool svg { width: 25px; }
  .rail { height: 150px; }
  .hero-art { height: 340px; }
  .snap { width: 52%; }
  .cta-row .btn { width: 100%; }
  .stats { gap: 8px; }
  .stat { padding: 16px 6px; }
  .stat span { font-size: .78rem; }
  .cards { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; justify-items: start; padding: 22px 20px; }
  .more-stamp { width: 110px; height: 110px; }
  .more-stamp b { font-size: 1.75rem; }
  .more .btn { width: 100%; }
  .gallery { gap: 10px; }
  .storefront { aspect-ratio: 4 / 3; }
  .storefront img { object-position: 92% center; }
  .map, .map iframe { min-height: 320px; }
  .section { padding-top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .h1-line, .lede, .hero .cta-row, .hero-note, .hero-kicker, .snap { opacity: 1 !important; transform: none; }
  .snap { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--r)); }
}

/* ===== Logo en HTML/CSS (escala según su propio ancho) ===== */
.brand-logo { container-type: inline-size; width: 100%; max-width: 900px; }
.bl { display: flex; align-items: center; gap: 1.5cqi; }
.bl-cart { width: 29cqi; height: auto; flex: none; filter: drop-shadow(0 .6cqi .8cqi rgba(10, 36, 85, .18)); }
.bl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.bl-name {
  position: relative; white-space: nowrap;
  font: 900 italic 10.4cqi/1 Montserrat, sans-serif; letter-spacing: -.035em;
  color: var(--ink); padding-top: 2.2cqi;
  text-shadow: 0 .35cqi 0 rgba(4, 26, 64, .18);
}
.bl-name b { color: var(--red); font-weight: inherit; }
.bl-name::before {            /* arco dorado sobre el nombre */
  content: ""; position: absolute; left: 22%; right: 6%; top: 0; height: 5cqi;
  border-top: .85cqi solid var(--mustard); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.bl-band {
  position: relative; margin-top: 1.4cqi; align-self: stretch;
  display: flex; align-items: center;
  padding: 1cqi 9cqi 1.2cqi 2.6cqi; border-radius: 1.6cqi 5cqi 5cqi 1.6cqi;
  background: linear-gradient(180deg, #ea2026 0%, #c40f15 55%, #9e0a0c 100%);
  box-shadow: inset 0 .4cqi 0 rgba(255, 255, 255, .25), 0 .7cqi 0 var(--mustard), 0 1.2cqi 1.4cqi rgba(10, 36, 85, .18);
}
.bl-cn {
  font: 900 5.4cqi/1.15 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #fff; letter-spacing: .06em; white-space: nowrap;
  text-shadow: 0 .3cqi 0 rgba(90, 0, 0, .45);
}
.bl-hat { position: absolute; right: -1.2cqi; top: 50%; width: 9cqi; height: 9cqi; transform: translateY(-58%) rotate(8deg); }
.bl-tag {
  margin: 1.5cqi 0 0 1.5cqi; align-self: stretch; white-space: nowrap; text-align: center;
  font: 800 italic 3.3cqi/1 Montserrat, sans-serif; color: var(--navy-dark); letter-spacing: -.01em;
  padding: 1cqi 2cqi; border-radius: .6cqi 4cqi .6cqi 4cqi;
  background: linear-gradient(90deg, #fbd662 0%, var(--mustard) 45%, var(--gold-dark) 100%);
  box-shadow: inset 0 .3cqi 0 rgba(255, 255, 255, .5);
}
.bl-icons { display: flex; justify-content: space-between; gap: 1cqi; margin: 1.8cqi 0 0 1.5cqi; align-self: stretch; }
.bl-icons span {
  width: 8.2cqi; aspect-ratio: 1; flex: none; display: grid; place-items: center;
  border-radius: 1.3cqi; background: linear-gradient(180deg, #123272, var(--navy-dark));
  box-shadow: inset 0 .3cqi 0 rgba(255, 255, 255, .15);
}
.bl-icons svg { width: 68%; height: 68%; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
