/* =============================================================
   PANORAMIC · Restaurante frente al mar · Roses, Costa Brava
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f2e7d5;   /* arena cálida */
  --bg-2:      #e6d7bd;
  --paper:     #fffaf3;
  --ink:       #1c1712;   /* espresso, no gris frío */
  --ink-soft:  #2c241c;
  --ink-mute:  #746a5c;
  --accent:    #d5541f;   /* coral atardecer, más saturado */
  --accent-2:  #15586b;   /* azul mediterráneo profundo */
  --cream:     #f2e7d5;
  --line:      rgba(28,23,18,0.14);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--serif); }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.kicker {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: .5rem; }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; margin-top: 1rem; max-width: 52ch; }
em { font-style: italic; color: var(--accent); }

[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s, color .3s;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.16), 0 10px 22px rgba(213,84,31,0.2);
}
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,0.08); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-wide { width: 100%; }

/* =============================================================
   5. Image placeholder slots (photos come later — see LEEME)
   ============================================================= */
.img-slot {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--accent-2) 140%);
  display: flex; align-items: flex-end; min-height: 220px;
}
.img-slot::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(28,23,18,.05) 0 2px, transparent 2px 14px);
}
.img-slot-label {
  position: relative; z-index: 1;
  margin: .9rem; padding: .45rem .8rem;
  font-size: .72rem; font-family: var(--sans); font-weight: 600;
  letter-spacing: .04em; color: var(--ink);
  background: rgba(242,231,213,0.92);
  border-radius: 8px;
}
.img-slot--hero { min-height: 100%; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .3s;
}
.nav.is-scrolled {
  background: rgba(242,231,213,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1.15rem; }
.nav-brand {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; letter-spacing: .01em;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.35);
  transition: color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.nav.is-scrolled .nav-brand { color: var(--ink); text-shadow: none; }
.nav-links { display: none; align-items: center; gap: 1.9rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; font-size: .92rem; padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .7rem 1.3rem; font-size: .85rem; } }
.nav-kbd {
  display: none; align-items: center; gap: .3rem;
  font-size: .72rem; color: var(--ink-mute); border: 1px solid var(--line);
  padding: .3rem .5rem; border-radius: 6px; margin-left: .5rem;
}
@media (min-width: 960px) { .nav-kbd { display: inline-flex; } }
.nav-burger {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  transition: border-color .4s var(--ease-out);
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 16px; height: 1.5px; background: #fff; position: relative;
  transition: transform .3s, opacity .3s, background-color .4s var(--ease-out);
}
.nav-burger span::before { position: absolute; top: -5px; }
.nav-burger span::after { position: absolute; top: 5px; }
.nav.is-scrolled .nav-burger { border-color: var(--line); }
.nav.is-scrolled .nav-burger span,
.nav.is-scrolled .nav-burger span::before,
.nav.is-scrolled .nav-burger span::after { background: var(--ink); }

