/* === VARIABLES (cámbialas para personalizar el tema por cliente) === */
:root {
  --c-bg:        #0E1318;   /* fondo principal navy oscuro */
  --c-surface:   #151B23;   /* tarjetas */
  --c-surface-2: #1A2129;   /* tarjetas alternas / hover */
  --c-text:      #F2F4F8;   /* texto principal */
  --c-muted:     #8B95A1;   /* texto secundario */
  --c-accent:    #F26C3F;   /* naranja cálido */
  --c-accent-2:  #E55426;   /* hover */
  --c-accent-soft: rgba(242, 108, 63, .12);
  --c-line:      #262E38;   /* bordes sutiles */
  --c-wa:        #25D366;   /* WhatsApp */

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --max-w:    1240px;
  --pad-x:    clamp(20px, 4vw, 48px);
  --section-y: clamp(64px, 8vw, 100px);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,.35);
  --shadow-glow: 0 8px 28px rgba(242,108,63,.35);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img, iframe, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-text); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 {
  font-family: var(--ff);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8em; }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1em; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* === BOTONES === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-2); color: #fff; box-shadow: var(--shadow-glow); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn--ghost:hover { color: var(--c-text); border-color: var(--c-text); background: rgba(255,255,255,.04); }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad-x);
  background: rgba(14, 19, 24, .85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text);
}
.nav__brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 800;
  letter-spacing: 0;
  font-size: .85rem;
}
.nav__links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav__links a { color: var(--c-muted); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--c-text); }
.nav__cta {
  background: var(--c-accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav__cta:hover { background: var(--c-accent-2); color: #fff !important; box-shadow: var(--shadow-glow); }

.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 2px; background: var(--c-text); border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; }
}
@media (max-width: 879.98px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    padding: 8px var(--pad-x) 16px;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .nav__links.is-open {
    display: flex;
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--c-line); }
  .nav__links .nav__cta { margin-top: 12px; align-self: stretch; text-align: center; }
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: calc(100vh - 70px);
  position: relative;
  overflow: hidden;
}
.hero__text {
  padding: clamp(40px, 7vw, 90px) var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.hero__overline {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 18px;
}
.hero__title {
  margin: 0 0 .25em;
  background: linear-gradient(180deg, #fff 30%, #cdd3da 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__location {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface);
  color: var(--c-muted);
  border: 1px solid var(--c-line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  margin: 0 0 22px;
  width: fit-content;
}
.hero__location svg { width: 16px; height: 16px; color: var(--c-accent); flex: none; }
.hero__desc {
  font-size: 1.1rem;
  color: var(--c-muted);
  margin: 0 0 32px;
  max-width: 50ch;
  line-height: 1.6;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero__rating {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem;
  color: var(--c-muted);
}
.hero__rating-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
}

.hero__media {
  position: relative;
  min-height: 280px;
  background: var(--c-surface);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--c-bg) 0%, transparent 25%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 920px) {
  .hero { grid-template-columns: 1fr 1.05fr; }
  .hero__text { padding-left: max(var(--pad-x), calc((100vw - var(--max-w)) / 2)); margin: 0; }
  .hero__media { min-height: auto; }
}

/* === FEATURES === */
.features { padding: clamp(28px, 4vw, 48px) 0 var(--section-y); }
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feature {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.feature:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.feature__ico {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.feature__ico svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--c-muted); font-size: .9rem; }

@media (min-width: 720px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

/* === SECCIONES GENERALES === */
section { padding: var(--section-y) 0; }
.about p { font-size: 1.05rem; max-width: 65ch; color: var(--c-muted); }
.about p strong { color: var(--c-text); font-weight: 600; }

/* === CARTA === */
.carta { background: var(--c-surface); }
.carta__intro { max-width: 60ch; color: var(--c-muted); }
.carta__seccion { margin-top: 32px; }
.carta__seccion h3 {
  font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-accent);
}
.carta__items { list-style: none; padding: 0; margin: 0; }
.carta__items li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-line);
}
.carta__plato { font-weight: 500; }
.carta__precio { color: var(--c-accent); font-weight: 700; white-space: nowrap; }
.carta__nota { font-size: .85rem; color: var(--c-muted); margin-top: 26px; }

/* === GALERÍA === */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.galeria__grid img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .25s ease;
}
.galeria__grid img:hover { transform: scale(1.02); }
@media (min-width: 720px) {
  .galeria__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* === REVIEWS === */
.reviews { background: var(--c-surface); }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.reviews blockquote {
  margin: 0;
  padding: 24px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  position: relative;
}
.reviews blockquote::before {
  content: "“";
  position: absolute; top: 0; left: 16px;
  font-size: 5rem;
  line-height: 1;
  color: var(--c-accent);
  opacity: .25;
  font-family: Georgia, serif;
}
.reviews blockquote p { margin: 0 0 14px; color: var(--c-text); position: relative; }
.reviews cite { color: var(--c-muted); font-style: normal; font-size: .9rem; }
.reviews__cta { margin-top: 26px; }
.reviews__cta a { color: var(--c-accent); font-weight: 600; }
.reviews__cta a:hover { color: var(--c-accent-2); }
@media (min-width: 720px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
}

/* === VISIT === */
.visit__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.visit__addr { font-size: 1.1rem; line-height: 1.6; color: var(--c-text); }
.visit__addr svg { color: var(--c-accent); width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; }
.visit__horario { list-style: none; padding: 0; margin: 0 0 28px; }
.visit__horario li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
}
.visit__horario li span:first-child { font-weight: 500; color: var(--c-text); }
.visit__horario li span:last-child { color: var(--c-muted); }
.visit__horario li.is-today span:last-child { color: var(--c-accent); font-weight: 600; }
.visit__contacto { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map iframe {
  width: 100%; height: 380px;
  border: 0;
  border-radius: var(--radius);
  filter: invert(.92) hue-rotate(180deg) saturate(.4) brightness(.95);
}
@media (min-width: 900px) {
  .visit__wrap { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
  .visit__map iframe { height: 100%; min-height: 480px; }
}

/* === FOOTER === */
.foot {
  background: #080B0F;
  color: var(--c-muted);
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--c-line);
}
.foot a { color: var(--c-text); }
.foot__small { font-size: .85rem; opacity: .8; margin: 6px 0 0; }

/* === BOTÓN FLOTANTE WHATSAPP === */
.floating-wa {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 60;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--c-wa);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .15s ease;
}
.floating-wa:hover { color: #fff; transform: scale(1.06); }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
