/* ==================== NAO — fuente de marca ==================== */
@font-face {
  font-family: "Artifakt Element";
  src: url("../fonts/ArtifaktElement-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==================== NAO — variables ==================== */
:root {
  --bg-0: #0b0b0d;
  --bg-1: #141317;
  --bg-2: #17161b;
  --bg-3: #191820;
  --bg-4: #201e26;

  --cream-0: #f4efe6;
  --cream-1: #efe8db;
  --cream-2: #ece7db;
  --cream-3: #e8e0d2;
  --cream-4: #e2d8c6;

  --gold: #c8a662;
  --gold-light: #dcc593;
  --gold-lighter: #e6d2a6;
  --gold-dark: #b8924a;
  --gold-deep: #d3b571;
  --gold-darker: #8c6f2a;

  --muted: #a49c8c;
  --muted-2: #6f685c;
  --brown-dark: #26221c;
  --red: #8f2533;
  --green: #5fbf7d;

  --font-display: "Jost", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --font-logo: "Artifakt Element", "Jost", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--cream-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
}
h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1.1em;
}
.eyebrow-dark { color: var(--gold-darker); }
.nosotros-text .eyebrow-dark { font-size: 0.8rem; }

.tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-deep);
  font-size: 1.2rem;
}

/* ==================== buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 2em;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(200,166,98,.1); transform: translateY(-1px); }
.btn-solid {
  background: linear-gradient(135deg, var(--gold-lighter), var(--gold) 55%, var(--gold-dark));
  color: #201a0d;
  border-color: transparent;
}
.btn-solid:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-small { padding: 0.6em 1.4em; font-size: 0.72rem; }
.btn-block { width: 100%; padding: 1.05em 2em; margin-top: .5rem; }

/* ==================== preloader ==================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg-0);
  transition: opacity .32s ease, visibility .32s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0;
  animation: preloaderIn .45s ease forwards;
}
.preloader-text {
  font-family: var(--font-logo);
  color: var(--gold);
  letter-spacing: 0.4em;
  font-size: 1.2rem;
  opacity: 0;
  animation: preloaderIn .45s ease .08s forwards;
}
@keyframes preloaderIn {
  from { opacity: 0; transform: scale(.85); }
  to { opacity: 1; transform: scale(1); }
}

/* ==================== header ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(11,11,13,.85), rgba(11,11,13,0));
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px 20px 4px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-family: var(--font-logo);
  letter-spacing: 0.35em;
  font-size: 1.05rem;
  color: var(--cream-0);
}
.logo-mark { width: 26px; height: 26px; object-fit: contain; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-1);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 1px; background: var(--cream-0); width: 100%; }

/* ==================== social rail / back to top ==================== */
.social-rail {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.social-btn, .back-to-top {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid rgba(200,166,98,.35);
  color: var(--gold-light);
  transition: transform .2s ease, background .2s ease;
}
.social-btn:hover, .back-to-top:hover { transform: translateY(-2px); background: var(--bg-3); }
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 136px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ==================== hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,7,9,.72) 0%, rgba(8,7,9,.48) 38%, rgba(8,7,9,.5) 62%, rgba(8,7,9,.82) 100%),
    url('../img/hero-restaurant.jpg') center 35% / cover no-repeat;
  padding: 140px 24px 80px;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.hero-content .eyebrow { font-size: 0.95rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(4.5rem, 13vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--cream-0);
  margin: 0.2em 0;
  line-height: 1;
  text-shadow: 0 6px 30px rgba(0,0,0,.55);
}
.hero-sub {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-2);
  margin-bottom: 2.2em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== nosotros ==================== */
.nosotros {
  background: linear-gradient(160deg, var(--cream-1), var(--cream-4));
  color: var(--brown-dark);
  padding: 120px 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.nosotros-text h2 { font-size: 2.1rem; color: var(--brown-dark); margin-bottom: 0.6em; }
.nosotros-text p { color: #3a352c; }
.nosotros-text .tagline { color: var(--gold-darker); margin: 1.4em 0; font-size: 1.15rem; }
.stats {
  display: flex;
  gap: 40px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-darker);
}
.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nosotros-img img {
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

/* ==================== especialidades ==================== */
.especialidades {
  background: linear-gradient(var(--bg-2), var(--bg-1));
  padding: 120px 0;
  text-align: center;
}
.especialidades h2 { font-size: 2rem; color: var(--cream-0); margin-bottom: 0.5em; }
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 3.5rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.card {
  background: var(--bg-3);
  border: 1px solid rgba(200,166,98,.12);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(200,166,98,.4); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px 26px 28px; }
.card-tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6em;
}
.card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.5em;
}
.card-heading h3 { font-size: 1.3rem; color: var(--cream-0); }
.card-price { font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; white-space: nowrap; }
.card-body p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ==================== marquee ==================== */
.marquee {
  background: var(--bg-1);
  border-top: 1px solid rgba(200,166,98,.15);
  border-bottom: 1px solid rgba(200,166,98,.15);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
}
.marquee-track span::after { content: "◆"; margin-left: 40px; color: var(--muted-2); font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================== carta / menu ==================== */
.carta {
  background: var(--bg-0);
  padding: 120px 0;
  text-align: center;
}
.carta h2 { font-size: 2rem; color: var(--cream-0); margin-bottom: 0.5em; }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 3rem;
}
.tab {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(200,166,98,.25);
  padding: 0.7em 1.4em;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.tab:hover { color: var(--cream-0); border-color: var(--gold); }
.tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #201a0d;
}
.menu-panels { text-align: left; max-width: 800px; margin: 0 auto; }
.panel { display: none; }
.panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.group-title {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 2.4em 0 0.3em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(200,166,98,.2);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.group-title:first-child { margin-top: 0; }
.group-title span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-2);
}
.group-desc { color: var(--muted); font-size: 0.9rem; margin: 0.8em 0 1.2em; }

