:root {
  --cream: #faf6f1;
  --cream-2: #f2e9df;
  --surface: #fffdfb;
  --espresso: #2e2620;
  --ink: #4b4f58;
  --ink-soft: #84796f;
  --clay: #b37e6b;
  --clay-deep: #9a6552;
  --coffee: #6f4e37;
  --rust: #993300;
  --line: #eadfd2;
  --radius: 16px;
  --radius-pill: 999px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 24px 60px -28px rgba(46, 38, 32, 0.35);
  --shadow-photo: 0 18px 40px -26px rgba(46, 38, 32, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Animaciones */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 14deg)); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway {
  0%, 100% { transform: rotate(var(--r, 0deg)); }
  50% { transform: rotate(calc(var(--r, 0deg) + 4deg)); }
}
@keyframes drift { to { background-position-x: -120px; } }
@keyframes drift-rev { to { background-position-x: 120px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(154, 101, 82, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(154, 101, 82, 0); }
}

.spin { animation: spin 40s linear infinite; }
.spin-slow { animation: spin 90s linear infinite; }
.sway { animation: sway 8s ease-in-out infinite; transform-origin: 20% 80%; }

.rise { opacity: 0; animation: rise .9s var(--ease) forwards; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .3s; }

/* Elementos decorativos */
.deco-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.deco-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.bean {
  position: absolute;
  color: var(--coffee);
  animation: float 9s ease-in-out infinite;
}

.deco { position: absolute; pointer-events: none; }

.waves {
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  background-repeat: repeat-x;
  pointer-events: none;
}
.wave-a {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12 Q30 1 60 12 T120 12' fill='none' stroke='%23b37e6b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  animation: drift 6s linear infinite;
}
.wave-b {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 12 Q30 23 60 12 T120 12' fill='none' stroke='%236f4e37' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  animation: drift-rev 9s linear infinite;
}

.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  margin-bottom: -1px;
}
.wave-divider path { fill: var(--cream-2); }
.wave-divider--down { margin: -1px 0 0; }
.wave-divider--footer { height: 60px; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary { background: var(--clay-deep); color: var(--surface); }
.btn-primary:hover { background: var(--coffee); }

.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

/* Cabecera */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 241, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--espresso); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--espresso);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--clay);
  transition: width .25s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 150px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 18% 12%, rgba(179, 126, 107, 0.16), transparent 60%),
    radial-gradient(50% 50% at 85% 82%, rgba(111, 78, 55, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.hero-title {
  font-size: clamp(56px, 7.5vw, 104px);
  font-weight: 600;
  line-height: 0.95;
  color: var(--espresso);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay-deep);
}

.hero-sub {
  max-width: 42ch;
  font-size: 18px;
  color: var(--ink);
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.hero-sun {
  position: absolute;
  width: 480px;
  height: 480px;
  color: var(--clay);
  opacity: 0.55;
}

.logo-disc {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.logo-ring text {
  fill: var(--clay-deep);
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 3.2px;
}
.hero-logo {
  width: 58%;
  height: auto;
  object-fit: contain;
}

/* Banda en movimiento */
.marquee-wrap {
  position: relative;
  z-index: 5;
  overflow: hidden;
  margin-top: -46px;
  padding: 12px 0;
}
.marquee {
  width: calc(100% + 40px);
  margin-left: -20px;
  background: var(--espresso);
  padding: 20px 0;
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.marquee-word {
  font-family: var(--font-serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
  white-space: nowrap;
}
.marquee-bean {
  width: 22px;
  height: 22px;
  color: var(--clay);
  transform: rotate(30deg);
}

/* Secciones */
.section { position: relative; padding: 96px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
  text-align: left;
}
.section-head .eyebrow,
.contact-info .eyebrow { margin-bottom: 12px; }
.section-title { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; margin-bottom: 12px; }
.section-lede { font-size: 17px; color: var(--ink-soft); }

/* Menús */
.menus { padding: 128px 0 120px; overflow: hidden; }

.olive { color: var(--coffee); }
.olive-left {
  --r: -8deg;
  left: -40px;
  top: 90px;
  width: 260px;
  height: 420px;
  opacity: 0.35;
}
.olive-right {
  --r: 160deg;
  right: -30px;
  bottom: 60px;
  width: 220px;
  height: 355px;
  color: var(--clay);
  opacity: 0.45;
  animation-delay: -3s;
}

.test-notice {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--rust);
  margin: -20px 0 40px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.menu-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 1px 2px rgba(46, 38, 32, 0.04);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.menu-card--especial { margin-top: 72px; }

.menu-stamp {
  position: absolute;
  top: -46px;
  right: -26px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--clay-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  box-shadow: 0 18px 40px -20px rgba(46, 38, 32, 0.6);
}
.menu-stamp-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.menu-stamp-ring text {
  fill: var(--cream-2);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}
.menu-stamp-price { display: flex; align-items: baseline; color: var(--surface); }
.menu-stamp-value { font-family: var(--font-serif); font-size: 32px; font-weight: 700; line-height: 1; }
.menu-stamp-cur { font-size: 16px; margin-left: 2px; }

.menu-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(153, 51, 0, 0.08);
  border: 1px solid rgba(153, 51, 0, 0.2);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.menu-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.menu-name { font-size: 36px; line-height: 1.1; }
.menu-price { display: flex; align-items: baseline; color: var(--clay-deep); flex-shrink: 0; }
.menu-price-value { font-family: var(--font-serif); font-size: 44px; font-weight: 700; line-height: 1; }
.menu-price-cur { font-size: 22px; margin-left: 2px; }

/* El precio del Menú Especial se lee en el sello; se mantiene para lectores de pantalla */
.menu-price--stamped {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.menu-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 28px;
}
.menu-note-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--clay-deep);
  margin-top: 2px;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.menu-tab {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--coffee);
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.menu-tab:hover { border-color: var(--clay); }
.menu-tab[aria-selected="true"] {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}
.menu-tab:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 2px; }

.menu-section-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.menu-section-en {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.menu-list { list-style: none; counter-reset: dish; }
.menu-list li {
  counter-increment: dish;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 0 15px 44px;
  animation: rise .5s var(--ease) both;
}
.menu-list li:nth-child(2) { animation-delay: 70ms; }
.menu-list li:nth-child(3) { animation-delay: 140ms; }
.menu-list li:nth-child(4) { animation-delay: 210ms; }
.menu-list li + li { border-top: 1px solid var(--line); }
.menu-list li::before {
  content: counter(dish, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--clay);
}
.menu-dish { font-size: 17px; line-height: 1.35; color: var(--espresso); }
.menu-dish-en { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

/* Galería */
.gallery {
  background: var(--cream-2);
  padding: 72px 0 120px;
  overflow: hidden;
}
.lemon {
  right: 60px;
  top: 40px;
  width: 220px;
  height: 154px;
  color: var(--clay-deep);
  opacity: 0.45;
}
.slice {
  left: 40px;
  bottom: 90px;
  width: 150px;
  height: 150px;
  color: var(--clay);
  opacity: 0.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.gallery-item { margin: 0; }
.g1 { grid-column: 1 / 8; --r: -2.5deg; --h: 400px; }
.g2 { grid-column: 8 / 13; --r: 3deg; --h: 340px; margin-top: 56px; }
.g3 { grid-column: 1 / 6; --r: 2deg; --h: 340px; margin-top: -40px; }
.g4 { grid-column: 6 / 13; --r: -1.5deg; --h: 360px; }

.polaroid {
  position: relative;
  background: var(--surface);
  padding: 14px 14px 56px;
  border-radius: 6px;
  box-shadow: var(--shadow-photo);
  transform: rotate(var(--r, 0deg));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.gallery-item:hover .polaroid {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -28px rgba(46, 38, 32, 0.45);
}
.polaroid-img { overflow: hidden; border-radius: 3px; }
.polaroid-img img {
  width: 100%;
  height: var(--h, 340px);
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.gallery-item:hover .polaroid-img img { transform: scale(1.06); }
.polaroid-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.2;
  color: var(--coffee);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Contacto */
.contact { padding: 72px 0 160px; overflow: hidden; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  margin: 20px 0 32px;
}
.address-line { font-size: 18px; color: var(--espresso); font-weight: 700; }
.address-zone { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }

.hours-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 4px;
}
.hours-list { list-style: none; margin-bottom: 32px; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.hours-days { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hours-time { color: var(--espresso); font-weight: 700; white-space: nowrap; }
.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
  background: rgba(154, 101, 82, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.hours-status[hidden] { display: none; }
.hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay-deep);
}
.hours-status.is-open .hours-dot { animation: pulse 1.6s ease-out infinite; }

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

.maps-links { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.maps-link { color: var(--clay-deep); font-weight: 700; transition: color .2s var(--ease); }
.maps-link:hover { color: var(--coffee); }
.maps-sep { margin: 0 8px; }

.contact-map {
  height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius) 120px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--cream-2);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

/* Footer */
.site-footer {
  padding: 40px 0 56px;
  background: var(--cream-2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand .brand-logo { width: 46px; height: 46px; }

.footer-social { display: flex; align-items: center; gap: 14px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--coffee);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.social-link-text {
  width: auto;
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
}

.footer-copy { font-size: 13px; color: var(--ink-soft); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  font-size: 13px;
}
.footer-legal a,
.footer-legal-btn {
  color: var(--coffee);
  font-weight: 700;
  transition: color .2s var(--ease);
}
.footer-legal-btn {
  font: inherit;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.footer-legal a:hover,
.footer-legal-btn:hover { color: var(--clay-deep); }

/* Aviso de cookies */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  animation: rise .6s var(--ease) both;
}
.cookie-banner-text { flex: 1; font-size: 14px; line-height: 1.5; }
.cookie-banner-text a { color: var(--clay-deep); font-weight: 700; }
.cookie-banner-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
  margin-bottom: 4px;
}
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Páginas legales y 404 */
.page-simple {
  position: relative;
  padding: 144px 0 96px;
  overflow: hidden;
}
.page-simple .waves { bottom: 24px; }
.legal { max-width: 760px; }
.legal .section-title { margin-bottom: 8px; }
.legal-updated { font-size: 14px; color: var(--ink-soft); margin-bottom: 40px; }
.legal h2 {
  font-size: 30px;
  margin: 40px 0 12px;
}
.legal h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--espresso);
  margin: 24px 0 8px;
}
.legal p,
.legal li { font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { color: var(--clay-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal a:not(.btn):hover { color: var(--coffee); }
.legal-table-wrap { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th,
.legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--espresso); background: var(--cream-2); }
.todo {
  background: rgba(153, 51, 0, 0.1);
  color: var(--rust);
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
}
.page-404 { text-align: center; }
.page-404 .legal { margin: 0 auto; }
.page-404 .hero-actions { justify-content: center; margin-top: 32px; }
.legal .code-404 {
  font-family: var(--font-serif);
  font-size: clamp(96px, 16vw, 180px);
  font-weight: 600;
  line-height: 1;
  color: var(--clay);
}

/* Animación de aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .menu-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-card--especial { margin-top: 40px; }
  .contact-map { order: -1; height: 360px; }
  .hero-sun { width: 380px; height: 380px; }
  .logo-disc { width: 260px; height: 260px; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  body.nav-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav .nav-link { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-link:last-child { border-bottom: 0; }
  .main-nav .nav-link::after { display: none; }

  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .hero { min-height: 0; padding: 104px 0 120px; text-align: center; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; min-height: 240px; }
  .hero-title { font-size: 60px; }
  .hero-sun { width: 300px; height: 300px; }
  .logo-disc { width: 200px; height: 200px; }

  .marquee-word { font-size: 28px; }

  .section { padding: 72px 0; }
  .contact { padding-bottom: 140px; }
  .section-head { text-align: center; margin: 0 auto 40px; }
  .test-notice { text-align: center; }

  .olive, .lemon, .slice, .gallery .bean { display: none; }
  .hero .bean:nth-child(3),
  .hero .bean:nth-child(5),
  .hero .bean:nth-child(6),
  .hero .bean:nth-child(7) { display: none; }

  .menu-card { padding: 32px 24px; }
  .menu-card--especial { margin-top: 48px; }
  .menu-stamp { top: -40px; right: 12px; width: 104px; height: 104px; }
  .menu-stamp-value { font-size: 26px; }
  .menu-stamp-cur { font-size: 14px; }
  .menu-card--especial .menu-card-head { padding-right: 100px; }
  .menu-name { font-size: 30px; }
  .menu-price-value { font-size: 38px; }
  .menu-price-cur { font-size: 20px; }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .g1, .g4 { grid-column: 1 / -1; --h: 240px; margin-top: 0; }
  .g2, .g3 { grid-column: auto; --h: 180px; margin-top: 0; }
  .polaroid { padding: 8px 8px 34px; }
  .polaroid-cap { left: 10px; right: 10px; bottom: 7px; font-size: 16px; }

  .contact-map { border-radius: var(--radius) 72px var(--radius) var(--radius); height: 300px; }
  .wave-divider { height: 48px; }

  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .cookie-banner-actions .btn { flex: 1; }
  .page-simple { padding: 112px 0 88px; }
  .legal h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .hero-title { font-size: 52px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .rise { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .deco-layer { transform: none; }
}
