:root {
  --void: #0c0b0a;
  --ink: #141210;
  --steel: #2c2824;
  --paper: #f4ead6;
  --cream: #efe3c8;
  --muted: #8a7f6e;
  --line: rgba(244, 234, 214, 0.12);
  --rust: #d85a1f;
  --rust-deep: #a43d12;
  --copper: #e08a3c;
  --amber: #f0b429;
  --white: #fff8ea;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  --max: 1200px;
  --nav-h: 78px;
  --clip: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Barlow", sans-serif;
  color: var(--paper);
  background: var(--void);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.mono {
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow {
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--amber);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: "Big Shoulders Display", sans-serif;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.2rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
h3 { font-size: 1.7rem; }

.lead {
  font-size: 1.14rem;
  color: rgba(244, 234, 214, 0.78);
  max-width: 62ch;
}

.muted { color: var(--muted); }

.hazard {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber) 0 12px,
    var(--void) 12px 24px
  );
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-mark {
  width: 40px;
  height: 40px;
  clip-path: var(--clip);
  background: var(--rust);
  color: var(--void);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 11px;
  font-size: 0.9rem;
  color: rgba(244, 234, 214, 0.72);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  clip-path: var(--clip);
  padding: 13px 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-rust { background: var(--rust); color: var(--white); }
.btn-amber { background: var(--amber); color: var(--void); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(244, 234, 214, 0.35);
  clip-path: none;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  margin: 6px 0;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 10px);
  overflow: hidden;
  display: grid;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.55) 48%, rgba(12, 11, 10, 0.28) 100%),
    url("../images/hero.jpg") center/cover no-repeat;
}

.hero-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 18% 72%, #ffd27a 40%, transparent 42%),
    radial-gradient(2px 2px at 28% 80%, #ff8a3a 40%, transparent 42%),
    radial-gradient(1px 1px at 42% 64%, #fff 40%, transparent 42%),
    radial-gradient(2px 2px at 62% 78%, #ffb347 40%, transparent 42%),
    radial-gradient(1px 1px at 74% 70%, #ffe08a 40%, transparent 42%);
  animation: spark 2.8s ease-in-out infinite;
}

@keyframes spark {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-8px); }
}

.hero-rail {
  position: absolute;
  left: 18px;
  top: 28px;
  bottom: 52px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.42em;
  color: var(--amber);
  opacity: 0.85;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
}

.hero h1 span {
  display: block;
}

.hero h1 span:nth-child(2) { color: var(--rust); }
.hero h1 span:nth-child(3) { color: var(--amber); }

.hero p {
  margin: 22px 0 28px;
  max-width: 48ch;
  color: rgba(244, 234, 214, 0.86);
  font-size: 1.16rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-tickets {
  display: grid;
  gap: 12px;
}

.ticket {
  background: rgba(20, 18, 16, 0.72);
  border: 1px dashed rgba(240, 180, 41, 0.45);
  padding: 16px 18px;
  backdrop-filter: blur(8px);
}

.ticket strong {
  display: block;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 1.7rem;
  color: var(--amber);
}

.ticket span {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 234, 214, 0.7);
}

.ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  z-index: 3;
  background: #d7c39a;
  color: #2a2116;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.ruler-mark {
  flex: 1;
  min-width: 18px;
  border-left: 1px solid #2a2116;
  height: 14px;
  position: relative;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.62rem;
}

.ruler-mark:nth-child(5n) { height: 26px; font-weight: 700; }
.ruler-mark:nth-child(5n)::after {
  content: attr(data-n);
  position: absolute;
  top: 2px;
  left: 4px;
}

/* SECTIONS */
.section { padding: 92px 0; }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .muted,
.section-cream .lead { color: #5d5346; }
.section-cream .eyebrow { color: var(--rust-deep); }
.section-steel { background: #1a1714; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.cat-card, .product-card, .service-card, .info-card, .quote, .terms {
  background: #191613;
  border: 1px solid var(--line);
  overflow: hidden;
  clip-path: var(--clip);
}

.section-cream .cat-card,
.section-cream .product-card,
.section-cream .service-card,
.section-cream .info-card,
.section-cream .quote,
.section-cream .terms {
  background: #fff8ea;
  border-color: rgba(20, 18, 16, 0.1);
  color: var(--ink);
}

.cat-card, .product-card, .service-card {
  transition: transform 0.25s ease;
}

.cat-card:hover, .product-card:hover, .service-card:hover {
  transform: translateY(-5px);
}

.cat-card img, .product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.info-card h3 { margin-bottom: 10px; }

.cat-card .body, .product-card .body, .info-card {
  padding: 20px;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  padding: 18px 20px 8px;
}

.service-card p {
  padding: 0 20px 20px;
}

.price {
  margin-top: 10px;
  color: var(--amber);
  font-weight: 700;
}

.section-cream .price { color: var(--rust-deep); }

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  clip-path: var(--clip);
}

