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

:root {
  --amarillo: #F5C400;
  --celeste: #4DB8F0;
  --celeste-dark: #1a5fb4;
  --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: 0; 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: 100px 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(230px, 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 { padding: 80px 0; background: var(--crema-dark); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-bottom: 40px; }
.menu-category { background: white; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.category-header { display: flex; align-items: center; gap: 12px; padding: 20px 24px; }
.prepizzas-header { background: var(--amarillo); }
.pizzetas-header { background: var(--celeste); }
.cat-icon { font-size: 1.8rem; }
.category-header h3 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: #1a1a1a; }
.menu-items { padding: 8px 0; }
.menu-item { display: flex; align-items: center; justify-content: space-between; padding: 14px 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; }
.category-note { padding: 14px 24px; background: #f9f9f9; border-top: 1px solid #eee; }
.category-note p { font-size: 0.88rem; color: var(--texto-suave); line-height: 1.5; }
.productos-cta { text-align: center; }

.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: 200px; 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-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; }

@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; }
}
