/* ============ NAVIDAD 2026 · capa de temporada (se activa con html.nv hasta el 7 de enero de 2027) ============ */
html.nv{--nv-r:#B3202A;--nv-r-soft:#E0463F;--nv-g:#1F5C3F;--nv-g-soft:#3E8A63;--nv-snow:#F6EFE2}
html:not(.nv) .nv-el{display:none!important}
/* interruptores: html.nv-off-<detalle> apaga cada detalle (ver OFF en navidad.js) */
html.nv-off-lights .nv-lights,html.nv-off-snow .nv-snow,html.nv-off-hat .nv-hat,html.nv-off-candles .nv-candle,html.nv-off-fstar .nv-star,html.nv-off-baubles .nv-baubles,html.nv-off-star .nv-bethlehem,html.nv-off-ribbons .nv-ribbon,html.nv-off-holly .nv-holly,html.nv-off-trail .nv-spark{display:none!important}

/* ---- acentos: el dorado manda; rojo y verde pino solo en la atmósfera ---- */
html.nv .hero-banner__glow{background:radial-gradient(520px 520px at 78% 44%,rgba(179,32,42,.16),transparent 62%),radial-gradient(150% 72% at 50% 113%,rgba(201,155,42,.22),transparent 58%)}
html.nv .hero-banner__fade::after{background:radial-gradient(60% 100% at 50% 100%,rgba(31,92,63,.26),transparent 70%)}
html.nv .svc-card__gold{background:linear-gradient(180deg,transparent 52%,rgba(179,32,42,.36) 100%)}
html.nv .about-editorial{background:radial-gradient(900px 520px at 50% 0%,rgba(31,92,63,.22),transparent 70%),var(--cream)}
html.nv .footer{position:relative;background:linear-gradient(180deg,rgba(31,92,63,.22),transparent 42%),#050505}
html.nv .footer__grid,html.nv .footer__bar{position:relative;z-index:2}
html.nv ::selection{background:rgba(179,32,42,.6);color:#fff}
html.nv .hero-banner__band{position:relative;overflow:hidden}

/* ---- guirnalda de luces ---- */
.nv-lights{position:absolute;left:0;right:0;top:0;height:26px;z-index:5;pointer-events:none}
.nv-lights svg{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.nv-lights path{fill:none;stroke:rgba(246,239,226,.34);stroke-width:1;vector-effect:non-scaling-stroke}
.nv-bulb{position:absolute;left:var(--x);top:var(--y);width:8px;height:11px;margin-left:-4px;border-radius:50% 50% 50% 50%/42% 42% 58% 58%;background:var(--c);box-shadow:0 0 10px 2px var(--c),0 0 26px 6px color-mix(in srgb,var(--c) 45%,transparent);animation:nvTwinkle var(--dur,2.6s) ease-in-out var(--d,0s) infinite}
.nv-bulb::before{content:"";position:absolute;left:50%;top:-3px;width:4px;height:4px;margin-left:-2px;border-radius:1px;background:#2A2118}
@keyframes nvTwinkle{0%,100%{opacity:1;filter:brightness(1.15)}50%{opacity:.5;filter:brightness(.75)}}

/* ---- nieve ---- */
.nv-snow{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.nv-flake{position:absolute;top:-4%;left:var(--x);width:var(--s,5px);height:var(--s,5px);border-radius:50%;background:radial-gradient(circle,#fff 0%,rgba(246,239,226,.85) 45%,rgba(246,239,226,0) 72%);opacity:0;animation:nvFall var(--dur,14s) linear var(--d,0s) infinite}
@keyframes nvFall{0%{transform:translate3d(0,0,0);opacity:0}8%{opacity:var(--o,.8)}50%{transform:translate3d(var(--sway,18px),calc(var(--h,700px)*.54),0)}88%{opacity:var(--o,.8)}100%{transform:translate3d(0,calc(var(--h,700px)*1.08),0);opacity:0}}

/* ---- gorro de Papá Noel en el logo ---- */
html.nv .nav__logo{position:relative;display:inline-block}
.nv-hat{position:absolute;left:-9px;top:-11px;width:30px;height:24px;pointer-events:none;transform:rotate(-18deg);transform-origin:60% 100%;filter:drop-shadow(0 2px 3px rgba(0,0,0,.6));background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'%3E%3Cpath d='M10 37C12 20 24 6 38 6c7 0 13 7 16 18-5-5-9-6-13-4 4 6 6 12 6 17z' fill='%23B3202A'/%3E%3Cpath d='M14 34c3-11 10-20 20-25-6 7-9 15-10 25z' fill='%23E0463F' opacity='.55'/%3E%3Crect x='5' y='33' width='46' height='11' rx='5.5' fill='%23F6EFE2'/%3E%3Ccircle cx='54' cy='26' r='5.5' fill='%23F6EFE2'/%3E%3C/svg%3E") center/contain no-repeat;animation:nvHat 6s ease-in-out infinite}
@keyframes nvHat{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(-13deg) translateY(-1px)}}

/* ---- copos dorados como separadores del marquee ---- */
html.nv:not(.nv-off-flakes) .marquee .sep{color:transparent;position:relative;display:inline-block;width:1.1em}
html.nv:not(.nv-off-flakes) .marquee .sep::after{content:"";position:absolute;left:0;top:50%;width:1.05em;height:1.05em;transform:translateY(-52%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99B2A' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 4.2 12 6.6l2.4-2.4M9.6 19.8l2.4-2.4 2.4 2.4M3.6 10.2l3.3-.9-.9-3.3M20.4 13.8l-3.3.9.9 3.3M3.6 13.8l3.3.9-.9 3.3M20.4 10.2l-3.3-.9.9-3.3'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---- copo de escarcha al pasar sobre las tarjetas de servicios ---- */
html.nv:not(.nv-off-frost) .svc-card::after{content:"";position:absolute;right:12px;top:12px;width:26px;height:26px;pointer-events:none;z-index:3;opacity:0;transform:scale(.5) rotate(-40deg);transition:opacity .5s,transform .7s cubic-bezier(.2,.7,.2,1);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6EFE2' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 4.2 12 6.6l2.4-2.4M9.6 19.8l2.4-2.4 2.4 2.4M3.6 10.2l3.3-.9-.9-3.3M20.4 13.8l-3.3.9.9 3.3M3.6 13.8l3.3.9-.9 3.3M20.4 10.2l-3.3-.9.9-3.3'/%3E%3C/svg%3E") center/contain no-repeat}
html.nv:not(.nv-off-frost) .svc-card:hover::after{opacity:.85;transform:none}

/* ---- velas rojas junto al escudo (Sobre nosotros) ---- */
html.nv .about-edi__crest{position:relative}
.nv-candle{position:absolute;bottom:4px;display:flex;flex-direction:column;align-items:center;pointer-events:none;--h:46px}
.nv-candle--l{left:calc(50% - 190px)}.nv-candle--r{right:calc(50% - 190px);--h:34px}
.nv-candle__flame{width:10px;height:17px;border-radius:50%/62% 62% 38% 38%;background:radial-gradient(circle at 50% 75%,#FFF6D6 0%,#FFC95A 35%,#FF8A2A 70%,rgba(255,110,30,0) 100%);transform-origin:50% 100%;animation:nvFlicker 1.6s ease-in-out infinite;position:relative}
.nv-candle__flame::before{content:"";position:absolute;left:50%;top:50%;width:90px;height:90px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,190,90,.3),rgba(201,155,42,.08) 50%,transparent 70%);pointer-events:none}
.nv-candle__wick{width:1.5px;height:4px;background:#2A1A0E}
.nv-candle__body{width:14px;height:var(--h);border-radius:3px 3px 2px 2px;background:linear-gradient(90deg,#7E141C 0%,#C22A34 45%,#8A1820 100%);box-shadow:inset 0 -6px 10px rgba(0,0,0,.18),0 10px 18px rgba(0,0,0,.45);position:relative}
.nv-candle__body::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:3px;background:linear-gradient(90deg,#8B6411,#EFC85E,#8B6411)}
@keyframes nvFlicker{0%,100%{transform:scale(1) rotate(-2deg)}25%{transform:scale(.92,1.08) rotate(2deg)}50%{transform:scale(1.05,.94) rotate(-1deg)}75%{transform:scale(.95,1.04) rotate(3deg)}}

/* ---- estrella dorada en la barra del footer ---- */
.nv-star{display:inline-block;width:14px;height:14px;vertical-align:-2px;margin-right:9px;background:#EFC85E;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:nvTwinkle 3.2s ease-in-out infinite}

/* ---- esferas colgantes ---- */
.nv-baubles{position:absolute;inset:0;z-index:5;pointer-events:none}
.nv-bauble{position:absolute;top:0;left:var(--x);display:flex;flex-direction:column;align-items:center;transform-origin:50% 0;animation:nvSway var(--dur,6s) ease-in-out var(--d,0s) infinite}
.nv-bauble i{width:1px;height:var(--l);background:linear-gradient(180deg,rgba(239,200,94,.15),rgba(239,200,94,.85))}
.nv-bauble b{width:7px;height:5px;border-radius:2px 2px 0 0;background:linear-gradient(90deg,#8B6411,#EFC85E,#8B6411)}
.nv-bauble em{width:var(--s);height:var(--s);border-radius:50%;background:radial-gradient(circle at 34% 30%,rgba(255,255,255,.9) 0,rgba(255,255,255,.18) 13%,transparent 30%),radial-gradient(circle at 42% 38%,var(--c1) 0,var(--c2) 62%,var(--c3) 100%);box-shadow:0 10px 20px rgba(0,0,0,.5),0 0 24px color-mix(in srgb,var(--c1) 32%,transparent)}
@keyframes nvSway{0%,100%{transform:rotate(-2.4deg)}50%{transform:rotate(2.4deg)}}

/* ---- estrella de Belén sobre el hero ---- */
.nv-bethlehem{position:absolute;right:15%;top:12%;width:160px;height:160px;z-index:3;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle,rgba(255,246,214,.95) 0,rgba(239,200,94,.5) 7%,rgba(239,200,94,.13) 26%,transparent 55%);animation:nvPulse 4.5s ease-in-out infinite}
.nv-bethlehem::before,.nv-bethlehem::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,#FFF6D6 0%,rgba(239,200,94,.75) 16%,rgba(239,200,94,0) 70%)}
.nv-bethlehem::before{width:110%;height:2px}
.nv-bethlehem::after{width:2px;height:150%}
@keyframes nvPulse{0%,100%{opacity:.7;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}

/* ---- lazo de regalo en las promos ---- */
.nv-ribbon{position:absolute;top:14px;right:-34px;width:120px;height:20px;transform:rotate(45deg);z-index:2;pointer-events:none;background:linear-gradient(180deg,#D2313B 0%,#B3202A 50%,#8A1820 100%);box-shadow:0 3px 8px rgba(0,0,0,.35),inset 0 1.5px 0 rgba(246,218,134,.95),inset 0 -1.5px 0 rgba(246,218,134,.95)}
.nv-ribbon::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;transform:translate(-50%,-50%);background:#F6DA86;clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%)}

/* ---- brillo de lámina dorada en las palabras doradas ---- */
html.nv:not(.nv-off-foil) .hero__title .gold,html.nv:not(.nv-off-foil) h2 .gold,html.nv:not(.nv-off-foil) .about-edi__num{background:linear-gradient(100deg,#C99B2A 0%,#C99B2A 38%,#F6DA86 46%,#FFF6D6 50%,#F6DA86 54%,#C99B2A 62%,#C99B2A 100%) 100% 0/300% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;animation:nvFoil 5s ease-in-out infinite}
@keyframes nvFoil{0%,20%{background-position:100% 0}100%{background-position:0 0}}

/* ---- acebo junto a las etiquetas de sección ---- */
.nv-holly{display:inline-block;width:29px;height:19px;margin-right:10px;vertical-align:-5px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpath d='M0 7C2 5 2.5 3 2 1c2 1.5 3.5 1.5 5-.5 1 2 2.5 2.5 4.5 1.5-.5 2 0 3.5 2.5 5-2.5 1.5-3 3-2.5 5-2-1-3.5-.5-4.5 1.5-1.5-2-3-2-5-.5.5-2 0-4-2-6z' transform='translate(1 3) rotate(-16 7 7)' fill='%231F5C3F'/%3E%3Cpath d='M0 7C2 5 2.5 3 2 1c2 1.5 3.5 1.5 5-.5 1 2 2.5 2.5 4.5 1.5-.5 2 0 3.5 2.5 5-2.5 1.5-3 3-2.5 5-2-1-3.5-.5-4.5 1.5-1.5-2-3-2-5-.5.5-2 0-4-2-6z' transform='translate(29 3) scale(-1 1) rotate(-16 7 7)' fill='%232E7A54'/%3E%3Cpath d='M2 12 13 9M28 12 17 9' stroke='%230E2E1F' stroke-width='.6' fill='none'/%3E%3Ccircle cx='15' cy='13.6' r='2.8' fill='%23D2313B'/%3E%3Ccircle cx='12.5' cy='9.6' r='2.4' fill='%23B3202A'/%3E%3Ccircle cx='17.5' cy='9.8' r='2.4' fill='%23E0463F'/%3E%3Ccircle cx='14.1' cy='12.7' r='.8' fill='%23fff' opacity='.75'/%3E%3C/svg%3E") center/contain no-repeat}

/* ---- cinta de ofertas (servicios): listón de regalo rojo con filo dorado ---- */
html.nv:not(.nv-off-ticker) .pr-ticker{padding:15px 0;border:0;-webkit-mask-image:none;mask-image:none;background:linear-gradient(180deg,#C92B35 0%,#B3202A 42%,#8A1820 100%);box-shadow:inset 0 2px 0 #F6DA86,inset 0 -2px 0 #F6DA86,inset 0 5px 0 rgba(0,0,0,.14),inset 0 -5px 0 rgba(0,0,0,.14),0 14px 34px rgba(0,0,0,.5)}
html.nv:not(.nv-off-ticker) .pr-ticker::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 0%,transparent 42%,rgba(255,246,214,.2) 50%,transparent 58%,transparent 100%) 100% 0/300% 100% no-repeat;animation:nvFoil 6s ease-in-out infinite}
html.nv:not(.nv-off-ticker) .pr-ticker__item{font-size:14px;font-weight:700;letter-spacing:.2em;color:#FFF6E0;padding:0 24px;text-shadow:0 1px 2px rgba(0,0,0,.35)}
html.nv:not(.nv-off-ticker) .pr-ticker__item:nth-child(4n+1){color:#F6DA86}
html.nv:not(.nv-off-ticker) .pr-ticker__sep{width:17px;height:17px;opacity:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6DA86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M3.3 7l17.4 10M3.3 17 20.7 7'/%3E%3Cpath d='M9.6 4.2 12 6.6l2.4-2.4M9.6 19.8l2.4-2.4 2.4 2.4M3.6 10.2l3.3-.9-.9-3.3M20.4 13.8l-3.3.9.9 3.3M3.6 13.8l3.3.9-.9 3.3M20.4 10.2l-3.3-.9.9-3.3'/%3E%3C/svg%3E") center/contain no-repeat;animation:nvSpin 14s linear infinite}
@keyframes nvSpin{to{transform:rotate(360deg)}}
@media (max-width:560px){
  html.nv:not(.nv-off-ticker) .pr-ticker{padding:12px 0}
  html.nv:not(.nv-off-ticker) .pr-ticker__item{font-size:12px;letter-spacing:.16em;padding:0 16px}
  html.nv:not(.nv-off-ticker) .pr-ticker__sep{width:14px;height:14px}
}
@media (prefers-reduced-motion:reduce){
  html.nv:not(.nv-off-ticker) .pr-ticker::before,html.nv:not(.nv-off-ticker) .pr-ticker__sep{animation:none}
}

/* ---- destellos que siguen al cursor ---- */
.nv-spark{position:fixed;left:0;top:0;z-index:130;pointer-events:none;width:var(--s,9px);height:var(--s,9px);background:var(--c,#F6DA86);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:nvSpark .9s ease-out forwards}
@keyframes nvSpark{0%{opacity:1;transform:translate(var(--px),var(--py)) scale(1) rotate(0)}100%{opacity:0;transform:translate(var(--px),calc(var(--py) + 22px)) scale(.2) rotate(120deg)}}

@media (max-width:860px){
  .nv-bauble:nth-child(3n){display:none}
  .nv-bauble{--k:.7}
  .nv-bauble em{width:calc(var(--s)*.7);height:calc(var(--s)*.7)}
  .nv-bauble i{height:calc(var(--l)*.6)}
  .nv-bethlehem{width:104px;height:104px;right:6%;top:8%}
  .nv-ribbon{top:9px;right:-42px;height:16px}
}
@media (prefers-reduced-motion:reduce){
  .nv-bauble,.nv-bethlehem{animation:none!important}
  html.nv .hero__title .gold,html.nv h2 .gold,html.nv .about-edi__num{animation:none!important}
}

/* ---- móvil / tablet ---- */
@media (max-width:860px){
  .nv-lights{height:20px}
  .nv-bulb{width:6px;height:8px;margin-left:-3px}
  .nv-bulb:nth-child(even){display:none}
  .nv-flake:nth-child(n+13){display:none}
  .nv-hat{width:24px;height:19px;left:-7px;top:-8px}
  .footer .nv-hat{width:auto;height:auto}
  .nv-candle--l{left:calc(50% - 132px)}.nv-candle--r{right:calc(50% - 132px)}
  .nv-candle__flame::before{width:64px;height:64px}
}
@media (prefers-reduced-motion:reduce){
  .nv-bulb,.nv-hat,.nv-candle__flame,.nv-star{animation:none!important}
  .nv-snow{display:none}
}
