:root {
  --bg: #ffffff;
  --bg-2: #f6f4f0;
  --ink: #14110e;
  --muted: #5c564c;
  --gold: #9a7a32;
  --line: rgb(154 122 50 / .28);
  --nav-h: 6.4rem;
  --tap: 44px;
  --gutter: 1.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  padding-top: calc(var(--nav-h) + var(--safe-top));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(100% - 2.5rem, 1080px); margin-inline: auto; }
h1, h2, h3 { font-family: Georgia, "Palatino Linotype", Palatino, serif; font-weight: 400; }
.display { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; }
.eyebrow {
  color: var(--gold);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.muted { color: var(--muted); max-width: 42rem; }
.stack { display: grid; gap: .45rem; }
.stack > * { margin: 0; line-height: 1.45; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: .85rem 1.2rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: #c9a45a;
  color: #14110e;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-line {
  background: transparent;
  color: var(--gold);
  border-color: var(--line);
}
.btn:focus-visible,
.nav-links a:focus-visible,
.piece a:focus-visible,
.ocasion a:focus-visible,
.redes-item:focus-visible,
.float:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  width: 100%;
  padding-top: var(--safe-top);
  background: rgb(255 255 255 / .82);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border: 0;
  transform: translateY(0);
  transition: transform .28s ease, background .25s ease;
}
.nav.is-scrolled { background: rgb(255 255 255 / .96); }
.nav.is-away { transform: translateY(-110%); pointer-events: none; }
.nav.is-open {
  transform: none;
  pointer-events: auto;
  background: var(--bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: var(--nav-h);
}
.nav-end { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 86px; width: auto; max-width: min(70vw, 280px); }
.nav-links { display: flex; gap: 1rem; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 1.15rem; height: 2px; background: var(--gold); }

.hero {
  position: relative;
  min-height: min(86svh, 760px);
  background: #000;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; background: #000; }
.hero-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity .9s ease-in-out;
}
.hero-media video.is-show { opacity: 1; z-index: 2; }
.hero-media canvas.hero-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease-in-out;
}
@media (min-width: 800px) {
  .hero-media.is-portrait canvas.hero-fill { opacity: 1; }
  .hero-media.is-portrait video[data-clip="3"] { object-fit: contain; }
}
@media (max-width: 799px) {
  .hero-media canvas.hero-fill { display: none; }
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: 3rem 0 2.4rem;
}
.hero-words {
  display: grid;
  gap: .45rem;
  width: min(100%, 34rem);
}
.hero h1,
.hero .lead {
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 0 #000, 0 0 2px #000, 0 2px 8px #000, 0 0 16px rgb(0 0 0 / .85);
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
}
.hero .lead {
  font-weight: 650;
  line-height: 1.4;
}

.band { padding: 3.2rem 0; }
#confianza .sec-lead { color: rgb(243 239 230 / .9); }
#confianza {
  background-color: #0c0b0a;
  background-image:
    linear-gradient(rgb(12 11 10 / .86) 0%, rgb(12 11 10 / .72) 46%, rgb(12 11 10 / .8) 100%),
    image-set(
      url("assets/local-costado.webp?v=1") type("image/webp"),
      url("assets/local-costado.jpg?v=1") type("image/jpeg")
    );
  background-position: center, center 28%;
  background-size: auto, cover;
  background-repeat: no-repeat;
  color: #f3efe6;
}
#confianza .display,
#confianza .eyebrow,
#confianza .trust strong,
#confianza .nap a {
  color: #e4c98a;
}
#confianza .muted,
#confianza .trust span,
#confianza .nap span {
  color: #cfc7ba;
}
.band-alt { background: var(--bg-2); }
.band .display { margin: .25rem 0 .4rem; color: var(--gold); }
.sec-lead { margin-bottom: 1.4rem; }

