/* ===========================
   QUINOA AREPA — Main Styles
   =========================== */

:root {
  --gold: #C8932A;
  --gold-light: #E5B552;
  --green: #2D5A27;
  --green-mid: #3D7A35;
  --cream: #F5EFE0;
  --cream-dark: #EBE0C8;
  --dark: #1A1207;
  --dark-mid: #2C2010;
  --text: #3A2E18;
  --text-muted: #7A6A4A;
  --white: #FFFDF7;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-ui: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26,18,7,0.12);
  --shadow-lg: 0 12px 48px rgba(26,18,7,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,147,42,0.4); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover { background: var(--green); color: white; }

.btn--white {
  background: white;
  color: var(--dark);
  border-color: white;
}
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn--ghost-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn--sm { padding: 10px 20px; font-size: 0.82rem; }

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(26, 18, 7, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav__logo {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: white;
  text-decoration: none;
}

.logo-q {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-style: italic;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold-light); }

.nav__cta {
  background: var(--gold) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
}
.nav__cta:hover { background: var(--gold-light) !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 1;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #C8932A, transparent);
  top: -200px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2D5A27, transparent);
  bottom: -100px; left: -100px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #E5B552, transparent);
  top: 40%; left: 40%;
  opacity: 0.15;
  animation: blobFloat 12s ease-in-out infinite;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.96); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: white;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.5s; }
.hero__title-line:nth-child(2) { animation-delay: 0.7s; }
.hero__title-line:nth-child(3) { animation-delay: 0.9s; }

.hero__title-line--accent {
  color: var(--gold);
  font-style: italic;
}

.hero__sub {
  max-width: 520px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.3s forwards;
}

.hero__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.5s forwards;
}

.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   TICKER STRIP
   =========================== */
.strip {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
}

.strip__ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}

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

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

.about__visual {
  position: relative;
  height: 480px;
}

.about__img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.about__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.about__img-art {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(200,147,42,0.3);
}
.art-c1 { width: 260px; height: 260px; }
.art-c2 { width: 180px; height: 180px; border-color: rgba(200,147,42,0.5); }

.art-grain-text {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.08em;
  z-index: 1;
}

.about__card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  text-align: center;
}

.about__card--1 {
  top: 24px;
  right: -24px;
  min-width: 130px;
}

.about__card--2 {
  bottom: 60px;
  left: -24px;
  min-width: 130px;
}

.about__icon { font-size: 1.5rem; margin-bottom: 4px; }
.about__card-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
}
.about__card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
}

.about__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar strong {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===========================
   MENU
   =========================== */
.menu {
  padding: 100px 0;
  background: var(--cream);
}

.menu__tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid var(--cream-dark);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
}

.tab--active, .tab:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: white;
}

.menu__panel { display: block; }
.menu__panel--hidden { display: none; }

.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.menu__card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.menu__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.menu__emoji { font-size: 2.4rem; }

.menu__info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.menu__info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu__tag {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

.menu__price {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
}

.menu__subtitle {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.menu__category-header {
  text-align: center;
  margin-bottom: 32px;
}
.menu__category-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.menu__category-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.menu__tag--gold { background: var(--gold); }
.menu__tag--green { background: var(--green-mid); }

.menu__note {
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===========================
   LOCATIONS
   =========================== */
.locations {
  padding: 100px 0;
  background: var(--white);
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.location__card {
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: all 0.25s;
}
.location__card:hover { border-color: var(--gold); box-shadow: var(--shadow); }

.location__card--featured {
  background: var(--dark);
  border-color: var(--gold);
  color: white;
}

.location__badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: white;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 50px;
}

.location__icon { font-size: 2rem; margin-bottom: 8px; }

.location__card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.location__card--featured h3 { color: white; }

.location__sub {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}

.location__addr {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.location__card--featured .location__addr { color: rgba(255,255,255,0.6); }

.location__hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0;
}
.location__hours span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
}
.location__card--featured .location__hours span { color: rgba(255,255,255,0.6); }

/* ===========================
   ORDER CTA
   =========================== */
.order {
  padding: 100px 0;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.order__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.order__blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,147,42,0.25), transparent);
  right: -100px;
  top: -100px;
  border-radius: 50%;
  filter: blur(60px);
}

.order__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.order__content .section-label { color: var(--gold-light); }

.order__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.order__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.order__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer__tag {
  color: var(--gold-light) !important;
  font-size: 0.78rem !important;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.footer__social a:hover { background: var(--gold); color: white; }

.footer__col h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { height: 360px; max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }

  .nav__links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(26,18,7,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 20px 0 32px;
  }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a { display: block; padding: 14px 24px; font-size: 1rem; }
  .nav__cta { margin: 8px 32px 0; border-radius: 50px !important; }

  .nav__burger { display: flex; }

  .hero__content { padding: 100px 24px 80px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .about__visual { max-width: 100%; }
  .about__card--1 { right: 8px; }
  .about__card--2 { left: 8px; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .order__buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .menu__grid { grid-template-columns: 1fr; }
  .locations__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badges { flex-direction: column; align-items: flex-start; }
  .hero__badge { font-size: 0.72rem; }
}
