:root {
  --ink: #17110d;
  --ink-2: #241b16;
  --cream: #fff7ea;
  --paper: #f3e4cf;
  --muted: #b7a58b;
  --gold: #d6a756;
  --copper: #b75b35;
  --blue: #4b7485;
  --green: #344b38;
  --white: #fffaf2;
  --glass: rgba(255, 247, 234, 0.09);
  --line: rgba(255, 247, 234, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 10%, rgba(183, 91, 53, 0.3), transparent 34rem),
    radial-gradient(circle at 84% 4%, rgba(75, 116, 133, 0.34), transparent 32rem),
    linear-gradient(135deg, #160f0b 0%, #211710 44%, #101714 100%);
  color: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.grain {
  position: absolute;
  inset: -50%;
  opacity: 0.13;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px),
    linear-gradient(25deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 8px);
  transform: rotate(8deg);
}

.light {
  position: absolute;
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
  mix-blend-mode: screen;
  will-change: transform;
}

.light-a {
  left: 0;
  top: 0;
  background: #d6a756;
  transform: translate3d(var(--x, 12vw), var(--y, 18vh), 0) translate(-50%, -50%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-b {
  right: 2%;
  bottom: 10%;
  background: #4b7485;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 247, 234, 0.14);
  border-radius: 999px;
  background: rgba(23, 17, 13, 0.56);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  height: 46px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: 4px;
}

.nav-links a,
.header-cta {
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 250, 242, 0.78);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.header-cta {
  background: var(--white);
  color: var(--ink);
}

.header-cta:hover {
  transform: translateY(-1px);
}

.call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 56px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffdb91 50%, var(--copper));
  color: #1c120c;
  box-shadow: 0 16px 40px rgba(214, 167, 86, 0.4);
}

.call-fab svg {
  width: 24px;
  height: 24px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: end;
  gap: 34px;
  overflow: hidden;
  padding: 148px max(18px, calc((100vw - 1220px) / 2)) 72px;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 8, 5, 0.94) 0%, rgba(13, 8, 5, 0.62) 39%, rgba(13, 8, 5, 0.1) 100%),
    linear-gradient(0deg, rgba(13, 8, 5, 0.82) 0%, transparent 42%, rgba(13, 8, 5, 0.22) 100%);
}

.hero::after {
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(214, 167, 86, 0.28), transparent 32%),
    radial-gradient(circle at 76% 32%, rgba(255, 247, 234, 0.12), transparent 24rem);
  mix-blend-mode: screen;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 18px;
  font-size: clamp(5.2rem, 15vw, 13.6rem);
  line-height: 0.76;
  text-wrap: balance;
  text-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.hero-subtitle {
  display: block;
  margin-top: 0.22em;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  text-shadow: none;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5.9rem);
  line-height: 0.96;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.08;
}

.hero-text,
.section-copy p,
.sticky-copy p,
.event-copy p,
.location-card p {
  max-width: 62ch;
  color: rgba(255, 250, 242, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 520px;
  color: rgba(255, 250, 242, 0.84);
  font-size: clamp(1.16rem, 2vw, 1.48rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 234, 0.18);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 800;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.btn::before {
  position: absolute;
  inset: var(--spot-y, 50%) auto auto var(--spot-x, 50%);
  z-index: -1;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  content: "";
  filter: blur(28px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #ffdb91 50%, var(--copper));
  color: #1c120c;
  box-shadow: 0 16px 46px rgba(214, 167, 86, 0.26);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.bento span,
.stack-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 247, 234, 0.12);
  background: rgba(255, 247, 234, 0.04);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee span {
  padding: 22px 34px;
  color: rgba(255, 250, 242, 0.8);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2.5vw, 2.4rem);
  white-space: nowrap;
}

.section {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 112px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
}

.bento {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.11), rgba(255, 250, 242, 0.04));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.bento:not(.image):not(.large) {
  padding: 28px;
}

.bento.large {
  grid-row: span 2;
}

.bento.large::after,
.bento.image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 8, 5, 0.72), transparent 56%);
  content: "";
}

.bento img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento:hover img,
.gallery-slide:hover img,
.event-photo:hover img {
  transform: scale(1.06);
}

.bento.large div {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  width: min(320px, calc(100% - 48px));
}

.bento strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.12;
}

.bento p {
  color: rgba(255, 250, 242, 0.68);
  line-height: 1.55;
}

.menu-card {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.07);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.menu-price-block {
  flex-shrink: 0;
  padding-right: 44px;
  border-right: 1px solid rgba(255, 247, 234, 0.16);
  text-align: center;
}

.menu-price {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 6vw, 4.8rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.menu-price-block small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.6);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
}

