:root {
  --bg-cream: #f8f3ea;
  --bg-warm: #f2e4d7;
  --text-dark: #241d1a;
  --text-soft: #5e4f48;
  --brand-red: #ba2f2f;
  --brand-red-deep: #922424;
  --brand-green: #1e4d36;
  --accent-amber: #d79e53;
  --gold-dark: #6b4e16;
  --gold-mid: #c9a227;
  --gold-light: #f5e6b8;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(36, 29, 26, 0.15);
  --shadow-strong: 0 15px 35px rgba(20, 13, 10, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(215, 158, 83, 0.22), transparent 52%),
    radial-gradient(circle at 85% 20%, rgba(146, 36, 36, 0.16), transparent 48%),
    repeating-linear-gradient(
      45deg,
      rgba(186, 47, 47, 0.12) 0 10px,
      rgba(248, 243, 234, 0.1) 10px 20px
    ),
    var(--bg-cream);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.top-bar {
  margin: 0;
  padding: 0.45rem 4%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8f3ea;
  background: linear-gradient(90deg, #143d2a, var(--brand-green) 50%, #143d2a);
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
}

.top-bar a {
  color: #ffe9a8;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(146, 36, 36, 0.18);
}

.site-header,
.navbar {
  position: relative;
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-red-deep);
  text-decoration: none;
}

.brand-icon {
  font-size: 1.15rem;
}

.brand-text {
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.015em;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(36, 29, 26, 0.15);
  background: var(--white);
  border-radius: 12px;
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

.nav-group {
  position: absolute;
  top: calc(100% + 8px);
  left: 4%;
  right: 4%;
  display: none;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  z-index: 60;
}

.nav-group.is-open {
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-order {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--accent-amber), #c48a2e);
  color: #1a1208;
  box-shadow: 0 8px 16px rgba(120, 80, 20, 0.28);
}

.btn-full {
  width: 100%;
  margin-top: 0.9rem;
}

.canvas-bar {
  position: relative;
  z-index: 4;
  height: clamp(18px, 4vw, 36px);
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 240, 0.95) 0%, rgba(201, 162, 39, 0.55) 35%, rgba(107, 78, 22, 0.85) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.07) 0 1px,
      transparent 1px 6px,
      rgba(255, 255, 255, 0.12) 6px 7px,
      transparent 7px 14px
    ),
    linear-gradient(90deg, var(--gold-dark), var(--gold-mid) 25%, var(--gold-light) 50%, var(--gold-mid) 75%, var(--gold-dark));
  box-shadow:
    inset 0 3px 6px rgba(255, 255, 255, 0.45),
    inset 0 -4px 8px rgba(0, 0, 0, 0.35),
    0 2px 0 rgba(0, 0, 0, 0.12);
}

.canvas-bar--top {
  border-bottom: 3px solid #3d2a0a;
}

.canvas-bar--bottom {
  border-top: 3px solid #3d2a0a;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 120px);
  overflow: hidden;
  background: #1a0f0c;
}

.hero-stage {
  position: relative;
  flex: 1;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(to top, rgba(22, 14, 11, 0.88) 0%, rgba(22, 14, 11, 0.35) 50%, rgba(22, 14, 11, 0.2) 100%),
    radial-gradient(circle at 50% 30%, rgba(186, 47, 47, 0.25), transparent 55%);
}

.hero-mega {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  width: 100%;
  text-align: center;
  padding: 0 4%;
  font-family: "Nunito", Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 14vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: #fff8e8;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 6px 24px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(186, 47, 47, 0.35);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  padding-block: 2rem 2.6rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.8rem;
  color: #ffe6c0;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: "Bree Serif", Georgia, serif;
  font-size: clamp(1.75rem, 5.5vw, 3.2rem);
  line-height: 1.08;
  text-wrap: balance;
  color: #fff5eb;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
  max-width: 58ch;
  margin: 1rem 0 0;
  line-height: 1.6;
  color: #f7efe8;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 4rem 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(186, 47, 47, 0.04) 0 1px,
    transparent 1px 28px
  );
}

