:root {
  /* CAMBIA ESTOS COLORES SI QUIERES OTRA PALETA */
  --green-700: #14533f;
  --green-500: #2f7a58;
  --green-100: #e8f2ed;
  --red-600: #b93a38;
  --red-500: #d94f4c;
  --neutral-50: #fcfbf9;
  --neutral-100: #f2efea;
  --neutral-900: #1f2522;
  --white: #ffffff;
  --shadow-soft: 0 18px 38px rgba(10, 30, 22, 0.15);
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--neutral-900);
  background: linear-gradient(180deg, var(--neutral-50), var(--neutral-100));
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(252, 251, 249, 0.92);
  border-bottom: 1px solid rgba(20, 83, 63, 0.12);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(20, 83, 63, 0.25);
}

.brand span {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--green-700);
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(20, 83, 63, 0.25);
  border-radius: 50%;
  background: var(--white);
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--green-700);
}

.menu-toggle__line {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.1rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--green-700);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  background: var(--red-600);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(160deg, rgba(20, 83, 63, 0.56), rgba(185, 58, 56, 0.42)),
    url("assets/hero-platillo.png") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 34%);
}

.hero__content {
  color: var(--white);
  text-align: left;
  max-width: 740px;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero__tagline {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.83rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.hero p {
  margin: 0;
  max-width: 62ch;
  line-height: 1.6;
}

.hero__schedule {
  margin: 0;
  align-self: flex-start;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.25em;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}

.schedule-sep {
  white-space: pre;
}

@media (max-width: 480px) {
  .hero__schedule {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0;
  }

  .schedule-sep {
    display: none;
  }
}

.hero__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn--primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(185, 58, 56, 0.35);
}

.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn--primary:hover {
  background: var(--red-500);
  box-shadow: 0 14px 30px rgba(217, 79, 76, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn--whatsapp {
  gap: 0.55rem;
}

.btn--maps {
  gap: 0.55rem;
  background: var(--white);
  color: var(--green-700);
  box-shadow: 0 10px 22px rgba(10, 30, 22, 0.22);
}

.btn--maps:hover {
  background: var(--green-100);
  box-shadow: 0 14px 30px rgba(10, 30, 22, 0.26);
}

.btn__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn__icon--maps {
  width: 1.45rem;
  height: 1.45rem;
}

.maps-green {
  fill: #34a853;
}

.maps-yellow {
  fill: #fbbc04;
}

.maps-blue {
  fill: #4285f4;
}

.maps-blue-dark {
  fill: #1a73e8;
}

.maps-red {
  fill: #ea4335;
}

.maps-center {
  fill: var(--white);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.84rem;
}

h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
}

h2 {
  margin: 0;
  color: var(--green-700);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.about__grid article,
.about__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
  box-shadow: var(--shadow-soft);
}

.about__grid article p {
  line-height: 1.7;
}

.about__card {
  background: linear-gradient(180deg, var(--green-700), var(--green-500));
  color: var(--white);
}

.about__card h3 {
  margin-top: 0;
}

.about__card ul {
  padding-left: 1.15rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.menu-photo h2 {
  margin-bottom: 1rem;
}

.menu-photo__card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(20, 83, 63, 0.12);
}

.menu-photo__card img {
  width: 100%;
  max-height: 1200px;
  object-fit: contain;
  background: #f4efe8;
}

.gallery h2 {
  margin-bottom: 1rem;
}

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

.gallery__item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
  filter: saturate(1.15);
}

.reviews {
  background: var(--white);
}

.reviews__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviews__google-link {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(185, 58, 56, 0.4);
}

.reviews__summary {
  color: rgba(31, 37, 34, 0.78);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.review-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbf7f1);
  border: 1px solid rgba(20, 83, 63, 0.12);
  box-shadow: var(--shadow-soft);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-100);
  color: var(--white);
  font-weight: 700;
}

.review-card__avatar--photo {
  background: linear-gradient(135deg, #5a4638, #1f2522);
}

.review-card__avatar--orange {
  background: #c63b16;
}

.review-card__avatar--sky {
  background: #59c0dc;
}

.review-card__avatar--teal {
  background: #009688;
}

.review-card__avatar--purple {
  background: #ad4dcc;
}

.review-card__author {
  margin: 0;
  font-weight: 700;
  color: var(--green-700);
}

.review-card__date {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: rgba(31, 37, 34, 0.66);
}

.review-card__stars {
  color: #d8a313;
  letter-spacing: 0.05em;
}

.review-card__text {
  margin: 0;
  line-height: 1.65;
  color: rgba(31, 37, 34, 0.86);
}

.review-card__source {
  margin-top: auto;
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.footer {
  background: #102f25;
  color: var(--white);
  padding: 2.6rem 0;
}

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

.footer h3,
.footer h4 {
  margin: 0 0 0.55rem;
}

.footer p {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.footer a {
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.55);
}

/* ANIMACIONES */
.hero__tagline,
.hero h1,
.hero p,
.hero__schedule,
.hero__actions {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero h1 {
  animation-delay: 0.12s;
}

.hero p {
  animation-delay: 0.26s;
}

.hero__actions {
  animation-delay: 0.4s;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

@media (max-width: 920px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 70px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(20, 83, 63, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

@media (max-width: 600px) {
  .hero {
    min-height: 78vh;
  }

  .gallery__grid,
  .reviews__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
}
