:root {
  --bg: #f4ede2;
  --bg-soft: #ebe1d2;
  --surface: rgba(255, 250, 243, 0.78);
  --surface-strong: #fffaf2;
  --text: #171511;
  --muted: #6c665d;
  --olive: #687c5e;
  --olive-deep: #42513c;
  --line: rgba(23, 21, 17, 0.12);
  --shadow: 0 30px 80px rgba(17, 15, 11, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(104, 124, 94, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 35%),
    linear-gradient(180deg, #f6f0e7 0%, #f4ede2 100%);
}

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

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

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

.container {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  font-weight: 400;
}

h2 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.92;
}

h3 {
  font-size: 1.65rem;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 240, 231, 0.76);
  border-bottom: 1px solid rgba(23, 21, 17, 0.06);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 240, 231, 0.9);
  border-bottom-color: rgba(23, 21, 17, 0.1);
  box-shadow: 0 10px 30px rgba(17, 15, 11, 0.06);
}

.nav-shell {
  position: relative;
  width: min(1480px, calc(100vw - 1.25rem));
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px) minmax(0, 1fr);
  align-items: center;
  min-height: 124px;
  gap: 0.25rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav-group-right {
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.35rem 0;
}

.brand img {
  width: auto;
  max-width: 100%;
  height: calc(124px - 0.7rem);
  object-fit: contain;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

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

.button-solid {
  background: var(--olive-deep);
  color: #fff;
}

.button-outline {
  border-color: var(--olive-deep);
  color: var(--olive-deep);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 15, 11, 0.34), rgba(17, 15, 11, 0.48)),
    url("./assets/manitas-de-cerdo.webp") center/cover;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 15, 11, 0.08), rgba(17, 15, 11, 0.56));
}

.hero-glow {
  position: absolute;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
}

.hero-glow-left {
  left: -8vw;
  bottom: -12vw;
  background: rgba(104, 124, 94, 0.8);
}

.hero-glow-right {
  right: -10vw;
  top: 8vw;
  background: rgba(255, 219, 168, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 0 8rem;
}

.hero .eyebrow,
.hero-copy {
  color: rgba(255, 250, 243, 0.82);
}

.hero-wordmark {
  width: min(980px, 92vw);
  filter: brightness(0) invert(1);
  margin: 0 auto 1.4rem;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.8rem;
  color: rgba(255, 250, 243, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.1), rgba(255, 250, 243, 0.95));
}

.ticker {
  overflow: hidden;
  background: var(--olive);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  padding: 1rem 0;
  animation: marquee 40s linear infinite;
}

.ticker-track span {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: 0.05em;
}

.ticker-track img {
  width: clamp(56px, 7vw, 110px);
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.section {
  padding: 6rem 0;
}

.section-cream {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.14)),
    var(--bg-soft);
}

.section-gallery {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.split-layout,
.reservation-layout,
.editorial-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.visit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 540px);
  grid-template-areas:
    "intro map"
    "meta map";
  gap: 1.5rem 2rem;
  align-items: start;
}

.section-copy,
.editorial-panel,
.reservation-copy {
  display: grid;
  gap: 1.2rem;
}

.visit-intro {
  grid-area: intro;
  display: grid;
  gap: 1.2rem;
}

.image-stack {
  position: relative;
  min-height: 620px;
}

.card-photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-photo-large {
  inset: 0 4rem 7rem 0;
}

.card-photo-accent {
  right: 0;
  bottom: 0;
  width: min(42%, 260px);
  height: 44%;
  border: 12px solid var(--bg);
}

.section-heading {
  display: grid;
  gap: 1.1rem;
  max-width: 740px;
  margin-bottom: 2.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 21, 17, 0.06);
}

.feature-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.feature-body {
  display: grid;
  gap: 0.9rem;
  padding: 1.6rem;
}

.feature-index {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  min-height: 230px;
  border-radius: calc(var(--radius) - 6px);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 0.25rem;
  color: var(--olive-deep);
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.visit-meta {
  grid-area: meta;
  display: grid;
  gap: 1rem;
}

.visit-meta div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.visit-meta h3 {
  margin-bottom: 0.4rem;
}

.map-mock {
  grid-area: map;
  min-height: 620px;
}

.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 36px 90px rgba(17, 15, 11, 0.2);
}

.reservation-section {
  background:
    linear-gradient(180deg, rgba(66, 81, 60, 0.96), rgba(35, 43, 31, 1)),
    var(--olive-deep);
  color: #fff;
}

.reservation-section p,
.reservation-section .eyebrow {
  color: rgba(255, 250, 243, 0.82);
}

.reservation-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.reservation-notes li {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
}

.reservation-form label {
  display: grid;
  gap: 0.5rem;
}

.reservation-form span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 21, 17, 0.12);
  border-radius: 18px;
  padding: 1rem 1rem;
  background: #fff;
  color: var(--text);
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: 2px solid rgba(104, 124, 94, 0.28);
  border-color: var(--olive);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-caption {
  font-size: 0.9rem;
}

.form-feedback {
  min-height: 1.6rem;
  color: var(--olive-deep);
  font-weight: 700;
}

.site-footer {
  padding: 3rem 0;
  background: #14120f;
  color: rgba(255, 250, 243, 0.74);
}

.site-footer p,
.site-footer a {
  color: inherit;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-logo {
  width: 88px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-copy {
  max-width: 340px;
}

.site-footer a {
  display: block;
  margin-bottom: 0.5rem;
}

.group-mark {
  width: 100%;
  max-width: 220px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

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

@media (max-width: 980px) {
  .site-nav {
    position: relative;
    grid-template-columns: auto 1fr auto;
    min-height: 124px;
  }

  .nav-group {
    display: none;
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-self: center;
    width: auto;
    max-width: none;
  }

  .brand img {
    width: auto;
    max-width: none;
    height: calc(124px - 0.7rem);
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 5px;
    border: 0;
    border-radius: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    appearance: none;
    position: relative;
    z-index: 2;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 180ms ease, opacity 180ms ease;
    transform-origin: center;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% - 0.35rem);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.6rem;
    grid-template-columns: 1fr;
    gap: 0.2rem;
    background: rgba(250, 245, 238, 0.95);
    border: 1px solid rgba(23, 21, 17, 0.08);
    box-shadow: 0 22px 50px rgba(17, 15, 11, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-menu.is-open {
    display: grid;
  }

  .mobile-menu a {
    padding: 1rem 0.9rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(23, 21, 17, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    font-weight: 700;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .split-layout,
  .reservation-layout,
  .editorial-layout,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .visit-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "map"
      "meta";
    gap: 1.25rem;
  }

  .map-mock,
  .map-frame {
    min-height: 420px;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .card-photo {
    position: static;
    min-height: 320px;
  }

  .card-photo-accent {
    width: auto;
    height: auto;
    border-width: 0;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100vw - 1.2rem, 1160px);
  }

  .hero-actions,
  .form-actions,
  .field-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: calc(100svh - 88px);
  }

  .hero-content {
    min-height: calc(100svh - 88px);
    padding: 6rem 0 7rem;
  }

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

  .ticker-track span {
    font-size: 2.3rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .reservation-form {
    padding: 1.2rem;
  }
}
