/* ═══════════════════════════════════════════════
   Perfect Brunch · app.css
   Paleta: Crema · Oliva · Cálido
   ═══════════════════════════════════════════════ */

:root {
  --crema:      #EEF2EC;
  --crema-2:    #DDE6D9;
  --oliva:      #2D4A2D;
  --oliva-m:    #4A7A4A;
  --oliva-l:    #6BA86B;
  --calido:     #8FB88F;
  --calido-l:   #B8D4B8;
  --texto:      #1A2E1A;
  --texto-s:    #4A6B4A;
  --blanco:     #FFFFFF;
  --verde-wa:   #25D366;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 999px;

  --sombra-s: 0 2px 12px rgba(74,82,64,.1);
  --sombra-m: 0 8px 32px rgba(74,82,64,.14);
  --sombra-l: 0 20px 60px rgba(74,82,64,.18);

  --transicion: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Tipografía ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
em { font-style: italic; color: var(--oliva-m); }

/* ── Helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.seccion { padding: 5rem 0; }
.pill-label {
  display: inline-block;
  background: var(--crema-2);
  color: var(--oliva);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.seccion-header { text-align: center; margin-bottom: 3rem; }
.seccion-header p { color: var(--texto-s); max-width: 540px; margin: .8rem auto 0; line-height: 1.7; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 500; font-size: .95rem;
  transition: var(--transicion);
  white-space: nowrap;
}
.btn-primary {
  background: var(--oliva);
  color: #fff;
  box-shadow: var(--sombra-s);
}
.btn-primary:hover { background: var(--oliva-m); transform: translateY(-2px); box-shadow: var(--sombra-m); }
.btn-whatsapp {
  background: var(--verde-wa);
  color: #fff;
  box-shadow: var(--sombra-s);
}
.btn-whatsapp:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: var(--sombra-m); }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,82,64,.1);
  transition: var(--transicion);
}
.nav.scrolled { box-shadow: var(--sombra-s); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--oliva);
  margin-right: auto;
}
.logo-icon { font-size: 1.4rem; }
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  font-size: .92rem; font-weight: 400;
}
.nav-links a { color: var(--texto-s); transition: color var(--transicion); }
.nav-links a:hover { color: var(--oliva); }
.nav-cta {
  background: var(--oliva) !important;
  color: #fff !important;
  padding: .45rem 1.2rem;
  border-radius: var(--r-full);
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--oliva-m) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--oliva); border-radius: 2px; transition: var(--transicion); }
.nav-mobile {
  display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--crema-2);
  background: var(--blanco);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: .75rem 0; color: var(--texto); font-size: 1.05rem; border-bottom: 1px solid var(--crema-2); }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 3rem; padding: 7rem 6% 4rem;
  background: var(--crema);
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.blob1 { width: 500px; height: 500px; background: var(--calido-l); top: -100px; right: -100px; }
.blob2 { width: 300px; height: 300px; background: var(--oliva-l); bottom: 50px; left: 10%; }
.blob3 { width: 200px; height: 200px; background: var(--calido); top: 40%; right: 20%; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--oliva); color: #fff;
  font-size: .82rem; font-weight: 500;
  padding: .4rem 1rem; border-radius: var(--r-full);
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: .5rem; color: #7BF5AA; }
.hero-title { color: var(--oliva); margin-bottom: 1.2rem; }
.hero-title em { color: var(--calido); font-style: italic; }
.hero-sub { color: var(--texto-s); font-size: 1.05rem; line-height: 1.75; max-width: 480px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.stat strong { display: block; font-size: 1.4rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--oliva); }
.stat span { font-size: .8rem; color: var(--texto-s); }
.stat-sep { width: 1px; height: 36px; background: var(--calido-l); }
.hero-visual { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }
.hero-img-wrap { position: relative; }
.hero-img-placeholder {
  width: 360px; height: 400px; max-width: 100%;
  background: var(--blanco);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--sombra-l);
  gap: 1rem;
}
.food-emoji-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem;
  text-align: center;
}
.food-emoji-grid span { font-size: 2.2rem; }
.hero-img-placeholder p { color: var(--texto-s); font-size: .85rem; }
.hero-card-float {
  position: absolute;
  display: flex; align-items: center; gap: .75rem;
  background: var(--blanco);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  box-shadow: var(--sombra-m);
  white-space: nowrap;
}
.hero-card-float strong { display: block; font-size: .9rem; color: var(--oliva); }
.hero-card-float small { font-size: .75rem; color: var(--texto-s); }
.float-icon { font-size: 1.5rem; }
.card-top { top: 20px; left: -60px; animation: floatUp 3s ease-in-out infinite; }
.card-bot { bottom: 40px; right: -60px; animation: floatUp 3s ease-in-out infinite .5s; }
@keyframes floatUp { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ═══════════ NOSOTROS ═══════════ */
.nosotros { background: var(--blanco); }
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.nosotros-img { position: relative; }
.nosotros-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: var(--crema);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 3rem; gap: .5rem;
}
.nosotros-placeholder p { font-size: .9rem; color: var(--texto-s); text-align: center; }
.nosotros-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--oliva);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sombra-m);
}
.nosotros-badge-float strong { display: block; font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.nosotros-badge-float small { font-size: .78rem; opacity: .8; }
.nosotros-texto { padding: 2rem 0; }
.nosotros-texto h2 { margin-bottom: 1.2rem; }
.nosotros-texto p { color: var(--texto-s); line-height: 1.8; margin-bottom: 1rem; }
.valores-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.valor { background: var(--crema); border-radius: var(--r-md); padding: 1rem; }
.valor span { font-size: 1.5rem; display: block; margin-bottom: .4rem; }
.valor strong { display: block; font-size: .9rem; color: var(--oliva); margin-bottom: .25rem; }
.valor small { font-size: .78rem; color: var(--texto-s); line-height: 1.5; }

/* ═══════════ DESTACADOS ═══════════ */
.destacados { background: var(--crema); }
.destacados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.prod-card {
  background: var(--blanco);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sombra-s);
  transition: var(--transicion);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-m); }
