/* Videj Casa Yoga · Temporada de Navidad 2026
   Para volver a la web normal en enero: quitar la línea <link ... navidad.css> de cada página
   (o dejar este archivo vacío). Nada más depende de él. */
:root {
  --rojo: #8E3A31;        /* rojo ruana: suave, cálido, de la familia del café */
  --rojo-hondo: #5E241F;
  --rojo-tinta: #7A2F28;  /* para texto sobre lino */
  --oro: #C9A24A;
  --oro-claro: #F3D9A6;
}

/* La franja de la ruana se viste de Navidad: rombos ocre y rojo */
.ruana-strip {
  background:
    linear-gradient(135deg, transparent 37%, var(--ocre) 37% 63%, transparent 63%) 0 0/14px 14px,
    linear-gradient(45deg, transparent 37%, var(--rojo) 37% 63%, transparent 63%) 7px 0/14px 14px;
}

/* Barra de anuncio arriba de todo */
.nv-bar { position: relative; background: var(--rojo-hondo); color: #FBF3E2; font-size: .85rem; line-height: 1.35; }
.nv-bar::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, var(--oro) 40% 60%, transparent 60%) 0 0/12px 12px; }
.nv-bar a { position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; padding: .55rem 1rem; text-align: center; }
.nv-bar b { color: var(--oro-claro); font-weight: 700; }
.nv-bar .nv-go { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243,217,166,.6); white-space: nowrap; }
.nv-rombo { display: inline-block; width: 7px; height: 7px; transform: rotate(45deg); background: var(--oro); border-radius: 1px; flex: none; }

