/* =========================================================
   restaurantes.wokiapp.com — estilos compartidos
   Depende de tokens.css (design system Woki, track B2B).
   Sin build, sin !important.
   Breakpoints: 1200 / 960 / 768 / 560
   ========================================================= */

:root {
  /* Valores medidos sobre el sitio actual en Framer */
  --page-bg:      #F8F8F8;
  --ink-hero:     #0C1421;  /* fondo del hero y del nav */
  --ink-deep:     #18181C;
  --ink-form:     #212227;
  --nav-h:        82px;
  --max-w:        1240px;
  --r-section:    60px;
  --r-hero:       50px;
  --r-card:       24px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  background: var(--page-bg);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================
   Layout
   ========================================================= */

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }

/* Bloques oscuros con esquinas redondeadas, como en el sitio actual */
.slab {
  border-radius: var(--r-section);
  overflow: hidden;
}
.slab--hero {
  background: var(--ink-hero);
  border-radius: 0 0 var(--r-hero) var(--r-hero);
}
.slab--hm {
  background: linear-gradient(var(--ink-deep) 0%, var(--ink-hero) 58%);
}
.slab--closing {
  background: linear-gradient(var(--ink-hero) 20%, var(--ink-form) 94%);
  border-radius: var(--r-section) var(--r-section) 0 0;
}
.slab--soft {
  background: #EFF2F7;
  border-radius: var(--r-section);
}

.on-dark { color: #F8F8F8; }
.on-dark .lede { color: rgba(255, 255, 255, .72); }

/* =========================================================
   Tipografía de página
   ========================================================= */

.h-hero,
.h-section {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.h-hero {
  font-size: 60px;
  line-height: 74px;
  text-align: center;
}

.h-section {
  font-size: 44px;
  line-height: 52px;
  text-align: center;
}

.h-card {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  line-height: var(--lh-20);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-snug);
}

.accent { color: var(--b2b-500); }

/* Rojo de la Guía Michelin. No es un color de la marca Woki: se usa solo
   en el título de esa sección y en el mockup del perfil. */
:root { --michelin: #C92020; }
.accent-michelin { color: var(--michelin); }

.lede {
  font-size: var(--fs-16);
  line-height: 24px;
  color: var(--fg-3);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.eyebrow-chip {
  display: inline-block;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--b2b-500);
  background: var(--b2b-50);
  border-radius: var(--r-pill);
  padding: 6px 12px;
}

/* =========================================================
   Botones
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: filter var(--dur-2, 200ms) ease, transform var(--dur-1, 120ms) ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.985); }
.btn:focus-visible { outline: 2px solid var(--b2b-300); outline-offset: 3px; }

.btn--primary  { background: var(--b2b-500); color: #fff; }
.btn--gradient { background: var(--b2b-gradient); color: #fff; }
.btn--ghost    { background: rgba(255, 255, 255, .08); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-10);
}

/* =========================================================
   Nav — fija arriba, se esconde al bajar
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: var(--nav-h);
  background: var(--ink-hero);
  border-radius: 0 0 15px 15px;
  display: flex;
  align-items: center;
  transition: transform .3s var(--ease-standard, cubic-bezier(.2, 0, 0, 1));
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
}

.nav__logo img { height: 26px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-self: center;
}
.nav__link {
  font-size: var(--fs-14);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, .78);
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .18s ease, color .18s ease;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }

.nav__cta { justify-self: end; }

.nav__burger {
  display: none;
  justify-self: end;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }

/* Panel desplegable en celular */
.nav__panel {
  position: fixed;
  top: var(--nav-h);
  left: 12px; right: 12px;
  z-index: 299;
  background: var(--ink-hero);
  border-radius: 18px;
  padding: var(--sp-4);
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}
.nav__panel.is-open { display: flex; }
.nav__panel a {
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  padding: 12px 10px;
  border-radius: 10px;
}
.nav__panel a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* =========================================================
   Tarjetas
   ========================================================= */

.card {
  background: #fff;
  border-radius: var(--r-card);
  padding: var(--sp-8);
}
.card--sunk { background: #F5F6F8; }
.card--dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #F8F8F8;
}

.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================
   Botón flotante de WhatsApp
   ========================================================= */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 250;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 30px; height: 30px; }

/* =========================================================
   Pie
   ========================================================= */

.footer {
  background: linear-gradient(208deg, #0066CC -24%, #132F60 48.6%);
  border-radius: var(--r-hero) var(--r-hero) 0 0;
  color: #fff;
  padding: 56px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.footer__logo img { height: 26px; width: auto; margin-bottom: var(--sp-6); }
.footer__claim {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 36px;
  font-weight: var(--fw-medium);
  letter-spacing: -0.02em;
}
.footer__col h3 {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-3);
}
.footer__col a {
  display: block;
  font-size: var(--fs-16);
  line-height: 30px;
  color: rgba(255, 255, 255, .82);
}
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__social { display: flex; gap: var(--sp-4); }
.footer__social img { width: 22px; height: 22px; }

.footer__llms {
  text-align: center;
  padding: 40px 0 20px;
  color: rgba(255, 255, 255, .82);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, .82);
}
.footer__bottom nav { display: flex; gap: var(--sp-5); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
  .h-hero    { font-size: 52px; line-height: 62px; }
  .h-section { font-size: 38px; line-height: 46px; }
}

@media (max-width: 960px) {
  .section { padding-block: 72px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --r-section: 40px; --r-hero: 32px; --nav-h: 68px; }
  .section { padding-block: 56px; }
  .h-hero    { font-size: 36px; line-height: 44px; }
  .h-section { font-size: 30px; line-height: 38px; }
  .footer__claim { font-size: 24px; line-height: 30px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .card { padding: var(--sp-6); }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .h-hero { font-size: 31px; line-height: 38px; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__bottom { flex-direction: column; }
  .nav__panel .btn { width: 100%; }
}
