/* ==========================================================================
   Maestro — main stylesheet (sections)
   Breakpoints: desktop >=1200px | tablet 810-1199px | mobile <=809px
   ========================================================================== */

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-cream);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.06);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
}

.site-header__logo img {
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav__link {
  position: relative;
  padding-bottom: 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background-color: var(--color-orange);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-nav__link.is-active,
.site-nav__link:hover {
  color: var(--color-orange);
}

.site-nav__link.is-active::after {
  opacity: 1;
}

.site-header__call {
  flex-shrink: 0;
  height: 44px;
  padding-right: 52px;
  font-size: 14px;
}

.site-header__call .btn-arrow__fill {
  top: 4px;
  bottom: 4px;
  left: calc(100% - 40px);
  right: 4px;
}

.site-header__call .btn-arrow__icon {
  top: 4px;
  bottom: 4px;
  right: 4px;
  width: 36px;
}

@media (hover: hover) {
  .site-header__call:hover .btn-arrow__fill {
    left: 4px;
  }
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-dark-green);
  border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-cream-soft);
  padding-top: var(--header-height);
  padding-bottom: 40px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__media {
  position: absolute;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: 48%;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 450px 0 0 450px;
}

.hero__counter {
  position: absolute;
  left: -20px;
  bottom: 100px;
  width: 162px;
  height: 162px;
  border-radius: 50%;
  background-color: var(--color-dark-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-cream-soft);
  box-shadow: 0 0 0 10px var(--color-cream-soft);
}

.hero__counter-value {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 2px;
}

.hero__counter-number,
.hero__counter-plus {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
}

.hero__counter-plus {
  font-family: var(--font-accent);
  font-weight: 600;
}

.hero__counter-label {
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 4px;
}


.hero__content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.hero__badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-dark-green);
  font-weight: 400;
}

.hero__title strong {
  color: var(--color-orange);
  font-weight: 700;
}

.hero__text {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text-muted);
  max-width: 500px;
}

.hero__text strong {
  color: var(--color-dark-green);
  font-weight: 700;
}

.hero__content .btn-arrow {
  margin-top: 15px;
}

/* ---------- FEATURES ---------- */
.features {
  background-color: var(--color-cream);
  padding: 60px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.feature-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-dark-green);
  text-transform: capitalize;
}

.feature-card__text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.about__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.about__title {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-dark-green);
  max-width: 640px;
}

.about__title strong {
  font-weight: 700;
}

.about__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 320px;
  flex-shrink: 0;
}

.about__details p {
  color: var(--color-text-muted);
}

.about__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  background-color: var(--color-cream-soft);
  border-radius: 24px;
  overflow: hidden;
  padding: var(--gap-md);
}

.about__image-col {
  border-radius: 16px;
  overflow: hidden;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.about__content-col .section-badge,
.delivery__content .section-badge {
  margin-bottom: 0;
}

.about__subtitle {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.15;
  color: var(--color-dark-green);
  margin-top: -8px;
}

.about__subtitle strong {
  color: var(--color-orange);
  font-weight: 700;
}

.about__text {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about__row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.about__row-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.about__row-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--color-orange);
  color: var(--color-white);
  transition: transform 0.3s ease;
}


.about__row-title {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
}

.about__row-text {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- SCHEDULE ---------- */
.schedule {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}

.schedule__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.schedule__overlay {
  position: absolute;
  inset: 0;
  background: rgba(91, 51, 23, 0.85);
  z-index: 1;
}

.schedule__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gap-md);
  align-items: center;
}

.schedule__title {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--color-cream-soft);
  margin: 20px 0 30px;
}

.schedule__title strong {
  color: var(--color-orange);
}

.schedule__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.schedule__day {
  color: var(--color-orange);
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 14px;
}

.schedule__time-row {
  display: flex;
  justify-content: space-between;
  color: var(--color-cream-soft);
  padding: 8px 0;
}

.schedule__divider {
  height: 1px;
  background-color: rgba(255, 248, 236, 0.2);
}

.schedule__image-col {
  border-radius: 24px;
  overflow: hidden;
}

.schedule__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- FOOD SLIDER ---------- */
.food-slider {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.food-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--gap-xs);
}

