/* ───────────────────────────────────────────────────────────────────────────
   seasonal/xmas.css - Christmas reskin, v2 "clean winter + gift wrap"
   (canvas mockups: Website page, Homepage + Service page, 2026-12-02).

   VISUAL ONLY. Every rule is scoped under html.season-xmas, so this file does
   nothing until the inline SEASONAL script adds that class (in season, visitor
   not opted out). No copy, heading, link or schema changes. The only nodes
   added are decorative / promotional and come from seasonal.js (lights, snow,
   offers bar, service-page offers band, toggle), all removed with the class.

   Look: snow-white pages, deep pine nav/footer/bands, holly-red actions, gold
   accents. Offers sit on red gift-wrap with a gold ribbon and hang as tags.
   Rules kept from motion.css: LCP image never opacity-hidden, no layout shift
   from the nav, everything readable with JS off and with reduced motion.
─────────────────────────────────────────────────────────────────────────── */

html.season-xmas {
  --coral:    #C62828;   /* holly red - white text 5.6:1 */
  --coral-dk: #9E1B1B;
  --teal:     #E8B84A;   /* gold, used on dark grounds only */
  --teal-dk:  #C99A2E;
  --dark:     #13382A;   /* pine */
  --dark-2:   #1A4433;
  --cream:    #F3EFE6;
  --text:     #1E2B25;
  --muted:    #56635C;
  --xm-snow:  #FAF8F3;
  --xm-pine:  #13382A;
  --xm-pine-3:#0B2219;
  --xm-gold:  #E8B84A;
  --xm-gold-lt:#F7DC8A;
  --xm-wrap:  #B3121F;
  --xm-line:  #E4DED2;
}
html.season-xmas body { background: var(--xm-snow); }