.checks {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.checks li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.checks li::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--rust);
  position: absolute;
  left: 0;
  top: 8px;
  clip-path: var(--clip);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote { padding: 26px; }
.quote p { margin: 12px 0 18px; }
.quote footer { font-size: 0.92rem; color: var(--muted); }

/* PAGE HERO */
.page-hero {
  position: relative;
  padding: 78px 0 56px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,11,10,.88), rgba(12,11,10,.45)),
    var(--page-img) center/cover;
  z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero p {
  margin-top: 14px;
  max-width: 68ch;
  color: rgba(244, 234, 214, 0.82);
}

/* GALLERY */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 32px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  padding: 8px 14px;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
  clip-path: var(--clip);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.45s;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(12, 11, 10, 0.88));
  font-family: "Share Tech Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.gallery-item.hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.92);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}

.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(960px, 92vw);
  max-height: 84vh;
}
.lightbox button {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--amber);
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-weight: 700;
}

/* CONTACT */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

form { display: grid; gap: 14px; }
label { font-size: 0.9rem; font-weight: 600; }

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(20, 18, 16, 0.16);
  background: #fffdf6;
  color: var(--ink);
  padding: 12px 14px;
}

textarea { min-height: 140px; resize: vertical; }

.form-msg { display: none; padding: 12px 14px; }
.form-msg.ok { display: block; background: #e5f3ea; color: #1e4630; }
.form-msg.err { display: block; background: #fbe8e4; color: #7a2a1c; }

.map-box {
  min-height: 230px;
  background:
    linear-gradient(rgba(12,11,10,.35), rgba(12,11,10,.5)),
    url("../images/mapa.jpg") center/cover;
  display: grid;
  place-items: end start;
  padding: 22px;
  clip-path: var(--clip);
}

.hours {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.86rem;
}

.terms { padding: 36px; clip-path: none; }
.terms h3 { margin: 28px 0 10px; }
.terms p, .terms li { color: #5d5346; }
.terms ul { padding-left: 20px; margin: 8px 0 16px; }

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.story-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  clip-path: var(--clip);
}

.section-intro {
  max-width: 72ch;
  margin: -12px 0 36px;
  font-size: 1.06rem;
  line-height: 1.7;
}

.section-cream .section-intro { color: #5d5346; }

.prose p {
  margin: 0 0 14px;
  max-width: 72ch;
  line-height: 1.7;
}

.prose p:last-child { margin-bottom: 0; }

.service-card ul {
  padding: 0 20px 18px 38px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.section-cream .service-card ul { color: #5d5346; }

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: #191613;
  border: 1px solid var(--line);
  padding: 16px 20px;
}

.section-cream .faq details {
  background: #fff8ea;
  border-color: rgba(20, 18, 16, 0.1);
  color: var(--ink);
}

.faq summary {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.7;
}

.section-cream .faq details p { color: #5d5346; }

.timeline {
  display: grid;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 1.8rem;
  color: var(--amber);
}

.section-cream .timeline-item strong { color: var(--rust-deep); }

.note-box {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed rgba(240, 180, 41, 0.45);
}

.section-cream .note-box {
  border-color: rgba(164, 61, 18, 0.35);
}

.caption-block {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  background: #090807;
  color: rgba(244, 234, 214, 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer h3 { color: var(--paper); margin-bottom: 12px; }
.footer a:hover { color: var(--amber); }
.footer ul { list-style: none; display: grid; gap: 8px; }

.copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.88rem;
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #25d366;
  color: #083b1a;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-content, .grid-4, .grid-3, .quote-grid, .gallery-grid, .about, .contact-wrap, .footer-grid, .grid-2, .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--void);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hero-content, .grid-4, .grid-3, .quote-grid, .gallery-grid, .about, .contact-wrap, .footer-grid, .grid-2, .hero-tickets, .section-head, .story-grid, .timeline-item {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hero { min-height: 86vh; }
  .hero-content { padding-left: 28px; }
  .hero-rail { font-size: 0.7rem; }
}
