﻿/* One seasonal layer, active exclusively through the principal index opt-in. */
.infa-navidad-band,.infa-navidad-band *,
.infa-navidad-snow,.infa-navidad-snow *,
.infa-navidad-sparkles,.infa-navidad-sparkles *,
.infa-navidad-footer-garland,.infa-navidad-footer-trim { pointer-events:none; user-select:none; }
.infa-navidad-active { --infa-navidad-current-height:var(--infa-navidad-band-height,85px); --infa-navidad-top-scale:var(--infa-navidad-desktop-scale,.544872); }
.infa-navidad-band { position:relative; width:100%; height:var(--infa-navidad-current-height,85px); overflow:hidden; background:radial-gradient(ellipse at 50% 0,#16566b,#073650 72%); contain:layout paint; }
.infa-navidad-band-decorated::before { content:''; position:absolute; inset:calc(-8px * var(--infa-navidad-top-scale)) 0 0; pointer-events:none; background:url('../img/navidad/guirnalda-infa.svg') repeat-x top center; background-size:calc(450px * var(--infa-navidad-top-scale)) auto; opacity:.76; }
.infa-navidad-offset-header:not(.stick) { top:var(--infa-navidad-current-height,85px); }
.infa-navidad-lights { position:absolute; inset:calc(16px * var(--infa-navidad-top-scale)) 0 auto; z-index:3; display:flex; justify-content:space-around; align-items:flex-start; height:calc(70px * var(--infa-navidad-top-scale)); border-top:2px solid #b4a16b; border-radius:0 0 45% 45%; }
.infa-navidad-bulb { position:relative; flex:0 0 auto; display:block; margin-top:12px; width:var(--infa-navidad-bulb-width,18px); height:var(--infa-navidad-bulb-height,30px); border:1px solid #fff9; border-radius:44% 44% 50% 50%; background:radial-gradient(ellipse at 35% 25%,#fff8 0 8%,transparent 25%),currentColor; color:#f9ce59; box-shadow:0 0 9px currentColor,0 0 var(--infa-navidad-light-glow,24px) currentColor; animation:infa-navidad-lights var(--infa-navidad-light-cycle,5.6s) ease-in-out infinite; animation-delay:var(--infa-navidad-delay); }
.infa-navidad-bulb::before { content:''; position:absolute; left:18%; top:-11px; width:64%; height:11px; border-radius:2px; background:repeating-linear-gradient(#aa9d71 0 2px,#594f38 2px 3px); }
.infa-navidad-bulb:nth-child(5n+1) { color:#ff4855; }
.infa-navidad-bulb:nth-child(5n+2) { color:#45de83; margin-top:19px; }
.infa-navidad-bulb:nth-child(5n+3) { color:#ffd064; margin-top:24px; }
.infa-navidad-bulb:nth-child(5n+4) { color:#65bfff; margin-top:19px; }
.infa-navidad-bulb:nth-child(5n) { color:#fff0bd; }
.infa-navidad-band .infa-navidad-bulb { margin-top:calc(12px * var(--infa-navidad-top-scale)); width:calc(var(--infa-navidad-bulb-width,18px) * var(--infa-navidad-top-scale)); height:calc(var(--infa-navidad-bulb-height,30px) * var(--infa-navidad-top-scale)); }
.infa-navidad-band .infa-navidad-bulb::before { top:calc(-11px * var(--infa-navidad-top-scale)); height:calc(11px * var(--infa-navidad-top-scale)); }
.infa-navidad-band .infa-navidad-bulb:nth-child(5n+2),.infa-navidad-band .infa-navidad-bulb:nth-child(5n+4) { margin-top:calc(19px * var(--infa-navidad-top-scale)); }
.infa-navidad-band .infa-navidad-bulb:nth-child(5n+3) { margin-top:calc(24px * var(--infa-navidad-top-scale)); }
.infa-navidad-corner { position:absolute; top:calc(-4px * var(--infa-navidad-top-scale)); width:calc(400px * var(--infa-navidad-top-scale)); max-width:46%; height:calc(160px * var(--infa-navidad-top-scale)); z-index:2; transform-origin:top left; animation:infa-navidad-sway 9s ease-in-out infinite; }
.infa-navidad-corner-left { left:0; }
.infa-navidad-corner-right { right:0; transform:scaleX(-1); animation-name:infa-navidad-sway-right; }
.infa-navidad-garland { display:block; width:100%; height:auto; filter:drop-shadow(0 4px 3px #0005); }
.infa-navidad-snow { position:fixed; inset:0; z-index:900; overflow:hidden; contain:strict; }
.infa-navidad-flake { position:absolute; left:var(--infa-navidad-x); top:-24px; width:var(--infa-navidad-size); height:var(--infa-navidad-size); border-radius:50%; background:#fff; opacity:var(--infa-navidad-opacity,.9); box-shadow:0 1px var(--infa-navidad-snow-shadow,3px) #0a365a99,0 0 1px #44718c; animation:infa-navidad-fall var(--infa-navidad-duration) linear infinite; animation-delay:var(--infa-navidad-delay); }
.infa-navidad-flake-shaped { background:transparent; border-radius:0; box-shadow:none; width:auto; height:auto; color:#fff; font:normal var(--infa-navidad-size)/1 Arial,sans-serif; text-shadow:0 1px 2px #003b65,0 0 var(--infa-navidad-snow-shadow,3px) #003b65; }
.infa-navidad-sparkles { position:fixed; inset:0; z-index:890; overflow:hidden; contain:strict; }
.infa-navidad-sparkle { position:absolute; top:var(--infa-navidad-y); left:var(--infa-navidad-x); color:#ffda70; font-size:var(--infa-navidad-size,28px); line-height:1; text-shadow:0 0 4px #9b6c1c,0 0 var(--infa-navidad-sparkle-glow,16px) #ffdc80; opacity:.35; animation:infa-navidad-twinkle var(--infa-navidad-sparkle-cycle,8s) ease-in-out infinite; animation-delay:var(--infa-navidad-delay); }
.infa-navidad-greeting { position:relative; box-sizing:border-box; padding:38px 24px 44px; margin:0; text-align:center; background:radial-gradient(ellipse at top,#145369,#073650 75%); color:#fff; border-top:3px solid #e7c772; overflow:hidden; font-family:'Open Sans',sans-serif; }
.infa-navidad-greeting-decorated { padding-top:154px; }
.infa-navidad-greeting-decorated::before { content:''; position:absolute; pointer-events:none; inset:-20px 0 auto; height:160px; background:url('../img/navidad/guirnalda-infa.svg') repeat-x top center/360px auto; opacity:.8; }
.infa-navidad-footer-garland { position:absolute; width:360px; max-width:43%; height:auto; top:-3px; z-index:1; }
.infa-navidad-footer-garland-left { left:0; }
.infa-navidad-footer-garland-right { right:0; transform:scaleX(-1); }
.infa-navidad-footer-trim { position:relative; z-index:2; display:block; color:#ffe196; font-size:30px; line-height:1; margin:0 0 14px; text-shadow:0 0 13px #ffc65c80; }
.infa-navidad-sparkles-enabled .infa-navidad-footer-trim { animation:infa-navidad-footer-glow 6s ease-in-out infinite; }
.infa-navidad-greeting .infa-navidad-title { position:relative; z-index:2; font-family:Raleway,sans-serif; text-transform:none; color:#ffe3a0; font-size:34px; font-weight:700; line-height:1.3; margin:0 0 16px; padding:0; }
.infa-navidad-greeting .infa-navidad-message { position:relative; z-index:2; max-width:790px; margin:0 auto; padding:0; font-size:17px; line-height:1.8; color:#fff; }
.infa-navidad-paused .infa-navidad-band *,.infa-navidad-paused .infa-navidad-snow *,
.infa-navidad-paused .infa-navidad-sparkles *,.infa-navidad-paused .infa-navidad-footer-trim { animation-play-state:paused!important; }
@keyframes infa-navidad-lights { 0%,100% { opacity:.45; } 45%,65% { opacity:1; } }
@keyframes infa-navidad-sway { 0%,100% { transform:rotate(-1deg); } 50% { transform:rotate(2deg); } }
@keyframes infa-navidad-sway-right { 0%,100% { transform:scaleX(-1) rotate(-1deg); } 50% { transform:scaleX(-1) rotate(2deg); } }
@keyframes infa-navidad-twinkle { 0%,100% { opacity:.22; transform:scale(.75) rotate(0); } 45%,60% { opacity:1; transform:scale(1.12) rotate(12deg); } }
@keyframes infa-navidad-footer-glow { 0%,100% { opacity:.6; } 50% { opacity:1; } }
@keyframes infa-navidad-fall { 0% { transform:translate3d(0,-24px,0) rotate(0); } 35% { transform:translate3d(var(--infa-navidad-wind,48px),36vh,0) rotate(70deg); } 70% { transform:translate3d(calc(var(--infa-navidad-wind,48px) * -.5),73vh,0) rotate(140deg); } 100% { transform:translate3d(10px,calc(100vh + 40px),0) rotate(190deg); } }
@media(min-width:768px) and (max-width:1024px) {
 .infa-navidad-active { --infa-navidad-current-height:var(--infa-navidad-tablet-band-height,65px); --infa-navidad-top-scale:var(--infa-navidad-tablet-scale,.416667); }
}
@media(max-width:767px) {
 .infa-navidad-active { --infa-navidad-current-height:var(--infa-navidad-mobile-band-height,50px); --infa-navidad-top-scale:var(--infa-navidad-mobile-scale,.320513); }
 .infa-navidad-mobile-hidden { display:none!important; }
 .infa-navidad-greeting { padding:32px 20px; }
 .infa-navidad-greeting-decorated { padding-top:125px; }
 .infa-navidad-greeting-decorated::before { background-size:280px auto; }
 .infa-navidad-footer-garland { max-width:53%; }
 .infa-navidad-greeting .infa-navidad-title { font-size:29px; }
}
@media(prefers-reduced-motion:reduce) { .infa-navidad-band *,.infa-navidad-snow *,.infa-navidad-sparkles *,.infa-navidad-footer-trim { animation:none!important; } .infa-navidad-snow,.infa-navidad-sparkles { display:none; } }
