/* ============================================
   TRIGOLIMPIO — style.css
   ============================================ */

:root {
  --amarillo: #F5C400;
  --celeste: #4DB8F0;
  --celeste-dark: #1a5fb4;
  --verde: #4CAF50;
  --crema: #fffdf6;
  --crema-dark: #f5f0e8;
  --texto: #1a1a1a;
  --texto-suave: #555;
  --verde-wa: #25D366;
  --verde-wa-dark: #1ebe5d;
  --radio: 16px;
  --sombra: 0 4px 24px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--crema); color: var(--texto); overflow-x: hidden; }

.navbar { position: fixed; top: 46px; left: 0; right: 0; z-index: 100; background: rgba(255,253,246,0.95); backdrop-filter: blur(8px); border-bottom: 2px solid var(--amarillo); transition: box-shadow 0.3s; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand { font-family: 'Fredoka One', cursive; font-size: 1.5rem; line-height: 1; }
.brand-trigo { color: var(--amarillo); -webkit-text-stroke: 1px #1a1a1a; }
.brand-limpio { color: var(--celeste); -webkit-text-stroke: 1px #1a1a1a; }
.nav-links { display: flex; list-style: none; gap: 8px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--texto); font-weight: 700; font-size: 0.95rem; padding: 6px 14px; border-radius: 20px; transition: all 0.2s; }
.nav-links a:hover { background: var(--amarillo); color: var(--texto); }
.nav-cta { background: var(--verde-wa) !important; color: white !important; }
.nav-cta:hover { background: var(--verde-wa-dark) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--texto); border-radius: 2px; transition: 0.3s; }

.hero { min-height: 100vh; background: linear-gradient(135deg, #FFF9D6 0%, #E8F6FF 60%, #FFF9D6 100%); display: flex; align-items: center; justify-content: center; position: relative; padding: 146px 24px 60px; overflow: hidden; }
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; }
.circle { position: absolute; border-radius: 50%; opacity: 0.18; }
.c1 { width: 500px; height: 500px; background: var(--amarillo); top: -150px; right: -100px; }
.c2 { width: 300px; height: 300px; background: var(--celeste); bottom: 0; left: -80px; }
.c3 { width: 200px; height: 200px; background: var(--amarillo); bottom: 80px; right: 10%; }
.hero-content { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-mascot { flex-shrink: 0; }
.mascot-img { width: 280px; height: 280px; object-fit: contain; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.15)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-title { font-family: 'Fredoka One', cursive; font-size: 4rem; line-height: 1; margin-bottom: 8px; }
.title-trigo { color: var(--amarillo); -webkit-text-stroke: 2px #1a1a1a; }
.title-limpio { color: var(--celeste); -webkit-text-stroke: 2px #1a1a1a; }
.hero-sub { font-size: 1.3rem; font-weight: 700; color: var(--celeste-dark); margin-bottom: 6px; }
.hero-tagline { font-size: 1.1rem; color: var(--texto-suave); font-style: italic; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.badge { background: white; border: 2px solid var(--amarillo); border-radius: 20px; padding: 6px 14px; font-size: 0.88rem; font-weight: 700; color: var(--texto); box-shadow: 0 2px 8px rgba(245,196,0,0.2); }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: var(--verde-wa); color: white; text-decoration: none; font-family: 'Fredoka One', cursive; font-size: 1.1rem; padding: 14px 28px; border-radius: 50px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.25s; }
.btn-whatsapp:hover { background: var(--verde-wa-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.btn-whatsapp-large { font-size: 1.4rem; padding: 18px 40px; }
.wa-icon { width: 22px; height: 22px; flex-shrink: 0; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title { font-family: 'Fredoka One', cursive; font-size: 2.4rem; text-align: center; margin-bottom: 10px; color: var(--texto); }
.section-title span { color: var(--celeste-dark); }
.section-title.light { color: white; }
.section-title.light span { color: var(--amarillo); }
.section-sub { text-align: center; color: var(--texto-suave); font-size: 1.05rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-sub.light { color: rgba(255,255,255,0.85); }

.nosotros { padding: 80px 0; background: var(--crema); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { background: white; border-radius: var(--radio); padding: 32px 24px; text-align: center; box-shadow: var(--sombra); border-bottom: 4px solid var(--amarillo); transition: transform 0.25s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.2rem; margin-bottom: 10px; color: var(--celeste-dark); }
.feature-card p { font-size: 0.92rem; color: var(--texto-suave); line-height: 1.6; }

/* PRODUCTOS */
.productos { padding: 80px 0; background: var(--crema-dark); }
.productos-block { margin-bottom: 48px; }
.productos-block-title { font-family: 'Fredoka One', cursive; font-size: 1.6rem; color: var(--texto); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 3px solid var(--amarillo); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.menu-grid-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.menu-category { background: white; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.category-header { display: flex; align-items: center; gap: 12px; padding: 16px 24px; }
.trigo-header { background: var(--amarillo); }
.almendra-header { background: #e8d5b7; }
.integral-header { background: #c8d8a0; }
.celeste-header { background: var(--celeste); }
.verde-header { background: #a8d8a0; }
.cat-icon { font-size: 1.6rem; }
.category-header h3 { font-family: 'Fredoka One', cursive; font-size: 1.3rem; color: #1a1a1a; }
.category-subtitle { font-size: 0.78rem; color: #444; font-weight: 600; margin-top: 2px; }
.menu-items { padding: 8px 0; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 1px dashed #e8e0d0; gap: 12px; }
.menu-item:last-child { border-bottom: none; }
.item-info { display: flex; flex-direction: column; gap: 2px; }
.item-name { font-weight: 800; font-size: 0.95rem; }
.item-desc { font-size: 0.82rem; color: var(--texto-suave); }
.item-price { font-family: 'Fredoka One', cursive; font-size: 0.95rem; color: var(--celeste-dark); white-space: nowrap; background: #e8f4fd; padding: 4px 12px; border-radius: 20px; }
.item-flag { font-size: 0.72rem; color: #e67e22; font-weight: 700; background: #fef3e2; padding: 2px 8px; border-radius: 10px; margin-top: 3px; display: inline-block; }
.category-note { padding: 12px 24px; background: #f9f9f9; border-top: 1px solid #eee; }
.category-note p { font-size: 0.85rem; color: var(--texto-suave); line-height: 1.5; }
.tac-note { font-size: 0.78rem; color: var(--celeste-dark); font-style: italic; }
.productos-cta { text-align: center; margin-top: 16px; }
.delivery-banner { background: white; border-radius: var(--radio); padding: 16px 24px; box-shadow: var(--sombra); border-left: 4px solid var(--amarillo); margin-bottom: 40px; display: flex; align-items: center; gap: 12px; }
.delivery-banner p { font-size: 0.95rem; color: var(--texto); font-weight: 700; }
.delivery-banner span { color: var(--texto-suave); font-weight: 400; }

.contacto { padding: 80px 0; background: linear-gradient(135deg, var(--celeste-dark) 0%, #2a7fd4 100%); text-align: center; }
.contacto-steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.step { background: rgba(255,255,255,0.15); border-radius: var(--radio); padding: 20px 24px; max-width: 220px; text-align: center; }
.step-num { font-family: 'Fredoka One', cursive; font-size: 2rem; color: var(--amarillo); margin-bottom: 8px; }
.step p { color: white; font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.step small { color: rgba(255,255,255,0.7); font-size: 0.8rem; display: block; margin-top: 4px; }
.step-arrow { font-size: 1.5rem; color: rgba(255,255,255,0.5); font-weight: 900; }
.zona-texto { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 16px; }

.footer { background: #1a1a1a; padding: 40px 24px; text-align: center; }
.footer-logo { width: 60px; margin-bottom: 8px; }
.footer-brand { font-family: 'Fredoka One', cursive; font-size: 1.4rem; margin-bottom: 4px; }
.footer-tagline { color: #888; font-size: 0.9rem; margin-bottom: 12px; }
.footer-copy { color: #555; font-size: 0.8rem; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 46px;
  background: linear-gradient(90deg, #1a5fb4 0%, #2a7fd4 50%, #1a5fb4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
}
.announcement-bar img { height: 36px; width: 36px; object-fit: contain; }
.announcement-bar p { color: white; font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.announcement-bar a {
  color: var(--amarillo);
  font-weight: 800;
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.announcement-bar a:hover { background: rgba(255,255,255,0.25); }

/* ---- MUNDIAL SECTION ---- */
.mundial {
  padding: 80px 0;
  background: linear-gradient(160deg, #0d3b7a 0%, #1a5fb4 40%, #2a7fd4 100%);
  position: relative;
  overflow: hidden;
}
.mundial::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.mundial::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(245,196,0,0.06);
}
.mundial-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.mundial-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.mundial-image img { width: 100%; display: block; }
.mundial-content h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: white;
  margin-bottom: 6px;
  line-height: 1.1;
}
.mundial-content h2 span { color: var(--amarillo); }
.mundial-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.5;
}
.fixture-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; }
.fixture-table th {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fixture-table td {
  padding: 12px;
  color: white;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fixture-table tr:last-child td { border-bottom: none; }
.fixture-date { font-family: 'Fredoka One', cursive; color: var(--amarillo) !important; font-size: 0.95rem !important; white-space: nowrap; }
.fixture-vs { font-weight: 800; }
.flag-icon { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(255,255,255,0.15); margin: 0 2px; }
.fixture-order { font-size: 0.75rem !important; color: rgba(255,255,255,0.5) !important; }
.fixture-order span { color: var(--amarillo); font-weight: 700; }

@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; gap: 32px; }
  .mascot-img { width: 200px; height: 200px; }
  .hero-title { font-size: 3rem; }
  .hero-badges { justify-content: center; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--crema); padding: 16px; border-bottom: 2px solid var(--amarillo); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .step-arrow { display: none; }
  .contacto-steps { flex-direction: column; align-items: center; }
  .delivery-banner { flex-direction: column; text-align: center; }
  .announcement-bar img { display: none; }
  .announcement-bar p { font-size: 0.72rem; }
  .announcement-bar { gap: 8px; padding: 0 10px; }
  .announcement-bar a { padding: 4px 8px; font-size: 0.72rem; }
  .mundial-inner { grid-template-columns: 1fr; gap: 32px; }
  .navbar { top: 46px; }
  .hero { padding-top: 146px; }
}

/* ---- PHOTO STRIP ---- */
.photo-strip {
  padding: 60px 0 60px;
  background: #1a1a1a;
  position: relative;
}
.photo-strip-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.8rem;
  color: white;
  text-align: center;
  margin-bottom: 24px;
}
.photo-strip-title span { color: var(--amarillo); }
.photo-strip-wrapper { position: relative; }
.photo-strip-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.photo-strip-track::-webkit-scrollbar { display: none; }
.photo-strip-item {
  flex: 0 0 300px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.photo-strip-item:hover img { transform: scale(1.06); }
.strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  background: rgba(245,196,0,0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: background 0.2s, transform 0.2s;
  color: #1a1a1a;
  font-weight: 900;
}
.strip-arrow:hover { background: var(--amarillo); transform: translateY(-60%) scale(1.1); }
.strip-arrow-left { left: 4px; }
.strip-arrow-right { right: 4px; }
.photo-strip-hint {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ---- PRODUCTS PHOTO BANNER ---- */
.products-photo-banner {
  width: 100%;
  height: 280px;
  border-radius: var(--radio);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--sombra);
}
.products-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 768px) {
  .photo-strip-item { flex: 0 0 240px; height: 180px; }
  .products-photo-banner { height: 200px; }
}