/* Sección Navidad en Videj */
.nv-band { position: relative; overflow: hidden; color: #FBF3E2;
  background: radial-gradient(90% 70% at 90% 0%, rgba(201,162,74,.22), transparent 60%),
              radial-gradient(70% 60% at 0% 100%, rgba(0,0,0,.25), transparent 60%),
              linear-gradient(160deg, #7A2F28 0%, var(--rojo) 45%, var(--rojo-hondo) 100%); }
.nv-band .contour { background-image: repeating-radial-gradient(ellipse at 15% -20%, transparent 0 24px, rgba(243,217,166,.07) 24px 25px); }
.nv-band .eyebrow { color: var(--oro-claro); }
.nv-band .eyebrow::before { background: var(--oro); }
.nv-foil { background: linear-gradient(100deg, #E9C27C, #FFF1CF 45%, #D9A453 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Guirnalda de rombos (el sello de la ruana) */
.nv-garland { position: absolute; left: 0; right: 0; top: 0; height: 26px; pointer-events: none; opacity: .9;
  background:
    linear-gradient(135deg, transparent 42%, var(--oro) 42% 58%, transparent 58%) 0 6px/28px 14px repeat-x,
    linear-gradient(45deg, transparent 42%, var(--oro) 42% 58%, transparent 58%) 14px 6px/28px 14px repeat-x; }

/* Bonos */
.nv-bono { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 1.5rem; color: var(--ink);
  background: linear-gradient(180deg, #FFFBF1, #FBF1DA);
  box-shadow: inset 0 0 0 1px rgba(201,162,74,.55), inset 0 0 0 6px #FFFBF1, inset 0 0 0 7px rgba(201,162,74,.45), 0 30px 50px -30px rgba(0,0,0,.6); }
.nv-bono .nv-precio { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--rojo-tinta); }
.nv-bono .nv-tag { position: absolute; top: -12px; right: 18px; border-radius: 999px; padding: .3rem .75rem; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(180deg, #F5D08E, #D9A453); color: #3B230F; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }
.nv-bono .nv-moño { position: absolute; top: 1.2rem; right: 1.2rem; width: 28px; height: 28px; color: var(--oro); opacity: .9; }
.btn-rojo { --edge: #4A1C18; color: #FFF7E8; background: linear-gradient(180deg, #A64A3F, var(--rojo) 58%, #74302A); }
.btn-rojo:hover { background: linear-gradient(180deg, #A64A3F, var(--rojo) 58%, #74302A); }

/* Agenda de diciembre */
.nv-agenda { border-radius: 24px; padding: 1.4rem 1.5rem; background: rgba(0,0,0,.18); box-shadow: inset 0 0 0 1px rgba(243,217,166,.25); }
.nv-agenda li { display: grid; grid-template-columns: 6.2rem 1fr; gap: .9rem; align-items: baseline; padding: .85rem 0; border-top: 1px solid rgba(243,217,166,.18); }
.nv-agenda li:first-child { border-top: 0; }
.nv-hora { font-family: var(--font-display); font-size: 1.5rem; color: var(--oro-claro); white-space: nowrap; }
.nv-hora small { font-family: var(--font-body); font-size: .8rem; opacity: .85; }

/* Versión clara de la agenda (página de clases) */
.nv-agenda.light { background: #FFFBF1; box-shadow: inset 0 0 0 1px var(--line), 0 18px 36px -28px rgba(43,33,24,.55); color: var(--ink); }
.nv-agenda.light li { border-color: var(--line); }
.nv-agenda.light .nv-hora { color: var(--rojo-tinta); }

/* Tarjeta de regalo en terciopelo rojo */
.gift-card { background: radial-gradient(120% 90% at 85% 0%, rgba(243,217,166,.30), transparent 55%), linear-gradient(135deg, #5E241F 0%, #8E3A31 55%, #471A16 100%) !important; }

/* Rombito dorado en la palabra Navidad de la sección de regalo */
#regalo .day[aria-pressed="true"] { background: var(--oro-claro); border-color: var(--oro); }

/* Los bonos de Navidad en la página de clases */
.nv-plan { border-width: 2px !important; border-color: var(--rojo) !important; background: linear-gradient(180deg, #FBEFE6, var(--surface)) !important; }
.nv-plan .eyebrow { color: var(--rojo-tinta); }
.nv-plan .eyebrow::before { background: var(--rojo); }
.nv-plan .nv-precio { color: var(--rojo-tinta); }

@media (max-width: 420px) { .nv-agenda li { grid-template-columns: 5.4rem 1fr; } .nv-hora { font-size: 1.3rem; } }

.nv-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .nv-grid { grid-template-columns: 1.25fr 1fr; gap: 2.5rem; } }
@media (min-width: 768px) {
  .nv-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .nv-cols li { border-top: 0; grid-template-columns: auto 1fr; }
}
@media (max-width: 639px) { .nv-bar .nv-rombo { display: none; } .nv-bar a { gap: .2rem .6rem; } }

/* ---------- Decoración (la dibuja js/navidad.js) ---------- */
.sin-navidad .nv-deco, .sin-navidad .nv-luces { display: none; }
.nv-deco svg { display: block; }

/* Luces */
.nv-luces { pointer-events: none; overflow: hidden; line-height: 0; }
.nv-luces-head { position: absolute; left: 0; right: 0; top: 100%; height: 48px; z-index: 1; }
.nv-luces-band { position: absolute; left: 0; right: 0; top: 0; height: 48px; z-index: 1; }
.nv-foco path { filter: drop-shadow(0 0 3px rgba(255,214,140,.55)); }
@keyframes nv-brillo { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.nv-foco { animation: nv-brillo 2.8s ease-in-out infinite; }
#navidad .nv-foco path { filter: drop-shadow(0 0 6px rgba(255,214,140,.9)); }

/* Esferas sobre la foto de portada */
.nv-esferas { position: absolute; top: -12px; right: 14%; display: flex; gap: 18px; z-index: 3; pointer-events: none; }
.nv-esfera { display: block; width: 38px; position: relative; padding-top: var(--hilo); transform-origin: 50% 0; animation: nv-vaiven 5s ease-in-out infinite; }
.nv-esfera:nth-child(2) { width: 46px; animation-delay: -1.6s; }
.nv-esfera:nth-child(3) { width: 32px; animation-delay: -3s; }
.nv-esfera::before { content: ""; position: absolute; left: 50%; top: 0; height: var(--hilo); border-left: 1.5px solid #C9A24A; }
.nv-esfera svg { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(43,33,24,.3)); }
@keyframes nv-vaiven { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Escenas de árboles y regalos */
.nv-escena { display: flex; align-items: flex-end; gap: 4px; pointer-events: none; }
.nv-escena svg { filter: drop-shadow(0 10px 12px rgba(0,0,0,.28)); }
#navidad { padding-bottom: 200px; }
#navidad .nv-escena { position: absolute; bottom: 0; left: max(4%, calc(50% - 600px)); gap: 6px; }
#navidad .nv-escena::after { content: ""; position: absolute; left: -20px; right: -20px; bottom: 0; height: 10px; border-radius: 50%; background: rgba(0,0,0,.22); filter: blur(4px); z-index: -1; }
.nv-escena-regalo { margin-top: 2.2rem; justify-content: center; }
.nv-escena-tal { margin-top: 1.6rem; }
.nv-escena-tal svg { filter: drop-shadow(0 8px 10px rgba(43,33,24,.22)); }
.nv-esquina { position: absolute; right: 1.1rem; bottom: .9rem; pointer-events: none; opacity: .95; }
#agenda-diciembre, #bonos .nv-plan { position: relative; }
#agenda-diciembre { padding-right: 5rem; }
#bonos .nv-plan .nv-esquina { top: 1.1rem; bottom: auto; }

/* Destellos */
.nv-destellos { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.nv-destellos i { position: absolute; width: 6px; height: 6px; transform: rotate(45deg); background: #F3D9A6; border-radius: 1px; opacity: 0; animation: nv-destello 6s ease-in-out infinite; box-shadow: 0 0 8px rgba(243,217,166,.8); }
@keyframes nv-destello { 0%, 100% { opacity: 0; transform: rotate(45deg) scale(.4); } 45% { opacity: .75; transform: rotate(45deg) scale(1); } }

@media (max-width: 767px) {
  #navidad { padding-bottom: 150px; }
  #navidad .nv-escena { left: 50%; transform: translateX(-50%) scale(.5); transform-origin: 50% 100%; }
  .nv-esferas { right: 8%; gap: 12px; }
  .nv-esfera { width: 30px; } .nv-esfera:nth-child(2) { width: 36px; } .nv-esfera:nth-child(3) { width: 26px; }
  #agenda-diciembre { padding-right: 1.5rem; padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: reduce) { .nv-foco, .nv-esfera, .nv-destellos i { animation: none; } }
#navidad .nv-escena.nv-escena-der { left: auto; right: max(4%, calc(50% - 600px)); }
@media (max-width: 1023px) { #navidad .nv-escena.nv-escena-der { display: none; } }
@media (max-width: 639px) { .nv-luces-head { height: 40px; } #inicio > .gutter { padding-top: 3.2rem; } }
.nv-luces-head { transition: opacity .3s ease; } @media (max-width: 767px) { .site-header.scrolled .nv-luces-head { opacity: 0; } }
