/* ===================================================================
   PIZZERÍA JUNIORS — style.css
   =================================================================== */

/* -------------------------------------------------------------------
   1. DESIGN TOKENS
------------------------------------------------------------------- */
:root {
  --red:         #CC2200;
  --red-dark:    #991A00;
  --red-light:   #FF4422;
  --cream:       #FFF8F0;
  --warm:        #FFF3E0;
  --cheese:      #F5A623;
  --cheese-dark: #D4880A;
  --charcoal:    #2C2C2C;
  --muted:       #7A6A60;
  --border:      rgba(204, 34, 0, 0.13);
  --wa-green:    #25D366;
  --wa-dark:     #128C7E;

  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;

  --radius-card: 18px;
  --radius-btn:  999px;

  --shadow-card:  0 6px 28px rgba(204, 34, 0, 0.09);
  --shadow-hover: 0 14px 44px rgba(204, 34, 0, 0.17);
  --shadow-wa:    0 10px 36px rgba(37, 211, 102, 0.32);
}

/* -------------------------------------------------------------------
   2. RESET & BASE
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

a { text-decoration: none; color: inherit; }

button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

.hidden { display: none !important; }

/* -------------------------------------------------------------------
   3. TYPOGRAPHY
------------------------------------------------------------------- */
h1, h2, h3, .font-heading { font-family: var(--font-heading); }

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--charcoal);
  line-height: 1.05;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: .5rem;
}

.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: .4rem;
}

/* -------------------------------------------------------------------
   4. LAYOUT HELPERS
------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

/* -------------------------------------------------------------------
   5. HEADER
------------------------------------------------------------------- */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

#header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(204,34,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.logo-icon { font-size: 1.9rem; }

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--red);
  line-height: 1;
}

.logo-sub {
  font-size: .65rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-weight: 700;
  font-size: .92rem;
  color: var(--charcoal);
  transition: color .18s;
}

.nav-links a:hover { color: var(--red); }

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-btn);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  transition: background .18s, transform .18s;
}

.btn-header:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .3rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(204,34,0,.08);
  }

  .nav-links.is-open a {
    padding: .7rem 0;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open .btn-header { margin-top: 1rem; }

  .nav-toggle { display: flex; }
}

/* -------------------------------------------------------------------
   6. HERO
------------------------------------------------------------------- */
#inicio {
  background: linear-gradient(150deg, #FFF8F0 0%, #FFE9D5 55%, #FFDFC8 100%);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.8rem, 9vw, 7rem);
  color: var(--charcoal);
  line-height: .95;
  margin-bottom: .6rem;
}

.hero-copy h1 span { color: var(--red); }

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 1.8rem;
  max-width: 460px;
}

.hero-tagline strong { color: var(--red); font-weight: 800; }

/* Featured promo badge in hero */
.hero-promo {
  background: #fff;
  border: 2px solid var(--cheese);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.8rem;
  max-width: 430px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-promo::before {
  content: '⭐ PROMO ESTRELLA';
  display: block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--cheese-dark);
  margin-bottom: .5rem;
}

.hero-promo-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--charcoal);
  line-height: 1.1;
}

.hero-promo-items {
  font-size: .88rem;
  color: var(--muted);
  margin: .5rem 0 1rem;
}

.hero-promo-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 1rem;
}

/* Trust signals */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem .5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.85);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: .35rem .85rem;
  font-size: .83rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Hero visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-mascot {
  width: min(400px, 100%);
  border-radius: 24px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(204,34,0,.22));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(2deg); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline, .hero-promo { max-width: 100%; }
  .trust-row { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .pizza-art { width: min(260px, 80vw); }
}

/* -------------------------------------------------------------------
   7. PROMOCIONES
------------------------------------------------------------------- */
#promos {
  background: #fff;
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.6rem;
  background: var(--cream);
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.promo-card.featured {
  border-color: var(--cheese);
  background: linear-gradient(150deg, #FFFBF0, #FFF5D6);
  box-shadow: 0 8px 40px rgba(245,166,35,.18);
  transform: scale(1.03);
}

.promo-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.promo-ribbon {
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  padding: .3rem 3rem;
  transform: rotate(35deg);
}

.promo-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .25rem .9rem;
  border-radius: var(--radius-btn);
  margin-bottom: .6rem;
}

.promo-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: .5rem;
}

.promo-price {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 4.2rem);
  color: var(--red);
  line-height: 1;
  margin-bottom: 1rem;
}

.promo-items-list {
  text-align: left;
  margin: 0 0 1.4rem;
}

.promo-items-list li {
  font-size: .9rem;
  color: var(--charcoal);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
}

.promo-items-list li:last-child { border-bottom: none; }

/* -------------------------------------------------------------------
   8. MENÚ COMPLETO
------------------------------------------------------------------- */
#menu { background: var(--warm); }