.pieces, .ocasiones, .trust, .visit-shots {
  display: grid;
  gap: 1rem;
}
.pieces { grid-template-columns: 1fr 1fr; }
.catalog { display: grid; gap: 1.8rem; }
.cat-block { display: grid; gap: 2rem; }
.cat-name {
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--gold);
  line-height: 1.2;
}
.piece, .ocasion {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.band-alt .piece, .band-alt .ocasion { background: #ffffff; }
.piece-body, .ocasion {
  display: grid;
  gap: .45rem;
  padding: 1rem 1rem 1.15rem;
}
.piece h3, .ocasion h3, .trust strong {
  font-size: 1.35rem;
  line-height: 1.2;
}
.piece p, .ocasion p, .trust span { color: var(--muted); line-height: 1.45; }
.piece .price { color: var(--gold); font-weight: 650; line-height: 1.45; }
.piece-shot { display: block; aspect-ratio: 1 / 1; background: #000; overflow: hidden; }
button.piece-shot { width: 100%; border: 0; padding: 0; cursor: zoom-in; color: inherit; font: inherit; }
.piece-shot:empty { display: none; }
.piece-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.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: #ffffff;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.photo-open { overflow: hidden; }
.text-link {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.trust { list-style: none; }
.trust li {
  display: grid;
  gap: .35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.trust li:first-child { border-top: 0; padding-top: 0; }

.contacto-grid, .visit {
  display: grid;
  gap: 1.4rem;
}
.form, .nap, .redes-list, .foot-note {
  display: grid;
  gap: .55rem;
}
.form label {
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}
.form input, .form select {
  width: 100%;
  min-height: 48px;
  padding: .7rem .8rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}
.form .row { display: grid; gap: .7rem; }
.form .btn { margin-top: .3rem; }
.form-note { color: var(--gold); line-height: 1.45; }
.nap span, .nap a, .foot-note span, .redes-list p, .redes-list a { line-height: 1.45; }
.nap a { color: var(--gold); }
.redes-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  border-top: 1px solid var(--line);
  font-weight: 650;
  letter-spacing: .04em;
}
.redes-item svg { width: 22px; height: 22px; flex: none; }
.redes-list a.redes-item { color: var(--gold); }

.map {
  width: 100%;
  min-height: 280px;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: #f0eee9;
}
.visit-shots { width: min(100%, 820px); margin-inline: auto; }
.visit-shots figure { display: grid; gap: .45rem; }
.visit-shots img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #000; }
.visit-shots figcaption { color: var(--muted); line-height: 1.45; font-size: .95rem; }

footer { padding: 2.2rem 0 6rem; border-top: 1px solid var(--line); }
.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  justify-content: space-between;
  align-items: center;
}
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.foot-links a { min-height: var(--tap); display: inline-flex; align-items: center; font-size: .95rem; }
.foot-logo { display: flex; justify-content: center; margin: 1rem 0; }
.foot-logo img { height: 148px; width: auto; }
.foot-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.float {
  position: fixed;
  z-index: 40;
  right: max(.55rem, var(--safe-right));
  bottom: max(.45rem, var(--safe-bottom));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #c9a45a;
  display: grid;
  place-items: center;
}
.float svg { width: 30px; height: 30px; display: block; fill: #14110e; }

@media (min-width: 700px) {
  .ocasiones, .visit-shots { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .contacto-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 2rem; }
}
@media (min-width: 980px) {
  .pieces { grid-template-columns: 1fr 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr 1fr; gap: 1.4rem; }
  .trust li { border-top: 0; padding-top: 0; }
  .visit { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .visit-shots { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav-end .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    padding: .2rem max(var(--gutter), var(--safe-left)) calc(.8rem + var(--safe-bottom)) max(var(--gutter), var(--safe-right));
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a {
    font-size: 1.05rem;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 799px) {
  :root { --nav-h: 5.4rem; }
  .brand img { height: 68px; }
  .hero {
    height: calc(100dvh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    aspect-ratio: auto;
  }
  .hero-copy { padding: 1.5rem 0 1.7rem; }
  .hero h1 { font-size: 1.65rem; }
  .hero .lead { font-size: 1.05rem; }
  .foot-logo img { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav, .hero-media video { transition: none; }
}