.food-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.food-slider__track {
  display: flex;
  gap: var(--gap-md);
  width: max-content;
  animation: food-slide 30s linear infinite;
  /* Own GPU layer for the continuously-transformed track: without this,
     the rounded-corner clip on the images can flicker/tear during the
     animation on some GPUs. */
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.food-slider__track.is-paused {
  animation-play-state: paused;
}

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

.food-slider__item {
  width: 220px;
  text-align: center;
  flex-shrink: 0;
}

.food-slider__item img {
  width: 220px;
  height: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 16px;
  margin-bottom: 16px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.food-slider__item span {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  text-transform: capitalize;
  font-size: 18px;
}

/* ---------- WHY CHOOSE US ---------- */
.why-choose {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.why-choose__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.why-choose__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 340px;
  flex-shrink: 0;
}

.why-choose__details p {
  color: var(--color-text-muted);
}

.why-choose__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
  align-items: center;
}

.why-choose__image {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.why-choose__card {
  background-color: var(--color-orange);
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-choose__card .about__row-text {
  color: rgba(255, 255, 255, 0.9);
}

.why-choose__card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.why-choose__icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  /* Card background is now orange, so the badge switches to a dark
     circle here so the (white-filled) icon still has contrast — an
     orange-on-orange badge would disappear. */
  background-color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.why-choose__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.why-choose__card h4 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  font-size: 18px;
}

/* ---------- DELIVERY (two-column, art collage) ---------- */
.delivery {
  padding: 72px 0;
  /* A warmer tint than the surrounding cream-soft sections, so this
     section reads as its own moment on the page instead of blending
     into the ones before/after it. */
  background-color: #fad4a0;
  overflow: hidden;
}

.delivery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.delivery__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  order: 2;
}

.delivery__art {
  position: relative;
  padding: 0 32px 32px 0;
  order: 1;
}

/* Clips the primary photo's own box locally (contains the scroll-linked
   zoom so it can't bleed past its rounded corners), without affecting
   the secondary photo, which is meant to overhang this frame's corner. */
.delivery__art-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(59, 33, 16, 0.2);
}

.delivery__art-primary {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.delivery__art-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--color-cream-soft);
  box-shadow: 0 16px 32px rgba(59, 33, 16, 0.25);
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.gallery__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--gap-lg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap-xs);
}

.gallery__grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---------- MENU PREVIEW ---------- */
.menu-preview {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.menu-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.menu-preview__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
  align-items: start;
}

.menu-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.menu-item {
  display: block;
  padding: 14px 16px;
  margin: 0 -16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.menu-item__photo {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

@media (hover: hover) {
  .menu-item:hover {
    background-color: var(--color-cream-soft);
  }

  .menu-item:hover h4 {
    color: var(--color-orange);
  }
}

.btn--link {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-orange);
  font-weight: 500;
  text-decoration: none;
}

.menu-item h4 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  text-transform: capitalize;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.menu-item p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.menu-item__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.menu-item__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.4;
}

.menu-item__meta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-orange);
}

.menu-preview__image-col {
  /* Fixed box regardless of which photo is showing (they have different
     aspect ratios) so swapping the preview never resizes the section. */
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
}

.restaurantes__carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 248, 236, 0.85);
  color: var(--color-dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.restaurantes__carousel-nav:hover {
  background-color: var(--color-cream);
}

.restaurantes__carousel-nav svg {
  width: 18px;
  height: 18px;
}

.restaurantes__carousel-nav--prev {
  left: 12px;
}

.restaurantes__carousel-nav--next {
  right: 12px;
}

.restaurantes__carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.restaurantes__carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: rgba(255, 248, 236, 0.6);
  transition: background-color 0.2s ease;
}

.restaurantes__carousel-dots span.is-active {
  background-color: var(--color-cream);
}

.menu-preview__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 60px 0;
  background-color: var(--color-cream-soft);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.testimonial-card {
  background-color: var(--color-cream);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__quote-mark {
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--color-orange);
  line-height: 1;
}

.testimonial-card__text {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author h5 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  font-size: 16px;
}

/* ---------- RESERVATION ---------- */
.reservation {
  padding: 60px 0;
  background-color: var(--color-cream);
}

.reservation__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.reservation__divider {
  height: 1px;
  background-color: rgba(91, 51, 23, 0.15);
  margin: 24px 0;
}

.reservation__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reservation__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reservation__row-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.reservation__row-icon svg {
  width: 18px;
  height: 18px;
}

.reservation__row-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-muted);
}

.reservation__row-value {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  font-size: 16px;
}

.reservation__social {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-muted);
}

.reservation__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(91, 51, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-green);
}

.reservation__social a svg {
  width: 14px;
  height: 14px;
}

