/* ═══════════════════════════════════════════════════════
   YUCATÁN TACOS & MORE — Custom Site Styles
   Fonts: Oswald (headings) + Nunito (body)
   ═══════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES (overridden by script.js) ─── */
:root {
  --primary:          #F5BC00;
  --primary-dark:     #D4A000;
  --accent:           #2C1A0E;
  --accent-dark:      #1A0F00;
  --light:            #FFFBF0;
  --dark:             #1A0F00;
  --color-text:       #2C1A0E;
  --color-text-light: #7A5C3A;

  --radius:     10px;
  --transition: 0.2s ease;
  --container:  1160px;
  --shadow:     0 4px 24px rgba(44, 26, 14, 0.10);
  --shadow-lg:  0 8px 40px rgba(44, 26, 14, 0.15);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
}

/* ─── CONTAINER ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }

/* Primary yellow button */
.btn--primary {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Accent = dark brown button */
.btn--accent {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Dark button for hero (same as accent) */
.btn--dark {
  background: var(--dark);
  color: var(--primary);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Outline dark — for hero secondary CTA */
.btn--outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline-dark:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ─── ANIMATIONS ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.section-eyebrow--light  { color: rgba(245, 188, 0, 0.75); }
.section-eyebrow--amber  { color: var(--primary-dark); }
.section-eyebrow--dark   { color: var(--primary-dark); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
}
.section-title--left { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--accent);
  border-bottom: 2px solid var(--accent-dark);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(44, 26, 14, 0.18);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 20px;
}

.header__logo-link,
a.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.header__logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
.header__link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color var(--transition);
}
.header__link:hover { color: var(--primary-dark); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
.header__phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}
.header__phone:hover { color: var(--primary-dark); }

.header__cta {
  display: none;
  padding: 9px 20px;
  font-size: 0.82rem;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}
.header__cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.header__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__hamburger.active span:nth-child(2) { opacity: 0; }
.header__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav dropdown */
.header__nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--accent);
  border-bottom: 2px solid var(--accent-dark);
  padding: 16px 20px 20px;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════════════════════
   HERO — Yellow background, logo + content
   ═══════════════════════════════════════════════════════ */
.hero {
  background: var(--primary);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

/* Subtle diamond tile pattern */
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(44,26,14,0.04) 0, rgba(44,26,14,0.04) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(44,26,14,0.04) 0, rgba(44,26,14,0.04) 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero__logo-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.hero__logo-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 40px rgba(44,26,14,0.25);
  filter: drop-shadow(0 4px 16px rgba(44,26,14,0.2));
  display: block;
}

.hero__eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 12px;
}
.hero__headline {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--accent);
  opacity: 0.8;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* ═══════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--accent);
  padding: 28px 0;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid rgba(245, 188, 0, 0.15);
  border-bottom: 1px solid rgba(245, 188, 0, 0.15);
}
.trust-badge:nth-child(even) { border-right: none; }
.trust-badge:nth-child(n+3)  { border-bottom: none; }

