/* ===== Temporada navideña MenezProf (se activa sola del 1 de diciembre al 6 de enero) =====
   La usan todos los sitios: menezprof.com, instructores, plantillas, herramientas y aliados. */

/* guirnalda de luces bajo el encabezado */
.luces{position:absolute;left:0;right:0;bottom:-15px;height:18px;pointer-events:none;z-index:1;overflow:hidden;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18'%3E%3Cpath d='M0 2 Q20 10 40 2 T80 2 T120 2 T160 2' fill='none' stroke='%23334155' stroke-opacity='.45' stroke-width='1'/%3E%3Cg%3E%3Cellipse cx='20' cy='10' rx='3.2' ry='4.6' fill='%23ef4444'/%3E%3Cellipse cx='60' cy='10' rx='3.2' ry='4.6' fill='%23f5b301'/%3E%3Cellipse cx='100' cy='10' rx='3.2' ry='4.6' fill='%2316a34a'/%3E%3Cellipse cx='140' cy='10' rx='3.2' ry='4.6' fill='%233b82f6'/%3E%3C/g%3E%3Cg fill='%23475569'%3E%3Crect x='18.6' y='4' width='2.8' height='2.4' rx='.6'/%3E%3Crect x='58.6' y='4' width='2.8' height='2.4' rx='.6'/%3E%3Crect x='98.6' y='4' width='2.8' height='2.4' rx='.6'/%3E%3Crect x='138.6' y='4' width='2.8' height='2.4' rx='.6'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 0/160px 18px}
.luces::after{content:"";position:absolute;inset:0;background:inherit;background-position:80px 0;filter:blur(3px) saturate(1.6);opacity:.55;animation:mp-titilar 2.6s ease-in-out infinite}
@keyframes mp-titilar{0%,100%{opacity:.15}50%{opacity:.7}}
.mtop,.top{position:sticky}
.mtop .mwrap,.top .wrap{position:relative;z-index:2}

/* nieve suave en la portada (el lienzo lo crea navidad.js) */
.mp-nieve{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hx>.mwrap,.ihero>.wrap,.phero>.wrap{position:relative;z-index:1}
.ihero,.phero,.hx{position:relative;overflow:hidden}

/* banco de nieve en el borde inferior de las portadas oscuras */
.hx::after,.ihero::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:26px;z-index:1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26V14C60 4 110 18 170 12S290 2 350 10s110 12 170 4 120-10 180-2 110 12 170 6 120-12 190-4 70 10 140 2V26Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom/100% 100%}
.hx-home::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26V14C60 4 110 18 170 12S290 2 350 10s110 12 170 4 120-10 180-2 110 12 170 6 120-12 190-4 70 10 140 2V26Z' fill='%23ffffff'/%3E%3C/svg%3E")}

/* cinta "Felices fiestas" en la portada */
.mp-fiestas{display:flex;width:fit-content;align-items:center;gap:8px;margin:0 auto 12px;padding:6px 14px 6px 10px;border-radius:999px;font:700 13px/1.2 Inter,system-ui,sans-serif;letter-spacing:.02em;
  color:#fde68a;background:linear-gradient(135deg,rgba(185,28,28,.55),rgba(21,128,61,.45));border:1px solid rgba(253,230,138,.35)}
.phero .mp-fiestas{color:#991b1b;background:linear-gradient(135deg,#fee2e2,#dcfce7);border-color:#fecaca}
.mp-fiestas i{font-style:normal}

/* toques en los títulos de sección */
.eyb::before,.zona-n::before{content:"✦ ";color:#e11d48}
.zona-card{position:relative}
.zona-card::before{content:"";position:absolute;top:-6px;right:28px;width:46px;height:40px;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 40'%3E%3Cpath d='M23 0v10' stroke='%23b45309' stroke-width='1.5'/%3E%3Crect x='19' y='9' width='8' height='5' rx='1.5' fill='%23d4a017'/%3E%3Ccircle cx='23' cy='26' r='12' fill='%23dc2626'/%3E%3Cpath d='M12 25c7 3 15 3 22 0' stroke='%23fde68a' stroke-width='2' fill='none'/%3E%3Ccircle cx='18' cy='21' r='3' fill='%23fff' fill-opacity='.45'/%3E%3C/svg%3E") no-repeat center/contain;
  transform-origin:23px 0;animation:mp-pendulo 5s ease-in-out infinite}
.z-pla .zona-card::before{filter:hue-rotate(115deg) saturate(.9)}
.z-her .zona-card::before{filter:hue-rotate(205deg)}
.z-ali .zona-card::before{filter:hue-rotate(40deg) saturate(1.2)}
@keyframes mp-pendulo{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}

/* pie */
.mp-pie-fiestas{display:block;text-align:center;font-weight:700;color:#b91c1c;margin-bottom:4px}

@media (prefers-reduced-motion:reduce){.luces::after,.zona-card::before{animation:none}.mp-nieve{display:none}}
@media(max-width:640px){.zona-card::before{right:14px;width:36px;height:32px}}