.reservation__form {
  background-color: var(--color-cream-soft);
  border-radius: 16px;
  padding: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.reservation__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.reservation__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reservation__field label {
  font-size: 14px;
  color: var(--color-dark-green);
  font-weight: 500;
}

.reservation__field input,
.reservation__field select,
.reservation__field textarea {
  border: 1px solid rgba(91, 51, 23, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background-color: var(--color-cream);
  color: var(--color-text);
}

.reservation__field textarea {
  resize: vertical;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 54px;
  margin-top: 6px;
  border: none;
  border-radius: var(--radius-sm);
  background-color: var(--color-dark-green);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

.form-submit:hover {
  background-color: var(--color-orange);
}

.form-submit:active {
  transform: scale(0.98);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.reservation__form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  padding: 60px 0 0;
  background-color: #3b2110;
  color: var(--color-cream-soft);
  overflow: hidden;
}

.site-footer__logo {
  filter: brightness(0) invert(1);
}

.site-footer__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--gap-md);
  padding-bottom: 60px;
}

.site-footer__brand p {
  margin: 20px 0;
  opacity: 0.85;
  line-height: 1.5;
}

.site-footer__social {
  display: flex;
  gap: 12px;
}

.site-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 248, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__social a svg {
  width: 14px;
  height: 14px;
}

.site-footer__col h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-orange);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.85;
}

.site-footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 248, 236, 0.15);
}

.site-footer__legal {
  display: flex;
  gap: 24px;
}

.site-footer__credit {
  opacity: 0.85;
}

.site-footer__credit a {
  color: inherit;
}

/* ---------- LEGAL PAGES (Privacidade / Termos) ---------- */
.legal-page {
  padding: calc(var(--header-height) + 60px) 0 80px;
  background-color: var(--color-cream);
}

.legal-page__intro {
  max-width: 760px;
  margin-bottom: 40px;
}