/* Tab buttons */
.menu-tabs {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .25rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  white-space: nowrap;
  padding: .6rem 1.3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .9rem;
  transition: background .18s, color .18s, border-color .18s, transform .15s;
}

.tab-btn:hover { border-color: var(--red); color: var(--red); }

.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.active { display: grid; }

/* Menu grid */
.menu-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}

/* Pizza cards */
.pizza-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s, box-shadow .2s;
}

.pizza-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pizza-card-body { flex: 1; }

.pizza-card-name {
  font-size: 1.4rem;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: .3rem;
}

.pizza-card-ingredients {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: .9rem;
}

.pizza-card-footer { margin-top: auto; }

.pizza-price-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .8rem;
}

.price-chip {
  padding: .28rem .75rem;
  border-radius: var(--radius-btn);
  font-size: .8rem;
  font-weight: 700;
}

.price-chip.mediana { background: var(--warm); color: var(--red-dark); }
.price-chip.grande  { background: var(--red); color: #fff; }

.btn-add {
  width: 100%;
  padding: .62rem 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--red);
  background: transparent;
  color: var(--red);
  font-weight: 800;
  font-size: .88rem;
  transition: background .18s, color .18s;
}

.btn-add:hover { background: var(--red); color: #fff; }

/* -------------------------------------------------------------------
   9. ARMADOR DE PEDIDO
------------------------------------------------------------------- */
#armar-pedido { background: #fff; }

.builder-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 2.5rem;
  align-items: start;
}

/* Steps */
.builder-step {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  flex-shrink: 0;
}

.step-label {
  font-weight: 800;
  font-size: 1rem;
  color: var(--charcoal);
}

/* Pizza select */
#pizza-select {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--charcoal);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23CC2200' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

#pizza-select:focus { border-color: var(--red); }

/* Size toggle */
.size-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.size-btn {
  padding: .85rem 1rem;
  font-weight: 800;
  font-size: .95rem;
  color: var(--muted);
  transition: background .18s, color .18s;
  text-align: center;
}

.size-btn:not(:last-child) { border-right: 2px solid var(--border); }

.size-btn.active {
  background: var(--red);
  color: #fff;
}

/* Extras */
.extras-list { display: flex; flex-direction: column; gap: .4rem; }

.extra-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}

.extra-item:hover { background: var(--warm); }

.extra-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  cursor: pointer;
  flex-shrink: 0;
}

.extra-item-label { font-weight: 700; font-size: .93rem; color: var(--charcoal); }
.extra-item-price { margin-left: auto; color: var(--red); font-weight: 800; font-size: .88rem; }

/* Campo de ingrediente extra (aparece al marcar el checkbox) */
.extra-sub-input {
  margin: -2px 0 6px 36px;
  overflow: hidden;
  max-height: 60px;
  transition: max-height .25s ease, opacity .25s ease, margin .2s ease;
  opacity: 1;
}

.extra-sub-input.hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  pointer-events: none;
}

.extra-text-field {
  width: 100%;
  padding: .55rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color .18s;
}

.extra-text-field:focus { border-color: var(--red); }

/* Notes */
#order-notes {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--charcoal);
  resize: vertical;
  min-height: 80px;
  outline: none;
  background: #fff;
}

#order-notes:focus { border-color: var(--red); }

/* Order summary card (sticky) */
.order-summary {
  position: sticky;
  top: 80px;
}

.summary-card {
  background: #fff;
  border: 2.5px solid var(--red);
  border-radius: var(--radius-card);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.summary-card h3 {
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--border);
}

.summary-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.summary-empty .emoji { font-size: 2.5rem; display: block; margin-bottom: .5rem; }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-of-type { border-bottom: none; }

.summary-row-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.summary-row-value {
  font-weight: 700;
  font-size: .95rem;
  color: var(--charcoal);
  max-width: 200px;
  text-align: right;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0 1rem;
  margin-top: .5rem;
  border-top: 2.5px solid var(--border);
  border-bottom: 2.5px solid var(--border);
}

.summary-total-label {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
}

#summary-total-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
}

.summary-send-note {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: .75rem;
}

