/* ================================================================
   Santo Guisado — Mexican Rótulo Design System
   ================================================================ */

:root {
  --orange:       #E85C24;
  --teal:         #00B4CC;
  --bg:           #F3F4F6;
  --white:        #FFFFFF;
  --text:         #2C2C2C;
  --muted:        #777777;
  --dark:         #1A1A1A;

  --font-display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --font-rotulo:  'Londrina Solid', 'DM Sans', sans-serif;
  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────────────── */

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  /* Gray background + 20px square grid */
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.5rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* ── Teal triangle decorative bands ──────────────────────────── */
/* Top band: triangles pointing DOWN (▼▼▼)                       */
/* Bottom band: triangles pointing UP  (▲▲▲)                     */

.triangles-top,
.triangles-bottom {
  display: block;
  width: 100%;
  height: 22px;
  flex-shrink: 0;
}

.triangles-top {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpolygon points='0,0 22,0 11,22' fill='%2300B4CC'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

.triangles-bottom {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpolygon points='0,22 22,22 11,0' fill='%2300B4CC'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

/* ── CTA Buttons — solid orange rectangle, no border-radius ───── */

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.875rem;
  background: var(--orange);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.1s;
}

.cta-button:hover {
  background: #c94d1d;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── Header ───────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--teal);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link { display: block; line-height: 0; }
.logo-img  { height: 72px; width: auto; max-width: 220px; }

.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.header-nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 0.4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.875rem);
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.875rem;
}

.hero-image-wrap { display: flex; justify-content: center; }
.hero-image { width: min(200px, 52vw); }

/* ── Menu Section ─────────────────────────────────────────────── */

.menu-section {
  padding: 0;
  /* slightly tinted background for contrast behind the white flyer */
  background-color: #e8eaed;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.menu-section-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* White flyer card with teal border */
.menu-flyer {
  background: var(--white);
  border: 3px solid var(--teal);
  padding: 2rem 2rem 2.25rem;
}

/* Flyer header */
.menu-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
}

.menu-mascot { width: 52px; height: auto; }
.menu-logo   { height: 40px; width: auto; margin: 0 auto 0.25rem; }

.menu-title {
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  line-height: 1;
  margin: 0;
}

.menu-subtitle {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0;
}

/* Two-column layout: guisados list | combo box */
.menu-body {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 0;
  align-items: start;
}

/* ── Guisados list ─────────────────────────────────────────────── */

.menu-grid {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--teal);
  padding-right: 1.5rem;
}

/* Each guisado row */
.menu-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(0, 180, 204, 0.3);
}

.menu-card:last-child { border-bottom: none; }

/* Teal 4-pointed star bullet */
.menu-card::before {
  content: '';
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300B4CC' d='M12 0L14.47 9.53 24 12 14.47 14.47 12 24 9.53 14.47 0 12 9.53 9.53Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu-card-name {
  font-family: var(--font-rotulo);
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
  flex: 1;
  letter-spacing: 0.02em;
}

.menu-card-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--orange);
  margin: 0;
  white-space: nowrap;
}

.menu-card-price.empty { display: none; }

.menu-loading {
  color: var(--muted);
  padding: 1rem 0;
  font-style: italic;
  font-size: 0.9rem;
}

/* ── Combo Box ─────────────────────────────────────────────────── */

.combo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 0 1.375rem;
}

.combo-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
  margin: 0;
}

.combo-detail {
  font-family: var(--font-rotulo);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.55;
  margin: 0.15rem 0 0.1rem;
}

.combo-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.75rem;
  color: var(--orange);
  line-height: 1;
  margin: 0.2rem 0 0.35rem;
}

.combo-separator {
  width: 100%;
  height: 3px;
  background: var(--teal);
  margin: 0.5rem 0 0.625rem;
}

.aguas-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.875rem;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 1;
  margin: 0 0 0.2rem;
}

