:root {
  --vino: #4d0205;
  --vino-bright: #7b0b10;
  --dorado: #d8a04b;
  --dorado-soft: #f3ce83;
  --crema: #fff7ea;
  --marfil: #fffcf4;
  --tinta: #18110f;
  --carbon: #2b2522;
  --verde: #2f6246;
  --linea: rgba(77, 2, 5, 0.14);
  --sombra: 0 24px 70px rgba(38, 16, 10, 0.18);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--tinta);
  background: var(--marfil);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 220ms ease, box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(77, 2, 5, 0.92);
  box-shadow: 0 10px 35px rgba(22, 5, 4, 0.24);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(243, 206, 131, 0.55);
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--dorado-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button,
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  color: var(--vino);
  background: var(--dorado-soft);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(21, 4, 3, 0.22);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: #fff;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 13s ease-out forwards;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(19, 3, 3, 0.62) 0%, rgba(77, 2, 5, 0.44) 42%, rgba(24, 17, 15, 0.78) 100%),
    radial-gradient(circle at center, rgba(216, 160, 75, 0.2), transparent 42%);
}

.hero-content {
  width: min(960px, calc(100% - 40px));
  padding-top: var(--header-height);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--dorado);
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--dorado-soft);
}

.hero-title {
  margin: 0;
  font-size: clamp(4.6rem, 15vw, 11rem);
  line-height: 0.86;
  font-weight: 950;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.5);
}

.hero-title .char {
  display: inline-block;
  transform: translateY(72px) rotateX(70deg);
  opacity: 0;
  animation: titleRise 720ms cubic-bezier(0.18, 0.8, 0.25, 1) forwards;
  animation-delay: calc(var(--i) * 54ms);
}

.hero-title .space {
  width: 0.18em;
}

.hero-copy {
  width: min(690px, 100%);
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.icon-link:hover,
.icon-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--vino);
  background: linear-gradient(135deg, var(--dorado-soft), var(--dorado));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.button-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button-dark {
  color: #fff;
  background: var(--vino);
  box-shadow: 0 18px 38px rgba(77, 2, 5, 0.18);
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(243, 206, 131, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(24, 17, 15, 0.24);
  backdrop-filter: blur(10px);
  font-size: 0.94rem;
}

.intro-section {
  background:
    linear-gradient(180deg, var(--marfil), var(--crema));
}

.intro-grid,
.split-feature,
.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.intro-copy h2,
.section-heading h2,
.feature-copy h2,
.reservation-copy h2 {
  margin: 0;
  color: var(--vino);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.02;
  text-wrap: balance;
}

.intro-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.feature-copy p,
.reservation-copy p {
  color: rgba(24, 17, 15, 0.72);
  font-size: 1.06rem;
  line-height: 1.75;
}

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quick-info a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  color: var(--vino);
  background: #fff;
  font-weight: 750;
}

.media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.media-tile {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  background: var(--vino);
}

.media-wide {
  grid-column: span 2;
}

.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.media-tile:hover img,
.media-tile:hover video {
  transform: scale(1.04);
}

.menu-section {
  background:
    linear-gradient(180deg, #fff, var(--marfil) 70%),
    linear-gradient(90deg, rgba(77, 2, 5, 0.03), rgba(47, 98, 70, 0.03));
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.menu-toolbar {
  position: sticky;
  top: 78px;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 330px);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(77, 2, 5, 0.08);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--carbon);
  background: #fff;
  border: 1px solid rgba(77, 2, 5, 0.12);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button:hover,
.tab-button:focus-visible {
  transform: translateY(-1px);
}

.tab-button.is-active {
  color: #fff;
  background: var(--vino);
  border-color: var(--vino);
}

.search-box {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 2, 5, 0.14);
  background: #fff;
  color: var(--vino);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--tinta);
  background: transparent;
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 18px;
  color: rgba(24, 17, 15, 0.68);
  font-weight: 750;
}

.menu-meta [data-menu-title] {
  color: var(--vino);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(77, 2, 5, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 36px rgba(77, 2, 5, 0.06);
  animation: cardIn 320ms ease both;
}

.menu-card:hover {
  border-color: rgba(216, 160, 75, 0.72);
  box-shadow: 0 22px 48px rgba(77, 2, 5, 0.12);
}

.menu-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.menu-card h3 {
  margin: 0;
  color: var(--vino);
  font-size: 1.14rem;
  line-height: 1.22;
}

.menu-price {
  flex: 0 0 auto;
  color: var(--verde);
  font-weight: 900;
}

.menu-card p {
  margin: 0;
  color: rgba(24, 17, 15, 0.68);
  line-height: 1.55;
}

.menu-tag {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--vino);
  background: rgba(243, 206, 131, 0.42);
  font-size: 0.83rem;
  font-weight: 800;
}

.empty-menu {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--linea);
  color: rgba(24, 17, 15, 0.7);
  background: #fff;
  text-align: center;
}

.feature-band {
  background: var(--vino);
  color: #fff;
}

.feature-band .eyebrow,
.feature-band .feature-copy h2 {
  color: var(--dorado-soft);
}

.feature-band .feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.location-section {
  background: var(--crema);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.map-frame {
  height: min(54vw, 520px);
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  background: #fff;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-panel,
.reservation-form {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--sombra);
}

.contact-panel {
  display: grid;
  gap: 20px;
}

.contact-panel span {
  display: block;
  margin-bottom: 6px;
  color: var(--dorado);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel p {
  margin: 0;
  color: rgba(24, 17, 15, 0.76);
  line-height: 1.55;
}

.contact-panel a:not(.icon-link) {
  color: var(--vino);
  font-weight: 850;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-link {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--vino);
  font-weight: 850;
  transition: transform 180ms ease;
}

.reservation-section {
  background:
    linear-gradient(180deg, var(--marfil), #fff),
    linear-gradient(90deg, rgba(47, 98, 70, 0.04), rgba(216, 160, 75, 0.05));
}

.reservation-copy img {
  width: min(420px, 100%);
  margin-top: 30px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}

.reservation-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--vino);
  font-weight: 850;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(77, 2, 5, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--tinta);
  background: var(--marfil);
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.reservation-form textarea {
  resize: vertical;
  min-height: 114px;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  border-color: var(--dorado);
  box-shadow: 0 0 0 4px rgba(216, 160, 75, 0.18);
}

.form-button {
  width: 100%;
  border-radius: var(--radius);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--verde);
  font-weight: 750;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--tinta);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  color: #fff;
}

.footer-content p {
  margin: 0;
}

.footer-content a:not(.brand) {
  color: var(--dorado-soft);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes titleRise {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .intro-grid,
  .split-feature,
  .reservation-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .menu-toolbar {
    grid-template-columns: 1fr;
    top: 68px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-image {
    order: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .section-pad {
    padding: 72px 0;
  }

  .site-header {
    padding: 0 14px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-title {
    font-size: clamp(4.4rem, 24vw, 7rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .hero-tags {
    display: none;
  }

  .intro-copy h2,
  .section-heading h2,
  .feature-copy h2,
  .reservation-copy h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .media-mosaic {
    grid-auto-rows: 180px;
  }

  .map-frame {
    height: 380px;
    min-height: 380px;
  }

  .menu-toolbar {
    padding: 12px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .tab-button {
    flex: 0 0 auto;
  }

  .menu-meta {
    flex-direction: column;
    gap: 4px;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
