:root {
  --cream: #faf3f6;
  --cream-deep: #f5e8ef;
  --ink: #2a2420;
  --muted: #6b5e55;
  --rose: #e00362;
  --rose-deep: #ae024c;
  --line: #ecd6e0;
  --card: #fffdfb;
  --nav-bg: #e00362;
  --nav-bg-scrolled: #e00362;
  --radius: 14px;
  --tap: 48px;
  --nav-h: 4.25rem;
  --shadow: 0 8px 28px rgba(42, 36, 32, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; scroll-behavior: smooth; }
html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  padding-top: var(--nav-h);
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--nav-bg);
  transition: transform .28s ease, background .28s ease;
  transform: translateY(0);
}
.nav.is-scrolled { background: var(--nav-bg-scrolled); }
.nav.is-away { transform: translateY(-110%); pointer-events: none; }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; min-height: var(--nav-h); padding-block: .2rem;
}
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  justify-content: center; gap: .15rem;
  white-space: nowrap; line-height: 1;
  background: transparent;
}
.brand-mark {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1;
  opacity: .96;
  background: transparent;
  -webkit-font-smoothing: antialiased;
}
.brand-mark .brand-k {
  display: inline-block;
  font-size: 1.35em;
  font-weight: 700;
  line-height: .8;
  transform: translateY(.035em);
}
.brand-tagline {
  display: block;
  color: #fff;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.1;
  opacity: .78;
  white-space: nowrap;
}
.nav-links {
  display: none; align-items: center; gap: 1.1rem; font-size: .92rem; font-weight: 500;
}
.nav-links a { color: #fff; }
.nav-links a:hover { color: #ffe8f1; }
.nav-links .nav-cta,
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 1.05rem; border-radius: 999px;
  background: #fff; color: var(--rose) !important; font-weight: 700; font-size: .88rem;
  border: 1.5px solid #fff;
}
.nav-links .nav-cta:hover,
.nav-cta:hover { background: #ffe8f1; color: var(--rose-deep) !important; }
.nav-actions {
  display: flex; align-items: center; gap: .4rem; flex-shrink: 0;
}
.burger:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.burger {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.45);
}
.burger span {
  display: block; width: 18px; height: 2px; background: #fff;
  position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav.is-open .nav-links {
  display: flex; flex-direction: column; align-items: stretch;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--nav-bg); padding: 1rem 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.2); gap: .85rem;
}
.nav.is-open { transform: translateY(0); pointer-events: auto; }

@media (min-width: 860px) {
  .nav-actions { display: none; }
  .nav-links { display: flex; }
  .nav-links .nav-cta { margin-left: .4rem; }
}

/* Hero: video full + texto con sombra (sin velo/scrim; WEB.md) */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  color: #fff;
  background: #1a0c12;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: linear-gradient(160deg, #3a1424 0%, #1a0c12 55%, #12080c 100%);
}
.hero-media .slide {
  position: absolute; inset: 0;
  opacity: 0; z-index: 0;
  transition: opacity .55s ease;
}
.hero-media .slide.is-on { opacity: 1; z-index: 1; }
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}
.hero-media .slide:nth-child(1) video { object-position: center top; }
.hero-media .slide:nth-child(2) video { object-position: center top; }
.hero-media .slide:nth-child(3) video { object-position: center top; }
.hero-media .slide:nth-child(4) video { object-position: center top; }
@media (prefers-reduced-motion: reduce) {
  .hero-media .slide { transition: none; }
}
.hero-copy {
  position: relative; z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 2.6rem 0 0.85rem;
}
@media (max-width: 859px) {
  .hero-copy { padding: 1.8rem 0 0.7rem; }
}
.hero-eyebrow {
  color: #ffe8f1; font-size: .78rem; font-weight: 650;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.8), 0 0 12px rgba(0,0,0,.4);
}
.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.15; font-weight: 750; max-width: 22ch; margin-bottom: .4rem;
  color: #fff;
  -webkit-text-stroke: .4px rgba(0,0,0,.45);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0,0,0,.85),
    0 2px 10px rgba(0,0,0,.55),
    0 0 22px rgba(0,0,0,.4);
}
.hero-sub {
  font-size: 1.05rem; color: #f7eef2; max-width: 40ch; margin-bottom: 0;
  font-weight: 500;
  -webkit-text-stroke: .3px rgba(0,0,0,.35);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(0,0,0,.8),
    0 2px 10px rgba(0,0,0,.55),
    0 0 18px rgba(0,0,0,.4);
}


@media (min-width: 800px) {
  .hero { min-height: calc(100svh - var(--nav-h)); }
}
/* Sections */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--cream-deep); }
.section h2, .display {
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  font-weight: 750; line-height: 1.2; margin-bottom: .55rem;
  color: var(--rose-deep);
}
.lead { color: var(--muted); max-width: 42ch; margin-bottom: 1.5rem; }

/* Categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem .9rem; text-align: center; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s;
}
.cat-tile:hover { transform: translateY(-2px); border-color: var(--rose); color: var(--rose-deep); }

/* Product cards */
.chips {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem;
}
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.chip.is-on, .chip:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.prod-groups { display: block; }
.pcat-group { margin-top: 1.75rem; }
.pcat-group:first-child { margin-top: 0; }
.pcat-title {
  font-size: 1.05rem; font-weight: 700; line-height: 1.3;
  color: var(--rose); margin: 0 0 .85rem;
  letter-spacing: .02em;
}
.prod-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem;
}
@media (min-width: 720px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.pcard-ph {
  aspect-ratio: 4 / 5; background: linear-gradient(145deg, #f0d6e3, #e8c4d4);
  display: grid; place-items: center; color: var(--muted); font-size: .78rem;
  font-weight: 650; text-align: center; padding: .8rem; letter-spacing: .04em;
  text-transform: uppercase;
}
.pcard-img {
  aspect-ratio: 4 / 5; width: 100%; height: 100%; object-fit: contain;
  object-position: center; display: block; background: #f5e8ef; pointer-events: none;
}
button.pcard-shot {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; background: #f5e8ef; overflow: hidden;
}
.photo-view {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 3.4rem 1rem 1.4rem; background: rgb(0 0 0 / .9);
}
.photo-view[hidden] { display: none; }
.photo-view img {
  max-width: min(92vw, 920px); max-height: min(86dvh, 920px);
  width: auto; height: auto; object-fit: contain; border-radius: 8px;
}
.photo-x {
  position: absolute; top: max(.7rem, env(safe-area-inset-top));
  right: max(.7rem, env(safe-area-inset-right));
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #2a2420; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
body.photo-open { overflow: hidden; }
.pcard-body { padding: .85rem .9rem 1rem; display: grid; gap: .35rem; flex: 1; }
.pcard-cat { font-size: .72rem; color: var(--rose); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.pcard-name { font-weight: 700; font-size: .98rem; }
.pcard-price { color: var(--ink); font-weight: 700; }
.pcard-ask {
  margin-top: .45rem; display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; border-radius: 999px; border: 1px solid var(--rose);
  color: var(--rose-deep); font-weight: 650; font-size: .84rem;
}
.pcard-ask:hover { background: var(--rose); color: #fff; }
.empty { color: var(--muted); padding: 1rem 0; }

/* Forms / contact */
.stack { display: grid; gap: .55rem; }
.form {
  display: grid; gap: .85rem; max-width: 480px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow);
}
.form label { font-size: .78rem; font-weight: 650; color: var(--muted); letter-spacing: .04em; }
.form input, .form select, .form textarea {
  width: 100%; min-height: var(--tap); border: 1px solid var(--line);
  background: #fff; border-radius: 10px; padding: .7rem .85rem;
}
.form textarea { min-height: 110px; resize: vertical; }
.form .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); border-radius: 999px; background: var(--rose);
  color: #fff; font-weight: 700;
}
.form .btn:hover { background: var(--rose-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.15rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem;
}
.btn-line {
  border: 1.5px solid var(--rose); color: var(--rose-deep); background: transparent;
}
.btn-line:hover { background: var(--rose); color: #fff; }

.map {
  display: block; width: 100%; margin-top: 1rem;
  height: 280px; min-height: 280px; border: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--line);
}

.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-weight: 600; font-size: .9rem;
}
.socials a:hover { border-color: var(--rose); color: var(--rose-deep); }

.footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem;
}
.footer a { color: var(--rose-deep); font-weight: 650; }
.footer-row {
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem;
  justify-content: space-between; align-items: center;
}

.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; padding: 0; border-radius: 50%;
  background: var(--rose); color: #fff; box-shadow: var(--shadow);
}
.wa-float svg { width: 28px; height: 28px; display: block; fill: currentColor; }
.wa-float:hover { background: var(--rose-deep); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .cat-tile { transition: none; }
}
/* Fachada Visítanos — tamaño moderado */
.visit-photo {
  margin: 1.25rem 0 0;
  max-width: 420px;
}
.visit-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}

/* Nuestro Local — carousel + keyword chips */
.local-carousel {
  position: relative;
  margin-top: 0.35rem;
  max-width: 720px;
}
.local-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.local-track::-webkit-scrollbar { display: none; }
.local-slide {
  flex: 0 0 min(88%, 520px);
  scroll-snap-align: start;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  height: clamp(220px, 42vw, 320px);
  max-height: 360px;
}
@media (min-width: 720px) {
  .local-slide {
    flex-basis: min(78%, 560px);
    height: clamp(260px, 32vw, 360px);
  }
}
.local-slide:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.local-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.local-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rose);
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  display: grid;
  place-items: center;
  text-shadow: 0 1px 2px rgba(255,255,255,.85), 0 0 6px rgba(255,255,255,.5);
}
.local-nav:hover { color: var(--rose-deep); background: transparent; }
.local-nav:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.local-prev { left: 0.15rem; }
.local-next { right: 0.15rem; }
.local-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.local-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}
.local-dot.is-on { background: var(--rose); transform: scale(1.15); }
.local-dot:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}
.local-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
  max-width: 720px;
}
.kw-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid #f0b8d0;
  background: var(--card);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}


.photo-view.has-nav {
  touch-action: pan-y;
}
.photo-view.has-nav img {
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.photo-view.has-nav .photo-nav { display: grid; }
.photo-nav {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 0;
  background: transparent; color: var(--rose);
  font-size: 2.4rem; font-weight: 300; line-height: 1; cursor: pointer;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.photo-prev { left: max(0.35rem, env(safe-area-inset-left)); }
.photo-next { right: max(0.35rem, env(safe-area-inset-right)); }
.photo-nav:hover { color: var(--rose-deep); background: transparent; }