.item { padding: 0.9em 0; border-bottom: 1px dashed rgba(255,255,255,.06); }
.item:last-child { border-bottom: none; }
.item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.item-head h5 { font-size: 1rem; font-weight: 400; color: var(--cream-0); flex: 0 1 auto; }
.item-head .item-leader {
  flex: 1 1 auto;
  min-width: 16px;
  border-bottom: 1px dotted rgba(200,166,98,.35);
  transform: translateY(-0.3em);
}
.item-head span { font-family: var(--font-display); color: var(--gold); font-size: 0.92rem; white-space: nowrap; flex: 0 0 auto; margin-left: auto; }
.item p { color: var(--muted); font-size: 0.88rem; margin: 0.35em 0 0; }

.promo-box {
  margin-top: 2.5rem;
  padding: 1.6em 1.8em;
  border: 1px solid rgba(200,166,98,.35);
  border-radius: 8px;
  background: rgba(200,166,98,.06);
}
.promo-box h4 { color: var(--gold-light); font-size: 1.1rem; margin-bottom: 0.4em; text-transform: uppercase; letter-spacing: 0.08em; }
.promo-box p { color: var(--muted); margin: 0; font-size: 0.9rem; }

.menu-note { text-align: center; color: var(--muted-2); font-size: 0.82rem; margin-top: 3rem; }

/* ==================== horarios ==================== */
.horarios {
  background: linear-gradient(var(--bg-2), var(--bg-1));
  padding: 100px 0;
  text-align: center;
}
.horarios h2 { font-size: 2rem; color: var(--cream-0); margin-bottom: 1.5em; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  margin-bottom: 3rem;
  background: rgba(143,37,51,.15);
  color: #e59aa4;
  border: 1px solid rgba(143,37,51,.4);
}
.status-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.open {
  background: rgba(95,191,125,.15);
  color: var(--green);
  border-color: rgba(95,191,125,.4);
}
.hours-grid {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0.5em;
  border-bottom: 1px solid rgba(200,166,98,.12);
}
.hours-label { font-family: var(--font-display); letter-spacing: 0.06em; color: var(--cream-1); }
.hours-time { color: var(--muted); }
.hours-today {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2em 0.6em;
  border-radius: 999px;
  opacity: 0;
}
.hours-today.active { opacity: 1; }

/* ==================== ubicacion ==================== */
.ubicacion { background: var(--bg-0); padding: 120px 0; }
.ubicacion h2 { font-size: 2rem; color: var(--cream-0); margin-bottom: 0.2em; }
.ubicacion-text p { color: var(--muted); }
.info-list { margin: 2rem 0; }
.info-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 0.8em 0;
  border-bottom: 1px solid rgba(200,166,98,.12);
}
.info-list dt { color: var(--muted-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.info-list dd { margin: 0; color: var(--cream-1); text-align: right; }
.info-list a:hover { color: var(--gold-light); }
.map-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.map-embed { border-radius: 8px; overflow: hidden; min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

/* ==================== reservaciones ==================== */
.reservaciones {
  background: linear-gradient(160deg, var(--cream-1), var(--cream-4));
  color: var(--brown-dark);
  padding: 120px 0;
  text-align: center;
}
.reservaciones h2 { font-size: 2rem; color: var(--brown-dark); margin-bottom: 0.4em; }
.reservaciones .section-sub { color: #5a5346; }
#reservaForm {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-full { grid-column: 1 / -1; }
.form-row label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85em 1em;
  border: 1px solid rgba(38,34,28,.2);
  border-radius: 4px;
  background: rgba(255,255,255,.55);
  color: var(--brown-dark);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--gold-dark);
  outline-offset: 1px;
}
.call-note { margin-top: 1.6rem; color: #5a5346; font-size: 0.9rem; }
.call-note a { color: var(--gold-darker); text-decoration: underline; }

/* ==================== footer ==================== */
.site-footer { background: var(--bg-1); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200,166,98,.12);
}
.footer-brand p { color: var(--muted); margin-top: 1.2em; max-width: 320px; }
.footer-brand .tagline { font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2em;
}
.footer-col { display: flex; flex-direction: column; gap: 0.7em; }
.footer-col a, .footer-col span { color: var(--muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 24px 32px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* ==================== responsive ==================== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .nosotros-img { order: -1; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-1);
    padding: 8px 20px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(200,166,98,.1); }
  .nav-toggle { display: flex; }
  #reservaForm { grid-template-columns: 1fr; }
  .header-inner { padding: 16px 20px; }
  .container { padding: 0 20px; }
  .nosotros, .especialidades, .carta, .horarios, .ubicacion, .reservaciones { padding: 80px 0; }
  .item-head { flex-wrap: wrap; row-gap: 0.3em; }
  .item-head h5 { font-size: 0.95rem; }
  .item-head span { font-size: 0.86rem; }
}