.trust-badge__icon {
  color: var(--primary);
  flex-shrink: 0;
}
.trust-badge__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-badge__value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.trust-badge__label {
  font-size: 0.78rem;
  color: rgba(245, 188, 0, 0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════
   MENU SECTION
   ═══════════════════════════════════════════════════════ */
.menu-section {
  padding: 88px 0 72px;
  background: var(--light);
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.menu-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(44,26,14,0.06);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.menu-card__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
}
.menu-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.menu-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

.menu__cta {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   STORY SECTION
   ═══════════════════════════════════════════════════════ */
.story {
  padding: 88px 0;
  background: #fff;
}
.story__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}
.story__image-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.story__logo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary);
  box-shadow: 0 6px 32px rgba(44,26,14,0.15);
}
.story__logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__owner-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}
.story__owner-title {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.story__content {
  max-width: 680px;
  text-align: left;
}
.story__text p {
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.story__text p:last-child { margin-bottom: 24px; }

.story__highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.story__highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.story__highlight svg {
  color: var(--primary-dark);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials {
  padding: 88px 0;
  background: var(--light);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(44,26,14,0.06);
}
.testimonial-card__stars {
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}
.testimonial-card__location {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ═══════════════════════════════════════════════════════
   FIND US / CONTACT
   ═══════════════════════════════════════════════════════ */
.find-us {
  padding: 88px 0;
  background: var(--accent);
}
.find-us__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.find-us__info .section-title {
  color: var(--primary);
  margin-bottom: 8px;
}
.find-us__sub {
  color: rgba(245, 188, 0, 0.75);
  margin-bottom: 32px;
  font-size: 1rem;
}
.find-us__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.find-us__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(245, 188, 0, 0.9);
  font-size: 0.97rem;
}
.find-us__detail svg { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.find-us__detail a { color: var(--primary); font-weight: 600; }
.find-us__detail a:hover { color: #fff; }

.find-us__hours-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.find-us__hours-list span {
  font-size: 0.9rem;
  color: rgba(245, 188, 0, 0.85);
}

/* Form */
.find-us__form-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(245, 188, 0, 0.2);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.find-us__form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(245, 188, 0, 0.3);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.07);
  color: #fff;
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245, 188, 0, 0.4); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.find-us__success {
  text-align: center;
  padding: 40px 20px;
  color: var(--primary);
}
.find-us__success svg { margin: 0 auto 16px; color: var(--primary); }
.find-us__success h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.find-us__success p { color: rgba(245, 188, 0, 0.8); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(245, 188, 0, 0.7);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}
.footer__brand h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(245, 188, 0, 0.6);
}
.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.footer__social a {
  color: rgba(245, 188, 0, 0.6);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--primary); }

.footer__col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.footer__col a,
.footer__col p,
.footer__col span {
  display: block;
  font-size: 0.88rem;
  color: rgba(245, 188, 0, 0.65);
  margin-bottom: 6px;
  transition: color var(--transition);
  line-height: 1.6;
}
.footer__col a:hover { color: var(--primary); }

.footer__bottom {
  border-top: 1px solid rgba(245, 188, 0, 0.1);
  padding: 18px 0;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(245, 188, 0, 0.35);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   MOBILE CALL BAR
   ═══════════════════════════════════════════════════════ */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 10px 16px 14px;
  background: var(--accent);
  border-top: 2px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(44,26,14,0.2);
}
.mobile-call-bar .btn {
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≥ 640px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .hero__logo-img  { width: 220px; height: 220px; }
  .hero__headline  { font-size: 3.4rem; }
  .hero__ctas      { flex-direction: row; justify-content: center; }

  .trust-bar__inner { grid-template-columns: repeat(4, 1fr); }
  .trust-badge { border-bottom: none; }
  .trust-badge:nth-child(3) { border-right: 1px solid rgba(245,188,0,0.15); }
  .trust-badge:nth-child(even) { border-right: 1px solid rgba(245,188,0,0.15); }
  .trust-badge:last-child { border-right: none; }

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

  .find-us__form { grid-template-columns: repeat(2, 1fr); }
  .form-group--full { grid-column: 1 / -1; }

  .header__cta { display: inline-flex; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (≥ 1024px)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  .header__nav { display: flex; }
  .header__phone { display: flex; }
  .header__hamburger { display: none; }

  .hero { padding: 140px 0 96px; }
  .hero__logo-img { width: 260px; height: 260px; }
  .hero__headline { font-size: 4rem; }
  .hero__sub { margin-bottom: 36px; }

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

  .story__inner {
    flex-direction: row;
    text-align: left;
    gap: 72px;
    align-items: flex-start;
  }
  .story__image-col { flex-shrink: 0; }
  .story__logo-circle { width: 220px; height: 220px; }

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

  .find-us__inner {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }
  .find-us__info { flex: 1; }
  .find-us__form-wrap { flex: 1; }

  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  .mobile-call-bar { display: none; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE — bottom padding for call bar
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  body { padding-bottom: 72px; }
}