h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: "Bree Serif", Georgia, serif;
}

.section-title-red {
  color: var(--brand-red-deep);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35);
}

.text-dark {
  color: var(--text-soft);
}

.family-style {
  background:
    linear-gradient(180deg, rgba(242, 228, 215, 0.82), rgba(248, 243, 234, 0.98)),
    repeating-linear-gradient(
      135deg,
      rgba(186, 47, 47, 0.07) 0 12px,
      rgba(255, 255, 255, 0.04) 12px 24px
    );
}

.family-grid {
  display: grid;
  gap: 1.2rem;
}

.family-grid p {
  color: var(--text-soft);
  line-height: 1.7;
}

.card-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.card-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.menu-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.dish-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(36, 29, 26, 0.2);
}

.dish-card img {
  width: 100%;
  height: clamp(200px, 38vw, 240px);
  object-fit: cover;
}

.dish-info {
  padding: 1rem;
}

.dish-info h3 {
  color: var(--brand-red-deep);
}

.dish-info p {
  margin: 0;
  color: var(--text-soft);
}

.dish-info span {
  margin-top: 0.45rem;
  display: inline-block;
  font-weight: 700;
  color: var(--brand-red-deep);
}

@media (hover: hover) and (pointer: fine) {
  .dish-card .dish-info p,
  .dish-card .dish-info span {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    transition: opacity 0.28s ease, max-height 0.28s ease, margin-top 0.28s ease;
  }

  .dish-card:hover .dish-info p,
  .dish-card:hover .dish-info span {
    opacity: 1;
    max-height: 5rem;
  }

  .dish-card:hover .dish-info span {
    margin-top: 0.45rem;
  }

  .dish-card:hover {
    box-shadow: 0 16px 36px rgba(36, 29, 26, 0.28);
  }
}

.ordenar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 243, 234, 0.95)),
    repeating-linear-gradient(
      45deg,
      rgba(186, 47, 47, 0.06) 0 10px,
      rgba(255, 255, 255, 0.06) 10px 20px
    );
}

.order-layout {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.order-controls,
.order-summary {
  background: var(--white);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.order-controls label {
  display: block;
  margin: 0.2rem 0 0.4rem;
  font-weight: 700;
}

.order-controls select,
.order-controls input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(36, 29, 26, 0.2);
  border-radius: 10px;
  padding: 0 0.75rem;
  margin-bottom: 0.8rem;
  font: inherit;
}

.location-block {
  margin: 0.5rem 0 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(186, 47, 47, 0.35);
  background: rgba(248, 243, 234, 0.6);
}

.location-block-title {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-red-deep);
}

.location-block-hint {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.location-status {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-dark);
  white-space: pre-line;
}

.btn-location {
  width: 100%;
  border: 1px solid rgba(36, 29, 26, 0.25);
  color: var(--text-dark);
  background: var(--white);
  box-shadow: none;
}

.btn-location:hover {
  background: rgba(186, 47, 47, 0.06);
}

.order-summary h3 {
  color: var(--brand-red-deep);
}

.order-summary ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.order-total {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.feed-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.feed-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(33, 24, 20, 0.95), rgba(65, 32, 32, 0.95)),
    var(--brand-red-deep);
}

.site-footer.section {
  background-image: none;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--bg-warm);
}

.map-wrap iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 16px;
}

@media (max-width: 599px) {
  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 70vh;
  }

  .hero-content {
    padding-block: 1.6rem 2rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-mega {
    top: 28%;
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .order-controls,
  .order-summary {
    padding: 1.2rem;
  }
}

@media (min-width: 760px) {
  .order-layout {
    grid-template-columns: 1fr 1fr;
  }

  .family-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.4rem;
  }
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .nav-group {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .nav-links {
    flex-direction: row;
    gap: 1.25rem;
  }

  .btn-order {
    margin-top: 0;
  }

  .family-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 2rem;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .order-layout {
    grid-template-columns: 1fr 1fr;
  }

  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