.prod-card-img { position: relative; aspect-ratio: 4/3; }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img-ph {
  width: 100%; height: 100%;
  background: var(--crema-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.prod-badge-star {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--oliva);
  color: #fff; font-size: .72rem; font-weight: 500;
  padding: .3rem .7rem; border-radius: var(--r-full);
}
.prod-card-body { padding: 1.2rem; }
.prod-categoria { font-size: .72rem; color: var(--oliva-m); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.prod-card-body h3 { margin: .4rem 0 .5rem; font-size: 1.1rem; }
.prod-card-body p { font-size: .85rem; color: var(--texto-s); line-height: 1.6; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.prod-precio { font-size: 1.15rem; font-family: 'Playfair Display', serif; color: var(--oliva); }
.btn-pedir {
  background: var(--oliva);
  color: #fff; font-size: .82rem; font-weight: 500;
  padding: .4rem .9rem; border-radius: var(--r-full);
  transition: var(--transicion);
}
.btn-pedir:hover { background: var(--oliva-m); }

/* ═══════════ MENÚ COMPLETO ═══════════ */
.menu-seccion { background: var(--blanco); }
.menu-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: .5rem 1.2rem;
  border: 1.5px solid var(--crema-2);
  border-radius: var(--r-full);
  font-size: .88rem;
  color: var(--texto-s);
  transition: var(--transicion);
}
.menu-tab:hover { border-color: var(--oliva-m); color: var(--oliva); }
.menu-tab.active { background: var(--oliva); color: #fff; border-color: var(--oliva); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.menu-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--crema);
  border-radius: var(--r-lg);
  padding: 1rem;
  transition: var(--transicion);
}
.menu-item:hover { background: var(--crema-2); }
.menu-item.hidden { display: none; }
.menu-item-img { position: relative; flex-shrink: 0; width: 80px; height: 80px; border-radius: var(--r-md); overflow: hidden; }
.menu-item-img img { width: 100%; height: 100%; object-fit: cover; }
.menu-img-ph { width: 100%; height: 100%; background: var(--calido-l); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.menu-star { position: absolute; top: 2px; right: 2px; font-size: .8rem; }
.menu-item-info { flex: 1; }
.menu-item-info h4 { font-size: 1rem; margin-bottom: .25rem; }
.menu-item-info p { font-size: .8rem; color: var(--texto-s); line-height: 1.55; }
.menu-item-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.menu-item-footer strong { font-size: .95rem; color: var(--oliva); font-family: 'Playfair Display', serif; }
.btn-mini {
  background: var(--oliva-m); color: #fff;
  font-size: .75rem; font-weight: 500;
  padding: .3rem .75rem; border-radius: var(--r-full);
  transition: var(--transicion);
}
.btn-mini:hover { background: var(--oliva); }

/* ═══════════ PROMOCIONES ═══════════ */
.promo-seccion { background: var(--oliva); }
.promo-seccion .seccion-header .pill-label { background: rgba(255,255,255,.15); color: #fff; }
.promo-seccion h2 { color: #fff; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 1.5rem; }
.promo-card {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transition: var(--transicion);
}
.promo-card:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.promo-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--calido); color: var(--oliva);
  font-weight: 700; font-size: 1rem;
  padding: .4rem .9rem; border-radius: var(--r-full);
}
.promo-body { flex: 1; padding: 2rem; }
.promo-body h3 { font-size: 1.4rem; color: #fff; margin-bottom: .75rem; }
.promo-body p { color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 1.5rem; }
.promo-img {
  width: 160px; flex-shrink: 0;
  background: rgba(255,255,255,.06);
}
.promo-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-img-ph { display: flex; align-items: center; justify-content: center; font-size: 4rem; }

/* ═══════════ GALERÍA ═══════════ */
.galeria-seccion { background: var(--crema); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 180px);
  gap: 1rem;
}
.galeria-item { border-radius: var(--r-lg); overflow: hidden; transition: var(--transicion); cursor: pointer; }
.galeria-item:hover { transform: scale(1.02); }
.galeria-item--big:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galeria-item--big:nth-child(2) { grid-row: span 1; }
.galeria-ph {
  width: 100%; height: 100%;
  background: var(--crema-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; font-size: 2.5rem; transition: var(--transicion);
}
.galeria-item--big:nth-child(1) .galeria-ph { font-size: 4rem; }
.galeria-ph:hover { background: var(--calido-l); }
.galeria-ph small { font-size: .75rem; color: var(--texto-s); }
.galeria-note { text-align: center; margin-top: 1.5rem; color: var(--texto-s); }
.galeria-note a { color: var(--oliva); text-decoration: underline; }

/* ═══════════ CONTACTO ═══════════ */
.contacto-seccion { background: var(--blanco); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contacto-info h2 { margin-bottom: 1.5rem; }
.info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.25rem;
}
.info-item > span { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-item strong { display: block; font-size: .85rem; color: var(--oliva); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem; }
.info-item p, .info-item a { color: var(--texto-s); font-size: .95rem; }
.info-item a:hover { color: var(--oliva); }
.contacto-form-wrap { background: var(--crema); border-radius: var(--r-xl); padding: 2rem; }
.contacto-form h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .83rem; font-weight: 500; color: var(--oliva); margin-bottom: .4rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .7rem 1rem;
  border: 1.5px solid var(--calido-l);
  border-radius: var(--r-md);
  font: inherit; font-size: .9rem; color: var(--texto);
  background: var(--blanco);
  transition: border-color var(--transicion);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--oliva);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.flash {
  padding: .9rem 1.2rem; border-radius: var(--r-md);
  font-size: .9rem; margin-bottom: 1rem; font-weight: 500;
}
.flash--ok { background: #D1FAE5; color: #065F46; }
.flash--err { background: #FEE2E2; color: #991B1B; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--oliva); color: rgba(255,255,255,.8); padding: 2.5rem 0 1rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: .2rem; }
.footer-brand strong { color: #fff; font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.footer-brand small { font-size: .8rem; opacity: .65; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .88rem; opacity: .75; transition: opacity var(--transicion); }
.footer-links a:hover { opacity: 1; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: .88rem; opacity: .75; transition: opacity var(--transicion); }
.footer-social a:hover { opacity: 1; }
.footer-copy { text-align: center; font-size: .78rem; opacity: .5; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ═══════════ WHATSAPP FLOTANTE ═══════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 56px; height: 56px;
  background: var(--verde-wa);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transicion);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ═══════════ ADMIN PANEL ═══════════ */
.admin-body { background: #F8F7F4; min-height: 100vh; }
.admin-nav {
  background: var(--oliva); color: #fff;
  padding: 0 1.5rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-nav-brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.admin-nav-links { display: flex; gap: 1.5rem; align-items: center; font-size: .88rem; }
.admin-nav-links a { opacity: .8; transition: opacity var(--transicion); }
.admin-nav-links a:hover { opacity: 1; }
.admin-nav-links a.active { opacity: 1; font-weight: 500; }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-head h1 { font-size: 1.6rem; color: var(--oliva); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--blanco); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sombra-s); }
.admin-table th { background: var(--crema); color: var(--oliva); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--crema-2); }
.admin-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--crema-2); font-size: .9rem; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--crema); }
.badge { display: inline-block; font-size: .72rem; font-weight: 500; padding: .2rem .6rem; border-radius: var(--r-full); }
.badge-ok { background: #D1FAE5; color: #065F46; }
.badge-off { background: #FEE2E2; color: #991B1B; }
.badge-star { background: var(--crema-2); color: var(--oliva); }
.admin-form { background: var(--blanco); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--sombra-s); max-width: 640px; }
.admin-form h2 { font-size: 1.3rem; color: var(--oliva); margin-bottom: 1.5rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-actions { display: flex; gap: .5rem; align-items: center; }
.btn-sm { padding: .35rem .8rem; font-size: .8rem; border-radius: var(--r-full); font-weight: 500; transition: var(--transicion); }
.btn-edit { background: var(--crema-2); color: var(--oliva); }
.btn-edit:hover { background: var(--calido-l); }
.btn-del { background: #FEE2E2; color: #991B1B; }
.btn-del:hover { background: #FCA5A5; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--blanco); border-radius: var(--r-lg); padding: 1.2rem 1.5rem; box-shadow: var(--sombra-s); }
.stat-card small { display: block; font-size: .78rem; color: var(--texto-s); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .3rem; }
.stat-card strong { font-size: 2rem; font-family: 'Playfair Display', serif; color: var(--oliva); }

/* ═══════════ LOGIN ═══════════ */
.login-page {
  min-height: 100vh; background: var(--crema);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.login-card { background: var(--blanco); border-radius: var(--r-xl); padding: 2.5rem; width: 100%; max-width: 400px; box-shadow: var(--sombra-l); }
.login-card .logo { text-align: center; margin-bottom: 2rem; }
.login-card .logo span { font-size: 2.5rem; }
.login-card .logo h1 { font-size: 1.5rem; color: var(--oliva); margin-top: .5rem; }
.login-card .logo p { font-size: .85rem; color: var(--texto-s); margin-top: .25rem; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 6rem 1.5rem 3rem; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nosotros-badge-float { display: none; }
  .contacto-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .galeria-item--big { grid-column: span 1; grid-row: span 1; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .valores-grid { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .destacados-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .admin-table { font-size: .8rem; }
  .admin-table th, .admin-table td { padding: .6rem .75rem; }
}

/* ═══════════ DELIVERY ═══════════ */
.btn-outline {
  border: 2px solid var(--oliva);
  color: var(--oliva);
  background: transparent;
  padding: .8rem 1.8rem;
  border-radius: var(--r-full);
  font-weight: 500; font-size: .95rem;
  transition: var(--transicion);
}
.btn-outline:hover { background: var(--oliva); color: #fff; }

.badge-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #7BF5AA; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Cómo funciona ── */
.como-funciona { background: var(--crema); }
.pasos-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.paso {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--blanco); border-radius: var(--r-xl);
  box-shadow: var(--sombra-s);
}
.paso-num { font-size: .75rem; font-weight: 700; color: var(--calido); letter-spacing: .1em; margin-bottom: .5rem; }
.paso-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.paso h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.paso p { font-size: .88rem; color: var(--texto-s); line-height: 1.7; }
.paso-flecha { font-size: 1.5rem; color: var(--calido-l); align-self: center; flex-shrink: 0; }

/* ── Delivery ── */
.delivery-seccion { background: var(--crema); }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.delivery-info h2 { margin: .5rem 0 1rem; }
.delivery-info > p { color: var(--texto-s); line-height: 1.8; margin-bottom: 2rem; }
.delivery-zonas h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--oliva); margin-bottom: 1rem; }
.zona-lista { display: flex; flex-direction: column; gap: .75rem; }
.zona-item {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .9rem 1rem;
  background: var(--blanco); border-radius: var(--r-md);
  box-shadow: var(--sombra-s);
}
.zona-item--gratis { background: #EDFAF3; }
.zona-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.zona-dot--verde  { background: #22C55E; }
.zona-dot--calido { background: var(--calido); }
.zona-dot--oliva  { background: var(--oliva-m); }
.zona-item > div { flex: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.zona-item strong { font-size: .88rem; color: var(--texto); line-height: 1.4; }
.zona-item span { font-size: .95rem; font-weight: 700; color: var(--oliva); white-space: nowrap; font-family: 'Playfair Display', serif; }
.delivery-nota {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-top: 1.5rem;
  background: var(--blanco); border-radius: var(--r-md);
  padding: 1rem; border-left: 3px solid var(--calido);
}
.delivery-nota span { font-size: 1.2rem; flex-shrink: 0; }
.delivery-nota p { font-size: .85rem; color: var(--texto-s); line-height: 1.7; }
.delivery-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.delivery-card {
  background: var(--blanco); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--sombra-s);
  transition: var(--transicion);
}
.delivery-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-m); }
.dc-icon { font-size: 2rem; display: block; margin-bottom: .75rem; }
.delivery-card h4 { font-size: 1rem; margin-bottom: .4rem; color: var(--oliva); }
.delivery-card p { font-size: .83rem; color: var(--texto-s); line-height: 1.6; }

@media (max-width: 900px) {
  .delivery-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pasos-grid { grid-template-columns: 1fr; }
  .paso-flecha { transform: rotate(90deg); text-align: center; }
  .delivery-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .delivery-cards { grid-template-columns: 1fr; }
}

/* ── Footer developer ── */
.footer-dev {
  text-align: center;
  font-size: .72rem;
  opacity: .4;
  margin-top: .35rem;
  padding-bottom: .5rem;
}
.footer-dev a { text-decoration: underline; opacity: .8; }
.footer-dev a:hover { opacity: 1; }