.aguas-list {
  font-family: var(--font-rotulo);
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Ordenar / Contacto ───────────────────────────────────────── */

.ordenar-section {
  padding: 3.25rem 1.25rem;
  background: var(--orange);
}

.ordenar-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* 12-pointed sunburst badge — makes mascot pop on orange bg */
.mascot-badge {
  flex-shrink: 0;
  width: 136px;
  height: 136px;
  background: var(--white);
  /* 12-point star: alternating outer (r=50%) and inner (r=38%) vertices */
  clip-path: polygon(
    50%  0%,  60% 13%,  75%  7%,  77% 23%,
    93% 25%,  87% 40%, 100% 50%,  87% 60%,
    93% 75%,  77% 77%,  75% 93%,  60% 87%,
    50% 100%, 40% 87%,  25% 93%,  23% 77%,
     7% 75%,  13% 60%,   0% 50%,  13% 40%,
     7% 25%,  23% 23%,  25%  7%,  40% 13%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.ordenar-mascot { width: 86px; height: auto; }

.ordenar-title {
  color: var(--white);
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
}

.ordenar-hours {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.5rem;
}

.ordenar-tel {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.125rem;
  letter-spacing: 0.05em;
  color: var(--white) !important;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.ordenar-tel:hover { text-decoration: underline; }

.ordenar-address,
.ordenar-address a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0;
}

/* ── Map ──────────────────────────────────────────────────────── */

.map-section {
  padding: 2.75rem 1.25rem 3.25rem;
  background: var(--white);
  border-top: 3px solid var(--teal);
}

.map-section-inner { max-width: 800px; margin: 0 auto; }

.map-title {
  font-size: 2rem;
  text-align: center;
  margin: 0 0 0.5rem;
}

.map-address {
  text-align: center;
  color: var(--muted);
  margin: 0 0 0.875rem;
  font-size: 0.95rem;
}

.map-link {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.65rem 1.5rem;
  border-radius: 0;
  margin-bottom: 1.25rem;
  text-decoration: none !important;
  transition: background 0.15s;
}

.map-link:hover { background: #009db5; }

.map-embed-wrap {
  width: 100%;
  border: 3px solid var(--teal);
  overflow: hidden;
}

.map-iframe { display: block; width: 100%; height: 320px; border: 0; }

@media (min-width: 600px) { .map-iframe { height: 400px; } }

/* ── Redes (Instagram) ────────────────────────────────────────── */

.redes-section {
  background: var(--teal);
  padding: 2.75rem 1.25rem;
}

.redes-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.redes-mascot { width: 72px; height: auto; margin: 0 auto 1rem; }

.redes-title {
  font-size: 1.875rem;
  color: var(--white);
  margin: 0 0 0.875rem;
}

.redes-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--white);
  color: var(--teal) !important;
  padding: 0.65rem 1.75rem;
  border-radius: 0;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

.redes-link:hover {
  background: var(--orange);
  color: var(--white) !important;
}

/* ── Footer ───────────────────────────────────────────────────── */

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-family: var(--font-sans);
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-inner a { color: var(--teal); }
.footer-inner a:hover { color: var(--white); }

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.5rem;
}

.footer-inner p { margin: 0.25rem 0; font-size: 0.875rem; }
.footer-year { margin-top: 0.875rem; font-size: 0.8rem; opacity: 0.65; }

/* ── Responsive ───────────────────────────────────────────────── */

@media (min-width: 600px) {
  .hero {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .hero-content { text-align: left; }

  .hero-image { width: min(240px, 35vw); }
}

/* Mobile: stack combo below guisados, flyer portrait card */
@media (max-width: 599px) {
  .menu-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .menu-grid {
    border-right: none;
    padding-right: 0;
  }

  .combo-box {
    border-left: none;
    border-top: 3px solid var(--teal);
    padding-left: 0;
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading  heading"
      "detail   price"
      "sep      sep"
      "aguas-t  aguas-t"
      "aguas-l  aguas-l";
    gap: 0.25rem 1rem;
    align-items: center;
    text-align: center;
  }

  .combo-heading  { grid-area: heading; }
  .combo-detail   { grid-area: detail; align-self: start; }
  .combo-price    { grid-area: price; font-size: 3.25rem; }
  .combo-separator{ grid-area: sep; }
  .aguas-title    { grid-area: aguas-t; }
  .aguas-list     { grid-area: aguas-l; }

  .menu-flyer { padding: 1.5rem 1.25rem 1.75rem; }

  .header-nav { display: none; }
}