/* ---- Language switcher ---- */
.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out), text-shadow .4s var(--ease-out);
}
.lang-trigger:hover { border-color: #fff; }
.lang-trigger::after { content: "▾"; font-size: .65em; opacity: .8; }
.nav.is-scrolled .lang-trigger { color: var(--ink); text-shadow: none; border-color: var(--line); }
.nav.is-scrolled .lang-trigger:hover { border-color: var(--ink); }
.lang-menu {
  position: absolute; top: calc(100% + .5rem); right: 0; z-index: 120;
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(28,23,18,.22); min-width: 150px;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.lang-switch.is-open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-menu button {
  padding: .7rem 1rem; text-align: left; font-size: .9rem; color: var(--ink);
}
.lang-menu button:hover { background: var(--bg-2); }
.lang-menu button.is-active { color: var(--accent); font-weight: 700; }

.lang-switch--mobile {
  display: flex; gap: .6rem; justify-content: center; margin-top: 2.4rem;
}
.lang-switch--mobile button {
  padding: .5rem .9rem; border: 1px solid rgba(242,231,213,.3); border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: rgba(242,231,213,.8);
}
.lang-switch--mobile button.is-active { color: var(--cream); border-color: var(--cream); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1.4rem; text-align: center; }
.nav-mobile a { font-family: var(--serif); font-size: 1.6rem; font-style: italic; }
.nav-mobile-close {
  position: absolute; top: 1.3rem; right: var(--gutter);
  width: 40px; height: 40px; border: 1px solid rgba(242,231,213,.3); border-radius: 999px;
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero-ambient {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(85% 70% at 78% 32%, rgba(213,84,31,.35) 0%, rgba(213,84,31,0) 62%),
    radial-gradient(120% 90% at 50% 100%, #2c2016 0%, #1c1712 55%, #120d09 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-tint {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,23,18,.05) 0%, rgba(28,23,18,.15) 55%, rgba(28,23,18,.55) 100%);
}
.hero-figure {
  position: absolute; z-index: 3; pointer-events: none;
  right: -6%; top: 50%; width: min(62vw, 760px); aspect-ratio: .75 / 1;
  transform: translateY(-50%);
  perspective: 1400px;
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(0 40px 55px rgba(0,0,0,.55));
  animation: paella-float 9s ease-in-out infinite;
}
@keyframes paella-float {
  0%   { transform: rotateY(-11deg) rotateX(3deg) translateY(0); }
  50%  { transform: rotateY(11deg) rotateX(-2deg) translateY(-16px); }
  100% { transform: rotateY(-11deg) rotateX(3deg) translateY(0); }
}
@media (max-width: 900px) {
  .hero-figure {
    right: 50%; left: auto; top: auto; bottom: -3%;
    width: min(80vw, 420px);
    transform: translateX(50%);
    opacity: .85;
  }
  .hero-figure img { animation-duration: 7s; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background:
    radial-gradient(120% 85% at 50% 42%, rgba(0,0,0,0) 42%, rgba(12,8,5,.5) 100%),
    linear-gradient(180deg, rgba(20,15,10,.4) 0%, rgba(20,15,10,.08) 32%, rgba(20,15,10,.22) 68%, rgba(20,15,10,.68) 100%);
}
.hero-inner {
  position: relative; z-index: 7; padding-block: clamp(2.5rem, 6vw, 4.5rem); width: 100%;
}
.hero-fade { opacity: 0; animation: fadeSlideUp .8s ease both; }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-meta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(28,23,18,.32); backdrop-filter: blur(6px);
  padding: .5rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: #6fd39a; }
.hero-title {
  color: #fff;
  font-size: clamp(2.9rem, 7.2vw, 6.2rem);
  letter-spacing: -.01em;
  max-width: 17ch;
  text-shadow: 0 4px 50px rgba(0,0,0,.45), 0 1px 0 rgba(0,0,0,.2);
}
.hero-title em { color: #ffcf9e; font-style: italic; text-shadow: 0 4px 34px rgba(255,187,110,.35); }
.hero-sub {
  color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 44ch; margin-top: 1.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; margin-top: 2.1rem; }

/* =============================================================
   9.5 Especialidad de la casa
   ============================================================= */
/* =============================================================
   Figura carousel — paella / parrillada (Rolex-style figurine flip)
   ============================================================= */
.figura-hero {
  position: relative; width: 100%; height: 100svh; min-height: 560px; overflow: hidden;
  background-color: #d5541f;
  transition: background-color .65s cubic-bezier(.4,0,.2,1);
  color: #fff;
}
.figura-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.figura-ghost {
  position: absolute; inset-inline: 0; top: 13%; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none;
  font-family: 'Anton', sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(70px, 24vw, 300px); line-height: .9; letter-spacing: -.02em;
  color: #fff; opacity: .92; white-space: nowrap;
  transition: opacity .3s;
}
.figura-brand {
  position: absolute; top: 1.5rem; left: 1.25rem; z-index: 6;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; opacity: .9;
}
.figura-stage { position: absolute; inset: 0; z-index: 3; }
.figura-item {
  position: absolute; left: 50%; bottom: 0; aspect-ratio: .62 / 1;
  opacity: 0; pointer-events: none;
  transition: transform .65s cubic-bezier(.4,0,.2,1), filter .65s cubic-bezier(.4,0,.2,1),
              opacity .65s cubic-bezier(.4,0,.2,1), left .65s cubic-bezier(.4,0,.2,1),
              height .65s cubic-bezier(.4,0,.2,1), bottom .65s cubic-bezier(.4,0,.2,1);
  will-change: transform, filter, opacity, left;
}
.figura-item img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block; }
.figura-item.is-center { height: 62%; bottom: 12%; left: 50%; transform: translateX(-50%) scale(1.25); filter: none; opacity: 1; z-index: 20; }
.figura-item.is-side   { height: 30%; bottom: 18%; left: 82%; transform: translateX(-50%) scale(1); filter: blur(3px); opacity: .55; z-index: 10; }
.figura-item.is-left   { height: 26%; bottom: 16%; left: 20%; transform: translateX(-50%) scale(1); filter: blur(2px); opacity: .8; z-index: 10; }
.figura-item.is-right  { height: 26%; bottom: 16%; left: 80%; transform: translateX(-50%) scale(1); filter: blur(2px); opacity: .8; z-index: 10; }
.figura-item.is-back   { height: 20%; bottom: 16%; left: 50%; transform: translateX(-50%) scale(1); filter: blur(4px); opacity: .5; z-index: 5; }
.figura-info { position: absolute; left: 1.25rem; bottom: 1.5rem; z-index: 6; max-width: 320px; }
.figura-name { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; margin-bottom: .3rem; }
.figura-price { display: block; font-family: var(--serif); font-style: italic; font-size: 1.05rem; opacity: .9; margin-bottom: .7rem; }
.figura-desc { display: none; font-size: .82rem; line-height: 1.6; opacity: .85; margin-bottom: 1.1rem; max-width: 30ch; }
.figura-nav { display: flex; gap: .7rem; }
.figura-btn {
  width: 3rem; height: 3rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.9);
  background: transparent; color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .15s, background-color .15s; padding: 0;
}
.figura-btn:hover { transform: scale(1.08); background: rgba(255,255,255,.12); }
.figura-btn svg { width: 22px; height: 22px; }
.figura-discover {
  position: absolute; right: 1.1rem; bottom: 1.5rem; z-index: 6;
  display: flex; align-items: center; gap: .4rem;
  font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase;
  color: #fff; opacity: .95; text-decoration: none; line-height: 1; letter-spacing: -.02em;
  font-size: clamp(18px, 4vw, 40px);
  transition: opacity .2s;
}
.figura-discover:hover { opacity: 1; }
.figura-discover svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
@media (min-width: 640px) {
  .figura-desc { display: block; }
  .figura-brand { top: 1.75rem; left: 2rem; }
  .figura-info { left: 3.5rem; bottom: 3.5rem; }
  .figura-discover { right: 2.5rem; bottom: 3.5rem; }
  .figura-item.is-center { height: 92%; transform: translateX(-50%) scale(1.68); }
  .figura-item.is-side   { height: 28%; bottom: 12%; left: 74%; }
  .figura-item.is-left   { height: 30%; bottom: 12%; left: 28%; }
  .figura-item.is-right  { height: 30%; bottom: 12%; left: 72%; }
  .figura-item.is-back   { height: 24%; bottom: 12%; }
}

/* =============================================================
   10. Marquee
   ============================================================= */
.marquee-wrap { padding-block: 1.6rem; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.marquee { overflow: hidden; position: relative; white-space: nowrap; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track {
  display: inline-flex; gap: 2.4rem; white-space: nowrap; will-change: transform;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--ink-soft);
}
.marquee-track span.dot { color: var(--accent); font-style: normal; }

/* =============================================================
   11. La carta — menú completo por categorías
   ============================================================= */
.carta { background: var(--paper); }
.menu { display: grid; gap: clamp(2.2rem, 5vw, 3.2rem); }
@media (min-width: 860px) { .menu { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; } }
.menu-cat-title {
  font-size: 1.3rem; padding-bottom: .6rem; margin-bottom: 1.2rem;
  border-bottom: 1.5px solid var(--ink);
}
.menu-cat-note { font-family: var(--sans); font-style: normal; font-size: .78rem; color: var(--ink-mute); font-weight: 400; }
.menu-cat-photo { min-height: 260px; border-radius: 14px; margin-bottom: 1.3rem; }
.menu-cat-photo-frame {
  position: relative; height: 260px; border-radius: 14px; overflow: hidden; margin-bottom: 1.3rem;
  background: var(--bg-2);
}
.menu-cat-photo-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(26px) brightness(.72) saturate(1.3); transform: scale(1.15);
}
.menu-cat-photo-fg {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
}
.menu-cat-photo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  height: 260px; border-radius: 14px; overflow: hidden; margin-bottom: 1.3rem;
}
.menu-cat-photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.menu-row + .menu-row { margin-top: 1.1rem; }
.menu-row-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem .6rem; }
.menu-name { font-family: var(--serif); font-size: 1.06rem; flex: 1 1 auto; min-width: 55%; }
.menu-leader { display: none; }
.menu-price { font-family: var(--sans); font-weight: 700; color: var(--accent); white-space: nowrap; font-size: .92rem; }
@media (min-width: 540px) {
  .menu-row-top { flex-wrap: nowrap; }
  .menu-name { white-space: nowrap; flex: 0 0 auto; min-width: 0; }
  .menu-leader { display: block; flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-.35em); }
}
.menu-desc { color: var(--ink-mute); font-size: .88rem; margin-top: .25rem; max-width: 46ch; }
.carta-note { font-size: .82rem; color: var(--ink-mute); margin-top: 2.5rem; }

/* =============================================================
   12. Testimonios
   ============================================================= */
.testimonials { background: var(--ink); color: var(--cream); }
.testimonials .kicker { color: #ffcf9e; }
.testi-carousel { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
.testi-stage {
  position: relative; width: 100%; max-width: 620px;
  height: 340px; perspective: 1400px;
}
.testi-card {
  position: absolute; top: 50%; left: 50%; width: min(88vw, 460px);
  background: rgba(242,231,213,.07); border: 1px solid rgba(242,231,213,.16);
  border-radius: 20px; padding: 2.2rem 2.1rem;
  transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .7s cubic-bezier(.22,1,.36,1), filter .7s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.testi-card.is-center {
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  opacity: 1; filter: none; z-index: 3; pointer-events: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.testi-card.is-left {
  transform: translate(-50%, -50%) translateX(-58%) scale(.8) rotateY(18deg);
  opacity: .45; filter: blur(1.5px); z-index: 1;
}
.testi-card.is-right {
  transform: translate(-50%, -50%) translateX(58%) scale(.8) rotateY(-18deg);
  opacity: .45; filter: blur(1.5px); z-index: 1;
}
.testi-quote-mark {
  display: block; font-family: var(--serif); font-style: italic; color: #ffcf9e;
  font-size: 3.4rem; line-height: .6; opacity: .8; margin-bottom: .6rem;
}
.testi-stars { color: #ffcf9e; letter-spacing: .12em; margin-bottom: 1rem; }
.testi-quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; }
.testi-name { margin-top: 1.3rem; font-size: .85rem; color: rgba(242,231,213,.7); }
.testi-nav { display: flex; align-items: center; gap: 1.3rem; }
.testi-btn { width: 2.6rem; height: 2.6rem; }
.testi-btn svg { width: 18px; height: 18px; }
.testi-dots { display: flex; gap: .55rem; }
.testi-dot {
  width: .5rem; height: .5rem; border-radius: 999px; padding: 0; border: none; cursor: pointer;
  background: rgba(242,231,213,.3); transition: background-color .25s, transform .25s;
}
.testi-dot.is-active { background: #ffcf9e; transform: scale(1.3); }
.testi-note { font-size: .78rem; color: rgba(242,231,213,.5); margin-top: .5rem; max-width: 60ch; }
@media (max-width: 640px) {
  .testi-stage { height: 300px; }
  .testi-card.is-left  { transform: translate(-50%, -50%) translateX(-46%) scale(.78) rotateY(14deg); }
  .testi-card.is-right { transform: translate(-50%, -50%) translateX(46%) scale(.78) rotateY(-14deg); }
}

/* =============================================================
   13. Cómo llegar
   ============================================================= */
.llegar-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .llegar-grid { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.llegar-map { border-radius: 20px; min-height: 320px; overflow: hidden; }
.llegar-map img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.llegar-info { display: flex; flex-direction: column; gap: 1.4rem; justify-content: center; }
.llegar-row { display: flex; gap: 1rem; align-items: flex-start; }
.llegar-icon {
  flex: none; width: 42px; height: 42px; border-radius: 999px;
  background: var(--bg-2); display: grid; place-items: center; font-size: 1.1rem;
}
.llegar-row h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
.llegar-row p, .llegar-row a { color: var(--ink-mute); font-size: .95rem; }
.llegar-row a:hover { color: var(--accent); }

/* =============================================================
   14. Reservas — CTA final
   ============================================================= */
.reservas { background: var(--ink); position: relative; }
.reservas-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.reservas-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.reservas-bg::after { content: ""; position: absolute; inset: 0; background: rgba(15,12,9,.6); }
.reservas-halo {
  position: absolute; inset: -20% -10% 0 -10%; z-index: 1;
  background: radial-gradient(45% 45% at 50% 30%, rgba(213,84,31,.25), transparent 70%);
  filter: blur(90px); pointer-events: none;
}
.reservas-call {
  position: relative; z-index: 2; text-align: center;
  max-width: 620px; margin-inline: auto;
  background: var(--paper); border-radius: 26px; padding: clamp(2.2rem, 6vw, 4rem);
  box-shadow: 0 40px 90px rgba(28,23,18,.12);
  display: flex; flex-direction: column; align-items: center;
}
.reservas-call h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.reservas-call p { color: var(--ink-mute); margin-top: 1rem; max-width: 42ch; }
.reservas-phone {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.9rem, 5vw, 3rem); color: var(--accent);
  transition: color .3s var(--ease-out);
}
.reservas-phone:hover { color: var(--accent-2); }
.reservas-hours { font-size: .9rem; margin-top: .6rem; color: var(--ink-mute); }
.reservas-direct { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.8rem; }
.reservas-direct a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.reservas-direct a:hover { color: var(--accent); }
.reservas-direct--center { align-items: center; }

/* =============================================================
   15. Footer
   ============================================================= */
.footer { background: var(--ink); color: rgba(242,231,213,.72); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--cream); }
.footer-brand-sub { font-size: .85rem; margin-top: .6rem; max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,231,213,.5); margin-bottom: .9rem; }
.footer ul { display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.footer a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(242,231,213,.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .78rem;
}

/* =============================================================
   16. Cursor & Cmd+K palette
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  display: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 32px; height: 32px; margin: -16px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 50px; height: 50px; margin: -25px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.palette-overlay {
  position: fixed; inset: 0; z-index: 9998; background: rgba(15,12,9,.55);
  backdrop-filter: blur(4px); display: grid; place-items: flex-start;
  padding-top: 12vh; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out);
}
.palette-overlay.is-open { opacity: 1; pointer-events: auto; }
.palette {
  width: min(94vw, 560px); margin-inline: auto; background: var(--paper);
  border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.4);
  transform: translateY(-10px); transition: transform .3s var(--ease-out);
}
.palette-overlay.is-open .palette { transform: translateY(0); }
.palette input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 1.3rem;
  font: inherit; font-size: 1.05rem; background: transparent; color: var(--ink);
}
.palette ul { max-height: 320px; overflow-y: auto; }
.palette li a { display: block; padding: .85rem 1.3rem; font-size: .95rem; }
.palette li a:hover, .palette li.is-active a { background: var(--bg-2); }
.palette-empty { padding: 1.3rem; color: var(--ink-mute); font-size: .9rem; }

/* =============================================================
   17. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =============================================================
   18. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}