/* ── Keyframes ───────────────────────────────────────────────────────────── */
@keyframes xm-twinkle { 0%,100% { opacity: 1; } 50% { opacity: .32; box-shadow: 0 2px 4px 0 var(--b); } }
@keyframes xm-swing   { 0%,100% { transform: rotate(var(--r0,-2deg)); } 50% { transform: rotate(var(--r1,2deg)); } }
@keyframes xm-shine   { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes xm-pop     { 0% { transform: translateX(-50%) scale(.3) rotate(-20deg); opacity: 0; } 70% { transform: translateX(-50%) scale(1.08) rotate(3deg); opacity: 1; } 100% { transform: translateX(-50%) scale(1); } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
html.season-xmas .btn-coral:hover { box-shadow: 0 6px 22px rgba(198,40,40,.35), 0 0 0 3px rgba(232,184,74,.35); }
html.season-xmas .hero .btn-ghost-white,
html.season-xmas .page-hero .btn-ghost-white { color: var(--xm-pine); border-color: var(--xm-pine); background: transparent; }
html.season-xmas .hero .btn-ghost-white:hover,
html.season-xmas .page-hero .btn-ghost-white:hover { background: var(--xm-pine); color: #fff; }

/* ── Offers bar (seasonal.js, above the nav) ─────────────────────────────── */
.xm-offerbar { display: none; }
html.season-xmas .xm-offerbar {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  background: #C62828; color: #fff; padding: 9px 16px 7px; text-align: center;
  font: 700 14px/1.3 'League Spartan', system-ui, sans-serif;
}
html.season-xmas .xm-offerbar-lead { display: inline-flex; align-items: center; gap: 8px; }
html.season-xmas .xm-offerbar-list { opacity: .88; }
html.season-xmas .xm-offerbar a { color: #fff; background: rgba(0,0,0,.2); border-radius: 100px; padding: 5px 12px 3px; font-weight: 800; text-decoration: none; white-space: nowrap; }
html.season-xmas .xm-offerbar a:hover { background: rgba(0,0,0,.35); }
@media (max-width: 760px) { html.season-xmas .xm-offerbar-list { display: none; } html.season-xmas .xm-offerbar { font-size: 13px; gap: 8px; } }

/* ── Nav + string lights ─────────────────────────────────────────────────── */
html.season-xmas .nav { background: var(--xm-pine); border-bottom-color: rgba(232,184,74,.2); }
html.season-xmas .msc-progress { background: linear-gradient(90deg, #C62828, #E8B84A, #2E7D4F); }
.xm-lights { display: none; }
html.season-xmas .xm-lights {
  display: flex; position: absolute; left: 0; right: 0; bottom: -18px; height: 24px;
  justify-content: space-around; pointer-events: none; z-index: 1; overflow: hidden;
  background: radial-gradient(ellipse 30px 8px at 50% 0, transparent 82%, rgba(0,0,0,.55) 86%, transparent 100%) 0 0 / 60px 10px repeat-x;
}
html.season-xmas .xm-bulb {
  position: relative; width: 8px; height: 13px; margin-top: 6px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--b); box-shadow: 0 2px 11px 3px var(--b);
  animation: xm-twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s);
}
html.season-xmas .xm-bulb::before { content: ''; position: absolute; left: 1px; top: -4px; width: 6px; height: 5px; border-radius: 1px; background: #1b1b1b; }
html.season-xmas .xm-bulb:nth-child(4n+1) { --b: #FF4D4D; }
html.season-xmas .xm-bulb:nth-child(4n+2) { --b: #FFD166; }
html.season-xmas .xm-bulb:nth-child(4n+3) { --b: #4ADE80; }
html.season-xmas .xm-bulb:nth-child(4n+4) { --b: #7CC4FF; }
html.season-xmas .nav-drop { border-color: rgba(232,184,74,.2); }

/* ── Holly in front of every eyebrow ─────────────────────────────────────── */
html.season-xmas .eyebrow::before,
html.season-xmas .hero-tag::before {
  content: ''; display: inline-block; flex: none; width: 18px; height: 13px; margin-right: 8px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Cpath d='M15 13C11 4 4 3 1 6c3 0 4 2 3 4 2-1 4 0 4 2 1-2 4-2 7 1z' fill='%232E7D4F'/%3E%3Cpath d='M17 13c4-9 11-10 14-7-3 0-4 2-3 4-2-1-4 0-4 2-1-2-4-2-7 1z' fill='%231F5E3A'/%3E%3Ccircle cx='13.5' cy='16.5' r='3.2' fill='%23C62828'/%3E%3Ccircle cx='19' cy='17.5' r='3.2' fill='%23B71C1C'/%3E%3Ccircle cx='16.3' cy='12.8' r='3' fill='%23E53935'/%3E%3C/svg%3E") center / contain no-repeat;
}
html.season-xmas .eyebrow { color: #B71C1C; }

/* ── Homepage hero: snow-white, photo in a framed card ───────────────────── */
html.season-xmas .hero { background: radial-gradient(ellipse 55% 70% at 85% 30%, #E8F0EA 0%, var(--xm-snow) 62%); }
html.season-xmas .hero::after { display: none; }
html.season-xmas .hero-bg::after { display: none; }
html.season-xmas .hero-bg-wrap {
  inset: auto; top: 56px; bottom: 56px; right: max(28px, calc((100vw - 1180px) / 2));
  width: min(420px, 30vw); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(19,56,42,.25), 0 0 0 3px rgba(232,184,74,.5);
}
html.season-xmas .hero-bg { opacity: 1; filter: none; object-position: 35% 30%; }
html.season-xmas .hero-tag { background: transparent; border: 0; padding: 0; color: #B71C1C; }
html.season-xmas .hero-tag svg { display: none; }
html.season-xmas .hero .hero-tagline,
html.season-xmas .hero h1,
html.season-xmas .hero h1.hero-kw { color: var(--xm-pine); }
html.season-xmas .hero .accent { color: #C62828; }
html.season-xmas .hero-sub { color: var(--muted); }
/* trust card becomes a white review badge on the photo */
html.season-xmas .hero .container { align-items: end; }
html.season-xmas .hero-trust-card {
  align-self: end; margin-bottom: 84px; background: #fff; border-color: var(--xm-line);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 20px 44px rgba(19,56,42,.22);
}
html.season-xmas .htc-google { border-bottom-color: var(--xm-line); }
html.season-xmas .htc-rating { color: var(--xm-pine); }
html.season-xmas .htc-count, html.season-xmas .htc-quote cite { color: var(--muted); }
html.season-xmas .htc-quote { color: var(--text); }
html.season-xmas .htc-badge { color: var(--text); }
html.season-xmas .htc-badge svg, html.season-xmas .htc-link { color: #2E7D4F; }
@media (max-width: 1150px) {
  html.season-xmas .hero { flex-direction: column; align-items: stretch; }
  html.season-xmas .hero-bg-wrap { position: relative; inset: auto; top: auto; bottom: auto; right: auto; width: auto; height: 300px; margin: 28px 20px 0; order: 2; }
  html.season-xmas .hero .container { order: 1; align-items: start; }
  html.season-xmas .hero-trust-card { margin-bottom: 0; }
  html.season-xmas .hero { padding-bottom: 40px; }
}

/* ── Inner-page hero: snow-white, pills, festive form card ───────────────── */
html.season-xmas .page-hero { background: radial-gradient(ellipse 50% 70% at 90% 20%, #E8F0EA 0%, var(--xm-snow) 60%); }
html.season-xmas .page-hero::before { display: none; }
html.season-xmas .page-hero h1 { color: var(--xm-pine); }
html.season-xmas .page-hero h1 .accent { color: #C62828; }
html.season-xmas .page-hero-sub { color: var(--muted); }
html.season-xmas .page-hero-meta { border-top-color: var(--xm-line); gap: 8px; }
html.season-xmas .page-hero-meta-item { background: #fff; border: 1px solid var(--xm-line); border-radius: 100px; padding: 8px 13px 6px; color: var(--text); }
html.season-xmas .page-hero-meta-item svg { color: #C62828; }
html.season-xmas .page-hero .hero-tag { color: #B71C1C; }
html.season-xmas .lead-form-wrap.in-hero { position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(19,56,42,.18); border-radius: 24px; }
html.season-xmas .lead-form-wrap.in-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, #fff 0 10px, #C62828 10px 20px); }
html.season-xmas .breadcrumb { background: #EFEBE2; border-bottom-color: var(--xm-line); padding-top: 22px; }
html.season-xmas .breadcrumb-inner, html.season-xmas .breadcrumb-inner a { color: var(--muted); }
html.season-xmas .breadcrumb-inner strong { color: var(--xm-pine); }
html.season-xmas .breadcrumb-inner span { color: #B5AE9F; }

/* snow canvases (seasonal.js); colour is read from `color` */
html.season-xmas .xm-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; color: #BCCFC3; }
html.season-xmas .cta-section .xm-snow,
html.season-xmas #specials .xm-snow,
html.season-xmas .xm-band .xm-snow { color: #FFFFFF; }
html.season-xmas .hero .container,
html.season-xmas .page-hero .container,
html.season-xmas .cta-section .container { position: relative; z-index: 2; }

/* ── Sections ────────────────────────────────────────────────────────────── */
html.season-xmas .section-cream { background: var(--cream); }
html.season-xmas .svc-card { border: 1px solid #ECE6DA; box-shadow: none; }
html.season-xmas .svc-card:hover { box-shadow: 0 16px 36px rgba(19,56,42,.12); }
html.season-xmas .strip { background: var(--xm-pine); }
html.season-xmas .strip-item { border-right-color: rgba(255,255,255,.14); }
html.season-xmas .strip-item:hover { background: #1F4A39; }
html.season-xmas .stats-bar { border-top: 8px solid transparent; border-image: repeating-linear-gradient(90deg, #C62828 0 18px, #fff 18px 36px) 8; }
html.season-xmas .stat-num { color: var(--xm-gold); }

/* ── Specials: red gift wrap, gold ribbon, hanging tags ─────────────────── */
html.season-xmas section#specials,
html.season-xmas div[data-promos-section] { position: relative; background-color: var(--xm-wrap); overflow: hidden;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px), repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 2px, transparent 2px 26px); }
html.season-xmas div[data-promos-section] { border-radius: 26px; padding: 34px 28px 44px; }
html.season-xmas #specials .eyebrow { color: var(--xm-gold-lt); }
html.season-xmas #specials .section-title { color: #fff; }
html.season-xmas #specials .section-body { color: rgba(255,255,255,.86); }
html.season-xmas #specials .container { position: relative; z-index: 2; }
html.season-xmas .promo-grid { position: relative; padding-top: 58px; margin-top: 36px; gap: 28px; }
html.season-xmas .promo-grid::before { /* ribbon */
  content: ''; position: absolute; left: -8px; right: -8px; top: 0; height: 24px; border-radius: 4px;
  background: linear-gradient(90deg, #C99A2E 0%, #E8B84A 20%, #F7DC8A 30%, #E8B84A 40%, #C99A2E 60%, #E8B84A 80%, #F7DC8A 90%, #C99A2E 100%);
  background-size: 200% 100%; animation: xm-shine 6s linear infinite; box-shadow: 0 6px 14px rgba(60,0,0,.3);
}
html.season-xmas .promo-grid::after { /* bow */
  content: ''; position: absolute; left: 50%; top: -48px; width: 140px; height: 98px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 140'%3E%3Cg stroke='%23B8892A' stroke-width='3'%3E%3Cpath d='M100 66C70 10 18 6 12 36s38 52 88 30z' fill='%23E8B84A'/%3E%3Cpath d='M100 66c30-56 82-60 88-30s-38 52-88 30z' fill='%23E8B84A'/%3E%3Cpath d='M92 72 66 134l18-6 12 12 10-64z' fill='%23D9A73E'/%3E%3Cpath d='M108 72l26 62-18-6-12 12-10-64z' fill='%23D9A73E'/%3E%3Cellipse cx='100' cy='66' rx='18' ry='16' fill='%23F7DC8A'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateX(-50%); filter: drop-shadow(0 8px 12px rgba(60,0,0,.4)); animation: xm-pop .9s cubic-bezier(.2,.8,.3,1.2) .3s both;
}
html.season-xmas .promo-card {
  overflow: visible; background: #FFFDF8; border: 0; border-radius: 22px; padding: 44px 26px 24px; text-align: center;
  box-shadow: 0 24px 50px rgba(60,0,0,.35); transform-origin: 50% -34px;
  animation: xm-swing 4.5s ease-in-out infinite;
}
html.season-xmas .promo-card:nth-child(2) { --r0: 2deg; --r1: -2.5deg; animation-delay: -1.3s; }
html.season-xmas .promo-card:nth-child(3) { animation-delay: -2.6s; }
html.season-xmas .promo-card::before { /* string up to the ribbon */
  content: ''; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; margin-left: -1px;
  background: linear-gradient(#F7DC8A, #C99A2E) !important;
}
html.season-xmas .promo-card::after { /* tag hole */
  content: ''; position: absolute; left: 50%; top: 16px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--xm-wrap); box-shadow: inset 0 0 0 4px var(--xm-gold);
}
html.season-xmas .promo-head { justify-content: center; flex-wrap: wrap; }
html.season-xmas .promo-eyebrow { color: #C62828; }
html.season-xmas .promo-save { background: var(--xm-pine) !important; color: #fff !important; }
html.season-xmas .promo-title { color: var(--xm-pine); }
html.season-xmas .promo-price { justify-content: center; }
html.season-xmas .promo-was { color: #8A928C; }
html.season-xmas .promo-now { color: #C62828; }
html.season-xmas .promo-pnote { color: var(--muted); }
html.season-xmas .promo-desc { color: var(--muted); }
html.season-xmas .promo-cd { justify-content: center; border-top: 1.5px dashed #E0D8C8; padding-top: 14px; }
html.season-xmas .promo-cd-label { color: var(--xm-pine); }
html.season-xmas .promo-cd-unit { background: #F3EFE6; border-color: var(--xm-line); }
html.season-xmas .promo-cd-unit b { color: var(--xm-pine); }
html.season-xmas .promo-cd-unit i { color: var(--muted); }
html.season-xmas .promo-note { color: var(--muted); }
html.season-xmas .promo-note a { color: #C62828; }
@media (max-width: 760px) { html.season-xmas .promo-grid { gap: 46px; } }

/* static coupons on /coupon-special/ */
html.season-xmas [style*="border:2px dashed var(--coral)"] { background: #FFFDF8 !important; border-color: #C62828 !important; box-shadow: 0 10px 26px rgba(19,56,42,.08); }

/* ── Service-page offers band (seasonal.js, after .page-hero) ───────────── */
.xm-band { display: none; }
html.season-xmas .xm-band {
  display: block; position: relative; overflow: hidden; padding: 34px 0 40px; background-color: var(--xm-wrap);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px);
  font-family: 'League Spartan', system-ui, sans-serif;
}
html.season-xmas .xm-band .container { position: relative; z-index: 2; }
html.season-xmas .xm-band-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
html.season-xmas .xm-band-head .eyebrow { color: var(--xm-gold-lt); margin: 0; }
html.season-xmas .xm-band-head a { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
html.season-xmas .xm-band-ribbon { height: 14px; border-radius: 3px; margin-top: 12px;
  background: linear-gradient(90deg, #C99A2E 0%, #E8B84A 20%, #F7DC8A 30%, #E8B84A 40%, #C99A2E 60%, #E8B84A 80%, #F7DC8A 90%, #C99A2E 100%);
  background-size: 200% 100%; animation: xm-shine 6s linear infinite; }
html.season-xmas .xm-band-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0 6px; }
html.season-xmas .xm-mtag { display: flex; flex-direction: column; align-items: center; }
html.season-xmas .xm-mtag::before { content: ''; width: 2px; height: 28px; background: linear-gradient(#F7DC8A, #C99A2E); }
html.season-xmas .xm-mtag a {
  width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 14px; background: #FFFDF8; color: var(--xm-pine);
  text-decoration: none; border-radius: 16px; padding: 16px 20px; box-shadow: 0 14px 30px rgba(60,0,0,.3);
  transform-origin: 50% -28px; animation: xm-swing 4.5s ease-in-out infinite;
}
html.season-xmas .xm-mtag:nth-child(2) a { --r0: 2deg; --r1: -2deg; animation-delay: -1.2s; }
html.season-xmas .xm-mtag:nth-child(3) a { animation-delay: -2.4s; }
html.season-xmas .xm-mtag b { font-size: 42px; font-weight: 900; letter-spacing: -.04em; line-height: .9; padding-top: 4px; }
html.season-xmas .xm-mtag span { display: flex; flex-direction: column; gap: 2px; }
html.season-xmas .xm-mtag em { font-style: normal; font-size: 13px; font-weight: 900; color: #C62828; }
html.season-xmas .xm-mtag strong { font-size: 15px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
@media (max-width: 760px) { html.season-xmas .xm-band-tags { grid-template-columns: 1fr; gap: 0; } }

/* ── Final CTA: pine, candy-cane top, snow ───────────────────────────────── */
html.season-xmas .cta-section { background: var(--xm-pine); }
html.season-xmas .cta-section::before {
  background-image: repeating-linear-gradient(-45deg, #fff 0 12px, #C62828 12px 24px);
  background-size: 100% 12px; background-repeat: no-repeat; background-position: top;
}
html.season-xmas .cta-section p { color: rgba(255,255,255,.8); }

/* ── Footer: deep pine with a wavy top ───────────────────────────────────── */
html.season-xmas .footer { background: var(--xm-pine-3); position: relative; }
html.season-xmas .footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 20px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22V12c40-8 70-10 100-6s45-8 80-7 60 10 100 7 70-9 110-7 55 9 95 7 60-8 100-7 50 9 90 7 70-10 110-6 60 8 95 5 50-8 90-7 60 9 90 6 40-6 70-5 55 6 80 5 40-6 70-4v14z' fill='%230B2219'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
html.season-xmas .footer-social-btn:hover { color: #2a1a00; }

/* sitewide injected bars with hardcoded coral */
html.season-xmas .msc-callbar { background: #C62828 !important; }
html.season-xmas .msc-urgency { background: #C62828 !important; }

/* ── Theme toggle (seasonal.js) ──────────────────────────────────────────── */
.xm-toggle {
  position: fixed; left: 16px; bottom: 16px; z-index: 950;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 8px 14px 8px 10px; border-radius: 100px; cursor: pointer;
  font: 700 12.5px/1 'League Spartan', system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .04em;
  background: #1A1A1A; color: #fff; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 26px rgba(0,0,0,.28); transition: transform .18s ease;
}
.xm-toggle:hover { transform: translateY(-2px); }
.xm-toggle:focus-visible { outline: 3px solid #E8B84A; outline-offset: 2px; }
html.season-xmas .xm-toggle { background: #13382A; border-color: rgba(232,184,74,.55); }
.xm-toggle svg { width: 18px; height: 18px; flex: none; }
.xm-toggle-track { position: relative; width: 34px; height: 20px; border-radius: 20px; background: rgba(255,255,255,.22); transition: background .18s; flex: none; }
.xm-toggle-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.xm-toggle[aria-pressed="true"] .xm-toggle-track { background: #C62828; }
.xm-toggle[aria-pressed="true"] .xm-toggle-track::after { transform: translateX(14px); }
@media (max-width: 768px) { .xm-toggle { bottom: calc(70px + env(safe-area-inset-bottom)); left: 12px; padding: 7px 12px 7px 9px; font-size: 12px; } }

/* ── Motion safety ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html.season-xmas .xm-bulb, html.season-xmas .promo-card, html.season-xmas .xm-mtag a,
  html.season-xmas .promo-grid::before, html.season-xmas .promo-grid::after, html.season-xmas .xm-band-ribbon { animation: none; }
  html.season-xmas .promo-grid::after { transform: translateX(-50%); }
  html.season-xmas .xm-snow { display: none; }
  .xm-toggle, .xm-toggle-track, .xm-toggle-track::after { transition: none; }
}
@media print {
  html.season-xmas .xm-lights, html.season-xmas .xm-snow, html.season-xmas .xm-offerbar, html.season-xmas .xm-band, .xm-toggle { display: none !important; }
}