.legal-page__updated {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-page__body {
  max-width: 820px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-page__body h2 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page__body h2:first-child {
  margin-top: 0;
}

.legal-page__body p {
  margin-bottom: 14px;
}

.legal-page__body ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.legal-page__body li {
  margin-bottom: 8px;
}

.legal-page__body a {
  color: var(--color-orange);
  text-decoration: underline;
}

.legal-page__notice {
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--color-cream-soft);
  border-radius: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---------- COOKIE BANNER ---------- */
/* Anchored bottom-left as a compact card (not a full-width bar), so the
   100vw-width fix noted elsewhere for full-width fixed bars doesn't apply
   here — this is a small fixed box, no horizontal-overflow risk. */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 300;
  width: 340px;
  max-width: calc(100vw - 40px);
  background-color: var(--color-cream);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(59, 33, 16, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.cookie-banner h4 {
  font-family: var(--font-heading);
  color: var(--color-dark-green);
  font-size: 17px;
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.cookie-banner p a {
  color: var(--color-orange);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-banner__btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  border: none;
}

.cookie-banner__btn--reject {
  background-color: transparent;
  color: var(--color-dark-green);
  border: 1px solid rgba(91, 51, 23, 0.3);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .about__panel,
  .why-choose__panel,
  .menu-preview__body,
  .schedule__inner,
  .reservation__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    flex-direction: column;
  }

  .hero__media {
    width: 100%;
    position: relative;
    height: 360px;
    top: 0;
    margin-bottom: 80px;
  }

  .hero__image {
    border-radius: 24px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero__counter {
    left: 20px;
    bottom: -60px;
  }

  .features__grid,
  .testimonials__grid,
  .why-choose__grid,
  .site-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .delivery__art {
    order: -1;
  }

  /* Side-by-side photo carousel is desktop-only from here down — each
     restaurant's own card photo becomes the only preview, so it needs
     to be bigger than the 120px desktop thumbnail. */
  .menu-preview__image-col {
    display: none;
  }

  .menu-item__photo {
    height: 220px;
  }

  /* Tablets (810-1199px): the full nav (7 links + logo + Delivery button)
     doesn't fit in one row, so it collapses behind the hamburger here too
     — only the mobile phone tier below additionally hides the Delivery
     button to make more room. */
  .hero {
    min-height: auto;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 20px;
    left: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 220px;
    background-color: var(--color-cream);
    border-radius: 20px;
    padding: 24px 24px;
    box-shadow: 0 16px 40px rgba(59, 33, 16, 0.18);

    /* Fade instead of translateX: a horizontal slide widens the document
       box and causes horizontal overflow on mobile. */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
  }

  .site-header__toggle {
    display: flex;
  }
}

@media (max-width: 809px) {
  .container {
    padding: 0 16px;
  }

  .site-header__call {
    display: none;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__badge {
    font-size: 14px;
  }

  .about__header,
  .why-choose__header,
  .menu-preview__header,
  .food-slider__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about__details,
  .why-choose__details {
    max-width: 100%;
  }

  .features__grid,
  .why-choose__grid,
  .menu-preview__grid,
  .schedule__grid,
  .testimonials__grid,
  .site-footer__top,
  .reservation__field-row {
    grid-template-columns: 1fr;
  }

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

  .about__title,
  .section-title {
    font-size: 28px;
  }

  /* Copyright line, legal links and credit all stack in one column here
     instead of squeezing into a single row, with extra room around the
     divider line above so it doesn't feel cramped against the column
     content or the stacked text below it. */
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 0 32px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__bottom p,
  .site-footer__legal a,
  .site-footer__credit {
    font-size: 13px;
  }
}

/* ==========================================================================
   Entrance animations (scroll reveal + word-split hero title)
   ========================================================================== */

/* Default / no-JS fallback: content is always visible so nothing breaks
   if JavaScript fails to load. The hidden pre-animation state only
   applies once main.js has added .js to <html> (see inline snippet in
   index.html <head>) and the visitor allows motion. */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.94);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  .js .reveal--left {
    transform: translateX(-40px) scale(0.94);
  }

  .js .reveal--right {
    transform: translateX(40px) scale(0.94);
  }

  .js .reveal--left.is-visible,
  .js .reveal--right.is-visible {
    transform: translateX(0) scale(1);
  }

  /* Stagger repeating cards in a grid without needing per-item JS delays */
  .features__grid .feature-card:nth-child(2) { transition-delay: .12s; }
  .features__grid .feature-card:nth-child(3) { transition-delay: .24s; }

  .why-choose__grid .why-choose__card:nth-child(1) { transition-delay: 0s; }
  .why-choose__grid .why-choose__card:nth-child(2) { transition-delay: .18s; }
  .why-choose__grid .why-choose__card:nth-child(3) { transition-delay: .36s; }
  .why-choose__grid .why-choose__card:nth-child(4) { transition-delay: .54s; }

  .why-choose__card.reveal {
    transform: translateY(48px) scale(0.94);
  }

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

  .gallery__grid img:nth-child(2) { transition-delay: .08s; }
  .gallery__grid img:nth-child(3) { transition-delay: .16s; }
  .gallery__grid img:nth-child(4) { transition-delay: .24s; }
  .gallery__grid img:nth-child(5) { transition-delay: .32s; }

  .menu-preview__grid .menu-item:nth-child(2) { transition-delay: .1s; }
  .menu-preview__grid .menu-item:nth-child(3) { transition-delay: .2s; }
  .menu-preview__grid .menu-item:nth-child(4) { transition-delay: .3s; }

  .testimonials__grid .testimonial-card:nth-child(2) { transition-delay: .1s; }
  .testimonials__grid .testimonial-card:nth-child(3) { transition-delay: .2s; }
  .testimonials__grid .testimonial-card:nth-child(4) { transition-delay: .3s; }

  /* Hero title: words animate in individually, injected as spans by main.js */
  .js .hero__title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: word-in 0.6s ease forwards;
  }

  @keyframes word-in {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Continuous scroll-linked zoom (not one-shot): main.js keeps
     --scroll-scale updated as each element crosses the viewport, so
     images gently grow when centered and ease back at the edges. */
  .scroll-scale {
    transform: scale(var(--scroll-scale, 1));
    will-change: transform;
  }
}

/* ---------- Hover micro-interactions ---------- */
.feature-card,
.why-choose__card,
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.why-choose__card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(91, 51, 23, 0.1);
}

.gallery__grid img,
.gallery__grid img:hover {
  transform: scale(1.05);
}

.food-slider__item img:hover {
  transform: translateZ(0) scale(1.05);
}

#restaurantes-preview-img {
  transition: opacity 0.25s ease;
}

.site-nav__link::after {
  transition: opacity 0.2s ease, width 0.2s ease;
}

.about__row-icon:hover,
.reservation__row-icon:hover,
.why-choose__icon-badge:hover {
  transform: scale(1.12) rotate(-4deg);
}