.menu-copy p {
  max-width: 56ch;
  color: rgba(255, 250, 242, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.menu-note {
  display: inline-block;
  margin-top: 16px;
  color: rgba(255, 250, 242, 0.48);
  font-size: 0.85rem;
}

.rice-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 136px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 800;
}

.text-link-arrow {
  transition: transform 0.25s ease;
}

.text-link:hover .text-link-arrow {
  transform: translateX(4px);
}

.rice-stack {
  display: grid;
  gap: 18px;
}

.stack-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transform-origin: center;
}

.stack-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack-card:hover img {
  transform: scale(1.06);
}

.stack-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(12, 8, 5, 0.88) 0%, rgba(12, 8, 5, 0.42) 58%, rgba(12, 8, 5, 0.12) 100%);
  content: "";
}

.stack-card span,
.stack-card h3,
.stack-card p {
  position: relative;
  z-index: 2;
}

.stack-card h3 {
  margin-bottom: 12px;
}

.stack-card p,
.review-card p {
  color: rgba(255, 250, 242, 0.7);
  line-height: 1.65;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.gallery-carousel {
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide,
.event-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-slide {
  flex: 0 0 min(400px, 76vw);
  min-height: 480px;
}

.gallery-slide img,
.event-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.event-gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 620px;
}

.event-photo-large {
  grid-row: span 2;
}

.event-copy {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.07);
  backdrop-filter: blur(18px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.chips span {
  border: 1px solid rgba(255, 247, 234, 0.16);
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(255, 250, 242, 0.8);
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

.stars {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}

.review-carousel {
  position: relative;
}

.review-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.review-track.is-dragging {
  cursor: grabbing;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(380px, 82vw);
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(214, 167, 86, 0.2), transparent 16rem),
    rgba(255, 255, 255, 0.07);
}

.review-card p {
  font-family: "Playfair Display", serif;
  font-size: 1.38rem;
  line-height: 1.35;
}

.review-card strong {
  color: var(--gold);
}

.location {
  padding-bottom: 64px;
}

.location-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(20, 13, 9, 0.92), rgba(20, 13, 9, 0.52)),
    url("assets/fachada.jpg") center / cover;
  box-shadow: var(--shadow);
}

.location-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(214, 167, 86, 0.22), transparent 24rem);
  content: "";
}

.location-card > * {
  position: relative;
}

.schedule {
  display: grid;
  max-width: 520px;
  gap: 8px;
  margin: 26px 0 10px;
}

.schedule span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 247, 234, 0.14);
  padding-bottom: 10px;
  color: rgba(255, 250, 242, 0.72);
}

.schedule strong {
  color: var(--white);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid rgba(255, 247, 234, 0.13);
  padding: 34px 0 42px;
  color: rgba(255, 250, 242, 0.64);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 250, 242, 0.56);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

.footer-links a:last-child {
  color: rgba(255, 250, 242, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-1.4%, -0.8%, 0);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .rice-section,
  .event-panel {
    grid-template-columns: 1fr;
  }

  .event-copy {
    order: 1;
  }

  .event-gallery {
    order: 2;
  }

  .hero {
    padding-top: 126px;
    gap: 34px;
    align-items: center;
  }

  .menu-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .menu-price-block {
    padding-right: 0;
    padding-bottom: 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 247, 234, 0.16);
    width: 100%;
    text-align: left;
  }

  h1 {
    max-width: 7ch;
  }

  .sticky-copy {
    position: static;
  }

  .gallery-slide {
    min-height: 380px;
  }
}

@media (max-width: 680px) {
  .call-fab {
    display: grid;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 8px;
  }

  .brand strong {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .section,
  .footer {
    width: min(100% - 24px, 1220px);
  }

  /* Mobile hero: the desktop version overlays the copy on a full-bleed,
     full-height photo, but on a tall narrow viewport `object-fit: cover`
     zooms in so much that the copy sits right on top of the "Hermanos
     Hervás" sign in the photo. Instead, show the photo as a plain banner
     (cropped tight to the sign, nothing important below it) and flow the
     copy below it on the page background, so nothing ever overlaps. */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    padding: 116px 0 56px;
    gap: 28px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-backdrop {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1653 / 575;
    overflow: hidden;
  }

  .hero-backdrop img {
    object-position: center top;
    transform: none;
    animation: none;
  }

  .hero-copy {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .event-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }

  .gallery-slide {
    flex-basis: 82vw;
    min-height: 320px;
  }

  .section {
    padding: 82px 0;
  }

  .event-copy {
    padding: 24px;
  }

  .review-card {
    min-height: auto;
  }

  .schedule span {
    display: grid;
  }

  .footer {
    flex-direction: column;
  }
}
