/* Winter theme (salt season). Remove this file and winter.js in spring.
   Applies only to elements with the .winter class. */
:root {
  --ice: #bfe3ff;
  --ice-2: #e6f4ff;
  --ice-muted: #c3d3e6;
  --ice-line: rgba(191, 227, 255, 0.22);
  --ice-line-strong: rgba(191, 227, 255, 0.45);
}

.winter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #081429 0%, #0e2748 45%, #1c4673 80%, #2c6293 100%);
}
.winter.page-hero { background: linear-gradient(180deg, #060f22 0%, #0c2141 60%, #163d66 100%); }
.winter .lights { display: none; }

/* Snow canvas: behind the content, never catches clicks */
.snow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.winter > :not(.snow-canvas):not(.santa) { position: relative; z-index: 1; }

/* Text */
.winter .label { color: var(--ice); }
.winter .label::before { background: var(--ice); }
.winter .section-heading em {
  background: linear-gradient(180deg, #ffffff 0%, var(--ice) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.winter .section-subtext,
.winter .svc-intro,
.winter .svc-lead,
.winter.svc-section p:not(.label):not(.card-includes):not(.card-save):not(.card-tier),
.winter .winter-note { color: var(--ice-muted); }
.winter .svc-list li, .winter .svc-list li strong { color: var(--ice-2); }
.winter a:not(.btn):not(.svc-related-card):not(.winter-card-link) { color: #ffffff; }
.winter .breadcrumbs a, .winter .breadcrumbs span { color: var(--ice-muted); }
.winter .breadcrumbs [aria-current] { color: #ffffff; }

/* Cards */
.winter .pricing-card {
  background: rgba(6, 18, 38, 0.62);
  border-color: var(--ice-line);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.winter .pricing-card:hover { border-color: var(--ice-line-strong); }
.winter .pricing-card.featured {
  border-color: var(--ice);
  background: linear-gradient(180deg, rgba(20, 52, 92, 0.85) 0%, rgba(6, 18, 38, 0.7) 70%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.winter .card-pricing { border-color: var(--ice-line); background: rgba(255, 255, 255, 0.03); }
.winter .price-row { border-color: var(--ice-line); }
.winter .card-features li::before { background: var(--ice); }
.winter .badge-popular { background: var(--ice); color: #0b1d36; }
.winter .svc-section .pricing-card p.card-save,
.winter .pricing-card p.card-save { color: var(--ice); border-color: var(--ice-line); }
.winter-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
  align-items: start;
}
.winter-cards .pricing-card { height: 100%; display: flex; flex-direction: column; }
.winter-cards .pricing-card .card-cta { margin-top: auto; }
.card-sub { margin-top: 0.35rem; font-size: 0.78rem; color: var(--ice-muted); }
.winter-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2.25rem; }
.winter-note { margin-top: 1.25rem; font-size: 0.85rem; text-align: center; }
.winter-free {
  display: inline-block; margin-top: 0.9rem; padding: 0.3rem 0.7rem; border-radius: 999px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #0b1d36; background: var(--ice);
}
.winter .svc-cta-box { background: rgba(6, 18, 38, 0.62); border-color: var(--ice-line); }
.winter .svc-related-card { background: rgba(6, 18, 38, 0.62); border-color: var(--ice-line); }
.winter .faq-item { border-color: var(--ice-line); }
.winter .faq-answer p { color: var(--ice-muted); }
.winter .price-strip a { background: rgba(6, 18, 38, 0.55); border-color: var(--ice-line); }
.winter .price-strip span { color: var(--ice-muted); }
.winter .plan-rules { margin-top: 1.5rem; }

/* Santa fly-by (built by winter.js inside [data-santa] sections) */
.santa {
  position: absolute;
  top: var(--santa-top, 90px);
  left: 0;
  width: 330px;
  z-index: 0;
  pointer-events: none;
  transform: translateX(-360px);
  animation: santa-fly 24s linear 2s infinite;
  filter: drop-shadow(0 0 4px rgba(230, 244, 255, 0.35));
}
.santa-bob { animation: santa-bob 2.4s ease-in-out infinite; }
.santa svg { display: block; width: 100%; height: auto; overflow: visible; }
/* Galloping legs: front and back pairs swing in opposite directions */
.santa .leg {
  fill: none;
  stroke: #5c3a1a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: gallop 0.42s ease-in-out infinite alternate;
}
.santa .leg.back { animation-direction: alternate-reverse; }
.santa .leg.f2, .santa .leg.b2 { animation-delay: -0.12s; stroke: #6e4521; }
/* Each reindeer bounces a little out of step with the others */
.santa .deer { transform-box: fill-box; animation: deer-bounce 0.42s ease-in-out infinite alternate; }
.santa g:nth-of-type(2) .deer { animation-delay: -0.1s; }
.santa g:nth-of-type(3) .deer { animation-delay: -0.2s; }
.santa g:nth-of-type(4) .deer { animation-delay: -0.3s; }
.santa.is-paused, .santa.is-paused * { animation-play-state: paused !important; }
/* Crosses in about 15 seconds, then waits off screen before the next pass */
@keyframes santa-fly {
  0%   { transform: translateX(-360px); }
  62%  { transform: translateX(calc(100vw + 40px)); }
  100% { transform: translateX(calc(100vw + 40px)); }
}
@keyframes santa-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}
@keyframes gallop {
  from { transform: rotate(-32deg); }
  to   { transform: rotate(32deg); }
}
@keyframes deer-bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-2.5px); }
}
@media (max-width: 640px) { .santa { width: 200px; --santa-top: 74px; } }
@media (prefers-reduced-motion: reduce) { .santa { display: none; } }

/* Winter promo banner at the top of /services/ */
.winter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--ice-line-strong);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.winter-banner-text { margin: 0; font-size: 0.98rem; color: var(--ice-2); }
.winter-banner-tag {
  display: inline-block; margin-right: 0.5rem; padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: #0b1d36; background: var(--ice);
}
/* Icy "winter skin" button */
.winter-btn {
  color: #0b1d36;
  background: linear-gradient(180deg, #ffffff 0%, var(--ice) 55%, #8fc6ef 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(191, 227, 255, 0.18), 0 8px 24px rgba(10, 40, 80, 0.5);
}
.winter-btn::before { content: '\2744\FE0E'; margin-right: 0.55rem; font-size: 0.95em; }
.winter-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
@media (max-width: 640px) {
  .winter-banner { padding: 1rem; }
  .winter-btn { width: 100%; justify-content: center; }
}