.btn-clear {
  display: block;
  width: 100%;
  padding: .6rem 1rem;
  margin-top: .5rem;
  border-radius: var(--radius-btn);
  border: 1.5px solid rgba(204,34,0,.25);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  text-align: center;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.btn-clear:hover {
  background: rgba(204,34,0,.06);
  border-color: var(--red);
  color: var(--red);
}

/* Botón agregar al carrito */
.btn-add-cart {
  width: 100%;
  padding: .8rem 1.2rem;
  background: var(--cheese);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, transform .12s;
}
.btn-add-cart:hover:not(:disabled) {
  background: var(--cheese-dark);
  transform: translateY(-1px);
}
.btn-add-cart:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Items del carrito en el resumen */
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; margin-bottom: .4rem; }
.cart-item-info { display: flex; flex-direction: column; flex: 1; }
.cart-item-name { font-weight: 700; font-size: .92rem; color: var(--charcoal); }
.cart-item-extras { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.cart-item-right { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.cart-item-price { font-weight: 800; font-size: .92rem; color: var(--red); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: .85rem;
  cursor: pointer;
  padding: .1rem .3rem;
  border-radius: 4px;
  line-height: 1;
  transition: color .15s, background .15s;
}
.cart-item-remove:hover { color: var(--red); background: rgba(204,34,0,.08); }

@media (max-width: 960px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .order-summary {
    position: static;
    order: -1; /* show summary first on mobile */
  }
}

/* -------------------------------------------------------------------
   10. CONTACTO / FOOTER
------------------------------------------------------------------- */
#contacto {
  background: var(--charcoal);
  color: #fff;
  padding: 4rem 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.contact-brand-name {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: .3rem;
}

.contact-brand-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.2rem;
}

.contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

.wa-contact-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.1rem;
  border-radius: 10px;
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.28);
  color: #25D366;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: .65rem;
  transition: background .18s;
}

.wa-contact-btn:hover { background: rgba(37,211,102,.22); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.72);
  margin-bottom: .6rem;
}

.contact-info-item span { font-size: 1.1rem; flex-shrink: 0; }

.footer-bottom {
  text-align: center;
  padding: 1.4rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* -------------------------------------------------------------------
   11. BUTTONS — WhatsApp
------------------------------------------------------------------- */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-btn);
  background: var(--wa-green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: var(--shadow-wa);
  width: 100%;
}

.btn-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(37,211,102,.40);
}

.btn-wa:disabled {
  background: #ccc;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* -------------------------------------------------------------------
   12. FLOATING WHATSAPP BUTTON
------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.3rem;
  border-radius: var(--radius-btn);
  background: var(--wa-green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .9rem;
  box-shadow: var(--shadow-wa);
  animation: pulse-wa 3.5s ease-in-out infinite;
  transition: background .18s;
}

.whatsapp-float:hover { background: var(--wa-dark); }

.whatsapp-float svg { flex-shrink: 0; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 36px rgba(37,211,102,.32); }
  50%       { box-shadow: 0 10px 52px rgba(37,211,102,.55); }
}

/* -------------------------------------------------------------------
   13. SECTION BACKGROUNDS variation
------------------------------------------------------------------- */
#inicio    { } /* gradient defined above */
#promos    { }
#menu      { }
#armar-pedido { }
#contacto  { }

/* -------------------------------------------------------------------
   14. SCROLL ANIMATIONS (lightweight)
------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------
   15. UTILITY
------------------------------------------------------------------- */
.text-red    { color: var(--red); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* -------------------------------------------------------------------
   16. MODAL — LEAD CAPTURE (promos secretas)
------------------------------------------------------------------- */

/* Overlay */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeOverlay .25s ease;
}

.lead-overlay.hidden { display: none; }

@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Card */
.lead-modal {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 2rem 1.8rem 1.6rem;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  animation: slideUpModal .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);   }
}

/* Botón cerrar */
.lead-close {
  position: absolute;
  top: .9rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}

.lead-close:hover { background: var(--warm); color: var(--red); }

/* Ícono y textos */
.lead-icon { font-size: 2.4rem; margin-bottom: .5rem; }

.lead-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: .4rem;
}

.lead-subtitle {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

/* Form fields */
.lead-form { text-align: left; }

.lead-field { margin-bottom: .8rem; }

.lead-field label {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.lead-field input {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  transition: border-color .18s, background .18s;
}

.lead-field input:focus {
  border-color: var(--red);
  background: #fff;
}

.lead-field input.error { border-color: #e53e3e; }

/* Submit button */
.btn-lead-submit {
  width: 100%;
  margin-top: .4rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-btn);
  border: none;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .97rem;
  cursor: pointer;
  transition: background .18s, transform .15s;
}

.btn-lead-submit:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Skip button */
.btn-lead-skip {
  display: block;
  width: 100%;
  margin-top: .55rem;
  padding: .45rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: color .15s;
}

.btn-lead-skip:hover { color: var(--red); }

/* Estado de éxito */
.lead-success {
  padding: 1rem 0 .5rem;
  text-align: center;
}

.lead-success-icon { font-size: 2.8rem; margin-bottom: .6rem; }

.lead-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: .4rem;
}

.lead-success-sub {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------------
   17. RESPONSIVENESS extras
------------------------------------------------------------------- */
@media (max-width: 480px) {
  section { padding: 3.5rem 0; }
  .pizza-art { width: min(220px, 80vw); }
  .promos-grid { grid-template-columns: 1fr; }
  .promo-card.featured { transform: none; }
  .menu-grid { grid-template-columns: 1fr; }
  .summary-card { padding: 1.3rem; }
}
