:root {
  --ink: #14181c;
  --night: #0c0f12;
  --paper: #f7f4ef;
  --cream: #efeae3;
  --red: #b4232c;
  --red-deep: #8e1a22;
  --chrome: #8b949c;
  --mute: #6b737c;
  --line: rgba(20, 24, 28, 0.1);
  --max: 1160px;
  --nav-h: 80px;
  --radius: 20px;
  --shadow: 0 28px 70px rgba(12, 15, 18, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

.eyebrow {
  display: inline-block;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 { font-size: clamp(3.4rem, 8vw, 7.2rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.55rem; }

.intro {
  max-width: 64ch;
  margin: 14px 0 36px;
  font-size: 1.08rem;
  color: var(--mute);
}

/* NAV over the photo */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(12, 15, 18, 0.55), transparent);
  color: #f7f4ef;
}

.nav.scrolled {
  background: rgba(12, 15, 18, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bodoni Moda", serif;
  font-size: 1.7rem;
  font-style: italic;
}

.pole {
  width: 14px;
  height: 28px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      -32deg,
      #f7f4ef 0 5px,
      var(--red) 5px 10px,
      #1a2a44 10px 15px
    );
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  flex-shrink: 0;
}

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

.nav-links a {
  padding: 8px 11px;
  font-size: 0.88rem;
  color: rgba(247, 244, 239, 0.72);
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(247, 244, 239, 0.38);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  background: #f7f4ef;
  margin: 6px 0;
}

/* COVER: one photo, one title, air */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: #f7f4ef;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,15,18,.62) 0%, rgba(12,15,18,.18) 48%, rgba(12,15,18,.08) 100%),
    linear-gradient(180deg, rgba(12,15,18,.2) 0%, rgba(12,15,18,.08) 40%, rgba(12,15,18,.78) 100%),
    url("../images/hero-corte.jpg") 68% 28% / cover no-repeat;
}

.hero-rail {
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 88px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(247, 244, 239, 0.62);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 108px 28px;
}

.hero h1 {
  font-size: clamp(7.2rem, 18vw, 14.5rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-style: normal;
  font-weight: 700;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.hero .eyebrow {
  color: #f4d6d7;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.hero p {
  margin: 20px 0 32px;
  max-width: 28ch;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  color: rgba(247, 244, 239, 0.94);
}

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

.hero .btn {
  padding: 16px 28px;
  font-size: 0.95rem;
}

.chair-card {
  background: rgba(247, 244, 239, 0.96);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.chair-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.chair-card span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
}

.chair-card strong {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: 1.85rem;
  margin: 6px 0 8px;
}

.chair-card p {
  margin: 0;
  color: var(--mute);
  font-size: 0.98rem;
  max-width: none;
}

.hours-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6vw;
  background: rgba(12, 15, 18, 0.88);
  font-size: 1rem;
  color: rgba(247, 244, 239, 0.9);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px 10px 0;
}

.photo-strip img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 16px;
}

/* SECTIONS */
.section { padding: 92px 0; }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .intro,
.section-ink .muted { color: rgba(247, 244, 239, 0.68); }
.section-ink .eyebrow { color: #e8a0a4; }
.section-cream { background: var(--cream); }

.section-head { margin-bottom: 8px; }

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

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.06);
  border: 1px solid var(--line);
}

.section-ink .card {
  background: #1c2228;
  border-color: rgba(247, 244, 239, 0.08);
  color: var(--paper);
}

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

.card .pad { padding: 22px; }
.card .pad p { color: var(--mute); margin-top: 8px; }
.section-ink .card .pad p { color: rgba(247, 244, 239, 0.68); }

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

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

.story img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
}

.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.quote p {
  font-family: "Bodoni Moda", serif;
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.35;
  margin: 10px 0 16px;
}

.quote footer { color: var(--mute); font-size: 0.92rem; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
}

.faq summary {
  font-family: "Bodoni Moda", serif;
  font-size: 1.28rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; color: var(--mute); max-width: 70ch; }

/* INNER PAGES */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: grid;
  align-items: end;
  color: #f7f4ef;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,15,18,.25) 0%, rgba(12,15,18,.72) 100%),
    var(--page-img) center/cover no-repeat;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 120px 0 48px;
}

.page-hero p {
  margin-top: 12px;
  max-width: 52ch;
  color: rgba(247, 244, 239, 0.82);
}

.menu-board {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid var(--line);
}

.menu-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.menu-row:first-of-type { border-top: 0; }
.menu-row strong { color: var(--red); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 999px;
  font-size: 0.86rem;
}

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

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

.gallery-item {
  position: relative;
  min-height: 280px;
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
}

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

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

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(12, 15, 18, 0.78);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 18, 0.94);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}

.lightbox.open { display: grid; }
.lightbox img { max-width: min(920px, 92vw); max-height: 84vh; border-radius: 12px; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

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

form {
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
}

label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 12px;
}

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

.form-msg { display: none; padding: 10px 12px; border-radius: 10px; }
.form-msg.ok { display: block; background: #d8f5d8; }
.form-msg.err { display: block; background: #ffd0c8; }

.map {
  min-height: 220px;
  background:
    linear-gradient(rgba(12,15,18,.28), rgba(12,15,18,.45)),
    url("../images/mapa.jpg") center/cover;
  border-radius: 20px;
  color: #fff;
  padding: 20px;
  display: grid;
  place-items: end start;
  margin: 18px 0;
}

.terms {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--line);
}

.terms h3 { margin: 24px 0 8px; }
.terms p, .terms li { color: var(--mute); }
.terms ul { padding-left: 18px; margin: 8px 0 14px; }
.terms a { color: var(--red); text-decoration: underline; }

.foot {
  background: var(--night);
  color: var(--paper);
  padding: 56px 0 22px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.foot h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.foot ul { list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.foot a:hover { color: #e8a0a4; }
.foot p { color: rgba(247, 244, 239, 0.68); }

.copy {
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding-top: 16px;
  font-size: 0.84rem;
  color: rgba(247, 244, 239, 0.5);
}

.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  width: 56px;
  height: 56px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 12px 28px rgba(180, 35, 44, 0.4);
}

@media (max-width: 960px) {
  .grid-3,
  .story,
  .contact,
  .foot-grid,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-rail { display: none; }
  .hero-content { padding-left: 0; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--night);
    flex-direction: column;
    padding: 12px 16px 20px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-content,
  .grid-2,
  .grid-3,
  .story,
  .contact,
  .foot-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 100svh; }
  .hero-content { padding: 120px 0 120px; }
  .hours-bar { flex-direction: column; gap: 6px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .story img { height: 320px; }
}
