/* Mountain CTA band and site footer, shared by every public page. */
@font-face { font-family: 'Webscepts Handwriting'; font-style: normal; font-weight: 600; font-display: swap; src: url('/public/fonts/caveat.ttf') format('truetype'); }

.wsSiteFooter {
  --wsf-max: 1240px;
  --wsf-gutter: clamp(20px, 4vw, 40px);
  --wsf-bg: #06172c;
  --wsf-bg-2: #0a2444;
  --wsf-line: rgba(255, 255, 255, 0.08);
  --wsf-text: #a3b6cb;
  --wsf-muted: #7890aa;
  --wsf-blue: #0066ff;
  --wsf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- CTA band: copy + button on the left, photo on the right ---------- */
.wsSiteFooter .wsCtaBanner { position: relative; width: 100%; margin: 0; padding: clamp(48px, 5.5vw, 80px) 0; overflow: hidden; background: #0a3469; isolation: isolate; }
.wsSiteFooter .wsCtaBg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.wsSiteFooter .wsCtaImg { position: absolute; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; object-position: 30% 45%; transform-origin: 70% 50%; animation: wsfKenBurns 24s ease-in-out infinite alternate; }
.wsSiteFooter .wsCtaOverlay { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 300px at 12% 20%, rgba(0, 102, 255, 0.35), transparent 70%),
  linear-gradient(90deg, #0a3469 0%, #0b3a72 38%, rgba(11, 58, 114, 0.7) 60%, rgba(11, 58, 114, 0.1) 100%); }
.wsSiteFooter .wsCtaContainer { position: relative; max-width: var(--wsf-max); margin: 0 auto; padding: 0 var(--wsf-gutter); display: grid; grid-template-columns: minmax(0, 640px) 1fr; grid-template-areas: "copy script" "action script"; align-items: center; column-gap: 40px; row-gap: 28px; }
.wsSiteFooter .wsCtaCopy { grid-area: copy; }
.wsSiteFooter .wsCtaActionWrap { grid-area: action; display: flex; flex-wrap: wrap; gap: 14px; }
.wsSiteFooter .wsCtaScript { grid-area: script; justify-self: end; align-self: center; }
.wsSiteFooter .wsCtaTitle { color: #fff; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 14px; text-wrap: balance; }
.wsSiteFooter .wsCtaText { color: #c9dcf2; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; margin: 0; max-width: 540px; }
.wsSiteFooter .wsCtaButtonWhite { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--wsf-blue); border-radius: 999px; padding: 16px 30px; font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 32px rgba(3, 20, 45, 0.35); transition: transform 0.35s var(--wsf-ease), box-shadow 0.35s var(--wsf-ease); }
.wsSiteFooter .wsCtaButtonWhite::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(0, 102, 255, 0.18), transparent); transform: skewX(-20deg); transition: left 0.6s var(--wsf-ease); }
.wsSiteFooter .wsCtaButtonWhite:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(3, 20, 45, 0.45); }
.wsSiteFooter .wsCtaButtonWhite:hover::after { left: 120%; }
.wsSiteFooter .wsCtaButtonWhite .fa-arrow-right { transition: transform 0.35s var(--wsf-ease); }
.wsSiteFooter .wsCtaButtonWhite:hover .fa-arrow-right { transform: translateX(4px); }
.wsSiteFooter .wsCtaScript { display: flex; flex-direction: column; font-family: 'Webscepts Handwriting', cursive; font-size: clamp(28px, 2.6vw, 40px); line-height: 0.85; color: #eef6ff; transform: rotate(-8deg); text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); animation: wsfFloat 6s ease-in-out infinite; }

/* ---------- Footer ---------- */
.wsSiteFooter .wsFooter { position: relative; margin: 0; padding: 0; background: linear-gradient(180deg, var(--wsf-bg-2) 0%, var(--wsf-bg) 100%); color: var(--wsf-text); overflow: hidden; }
.wsSiteFooter .wsFooter::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(73, 161, 255, 0.55), transparent); }
.wsSiteFooter .wsFooterTop { padding: clamp(52px, 6vw, 76px) 0 clamp(44px, 5vw, 60px); }
.wsSiteFooter .wsFooterContainer { max-width: var(--wsf-max); margin: 0 auto; padding: 0 var(--wsf-gutter); border: 0; display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(0, 1fr)) minmax(280px, 1.8fr); gap: 40px 32px; }
.wsSiteFooter .wsFooterContainer > * { min-width: 0; }

.wsSiteFooter .wsFooterLogo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.wsSiteFooter .wsFooterLogo img { width: 40px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); transition: transform 0.4s var(--wsf-ease); }
.wsSiteFooter .wsFooterLogo:hover img { transform: rotate(-6deg) scale(1.06); }
.wsSiteFooter .wsFooterLogoText strong { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -0.01em; }
.wsSiteFooter .wsFooterLogoText span { display: block; font-size: 10px; line-height: 1.4; margin-top: 4px; letter-spacing: 2px; color: var(--wsf-muted); }
.wsSiteFooter .wsFooterAbout { font-size: 14px; line-height: 1.7; margin: 0 0 22px; color: var(--wsf-text); max-width: 300px; }

.wsSiteFooter .wsFooterSocialLinks { display: flex; flex-wrap: wrap; gap: 8px; }
.wsSiteFooter .wsFooterSocialLinks a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--wsf-line); color: #d9e6f6; font-size: 15px; transition: background 0.3s, color 0.3s, transform 0.35s var(--wsf-ease), border-color 0.3s, box-shadow 0.3s; }
.wsSiteFooter .wsFooterSocialLinks a:hover { background: var(--wsf-blue); border-color: var(--wsf-blue); color: #fff; transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0, 102, 255, 0.35); }

.wsSiteFooter .wsFooterHeading { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; margin: 6px 0 20px; }
.wsSiteFooter .wsFooterLinks { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.wsSiteFooter .wsFooterLinks li { margin: 0; font-size: 14px; line-height: 1.4; }
.wsSiteFooter .wsFooterLinks a { position: relative; color: var(--wsf-text); font-size: 14px; line-height: 1.4; transition: color 0.25s; }
.wsSiteFooter .wsFooterLinks a::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--wsf-ease); }
.wsSiteFooter .wsFooterLinks a:hover { color: #fff; }
.wsSiteFooter .wsFooterLinks a:hover::after { transform: scaleX(1); }

.wsSiteFooter .wsFooterNewsletterCol { padding: 26px; margin-top: -6px; border-radius: 18px; background: linear-gradient(160deg, rgba(0, 102, 255, 0.14), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(73, 161, 255, 0.2); align-self: start; }
.wsSiteFooter .wsFooterNewsletterCol .wsFooterHeading { margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 17px; }
.wsSiteFooter .wsNewsletterDesc { color: var(--wsf-text); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.wsSiteFooter .wsNewsletterForm { margin: 0; }
.wsSiteFooter .wsNewsletterInputWrap { display: flex; align-items: center; gap: 6px; background: rgba(4, 16, 32, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 5px 5px 5px 18px; height: 52px; transition: border-color 0.25s, box-shadow 0.25s; }
.wsSiteFooter .wsNewsletterInputWrap:focus-within { border-color: var(--wsf-blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.22); }
.wsSiteFooter .wsNewsletterInput { flex: 1; min-width: 0; width: 100%; min-height: 0; height: 100%; padding: 0; border-radius: 0; box-shadow: none; color: #fff; background: transparent; border: 0; outline: none; font-size: 14px; }
.wsSiteFooter .wsNewsletterInput::placeholder { color: var(--wsf-muted); }
.wsSiteFooter .wsNewsletterBtn { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--wsf-blue); color: #fff; font-size: 15px; cursor: pointer; transition: background 0.25s, transform 0.35s var(--wsf-ease), box-shadow 0.25s; }
.wsSiteFooter .wsNewsletterBtn:hover { background: #0052cc; transform: scale(1.08); box-shadow: 0 6px 18px rgba(0, 102, 255, 0.45); }
.wsSiteFooter .wsNewsletterBtn:hover .fa-arrow-right { animation: wsfNudge 0.6s var(--wsf-ease); }

/* ---------- Bottom bar ---------- */
.wsSiteFooter .wsFooterBottom { display: block; width: 100%; max-width: none; margin: 0; padding: 22px 0; background: rgba(2, 10, 22, 0.45); border-top: 1px solid var(--wsf-line); }
.wsSiteFooter .wsFooterBottomContainer { max-width: var(--wsf-max); margin: 0 auto; padding: 0 var(--wsf-gutter); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; font-size: 13px; line-height: 1.5; }
.wsSiteFooter .wsFooterCopyText { color: var(--wsf-muted); }
.wsSiteFooter .wsFooterLegalLinks { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--wsf-muted); }
.wsSiteFooter .wsFooterLegalLinks a { color: var(--wsf-text); transition: color 0.2s; }
.wsSiteFooter .wsFooterLegalLinks a:hover { color: #fff; }
.wsSiteFooter .wsDivider { color: rgba(255, 255, 255, 0.18); }

.wsSiteFooter .wsPaymentBadges { display: flex; align-items: center; gap: 8px; }
.wsSiteFooter .wsPayBadge { display: inline-flex; align-items: center; justify-content: center; background: #fff; height: 26px; min-width: 44px; font-size: 11px; font-weight: 900; line-height: 1; padding: 4px 8px; border-radius: 5px; transition: transform 0.3s var(--wsf-ease); }
.wsSiteFooter .wsPayBadge:hover { transform: translateY(-2px); }
.wsSiteFooter .wsPayBadge.isVisa { color: #14309a; font-style: italic; }
.wsSiteFooter .wsPayBadge.isAmex { color: #fff; background: #1384ce; font-size: 9px; }
.wsSiteFooter .wsPayBadge.isPaypal { color: #063678; font-style: italic; }
.wsSiteFooter .wsMastercardCircles { position: relative; width: 28px; height: 17px; }
.wsSiteFooter .wsMastercardCircles::before, .wsSiteFooter .wsMastercardCircles::after { content: ''; position: absolute; width: 17px; height: 17px; border-radius: 50%; top: 0; }
.wsSiteFooter .wsMastercardCircles::before { left: 0; background: #eb252d; }
.wsSiteFooter .wsMastercardCircles::after { right: 0; background: #ffaf16; opacity: 0.92; }

.wsSiteFooter .wsFooterScriptTag { flex-shrink: 0; font-family: 'Webscepts Handwriting', cursive; font-size: 22px; line-height: 1; color: #d5eaff; transform: rotate(-6deg); }
.wsSiteFooter .wsFooter :is(a, button, input):focus-visible { outline: 3px solid #49a1ff; outline-offset: 3px; }

/* ---------- Animations ---------- */
@keyframes wsfKenBurns { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }
@keyframes wsfFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes wsfNudge { 0% { transform: translateX(0); } 50% { transform: translateX(4px); } 100% { transform: translateX(0); } }
@keyframes wsfRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Scroll-triggered reveal (CSS only). Browsers without view timelines just show content. */
@supports (animation-timeline: view()) {
  .wsSiteFooter :is(.wsCtaCopy, .wsCtaActionWrap, .wsFooterContainer > *, .wsFooterBottomContainer > *) {
    animation: wsfRise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .wsSiteFooter .wsFooterContainer { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wsSiteFooter .wsFooterBrandCol { grid-column: span 2; order: -2; }
  .wsSiteFooter .wsFooterNewsletterCol { grid-column: span 2; order: -1; margin-top: 0; }
}
@media (max-width: 900px) {
  .wsSiteFooter .wsCtaContainer { grid-template-columns: 1fr; grid-template-areas: "copy" "action"; }
  .wsSiteFooter .wsCtaScript { display: none; }
  .wsSiteFooter .wsCtaImg { width: 100%; opacity: 0.35; }
  .wsSiteFooter .wsCtaOverlay { background: linear-gradient(180deg, rgba(10, 52, 105, 0.92), rgba(10, 52, 105, 0.78)); }
  .wsSiteFooter .wsFooterBottomContainer { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .wsSiteFooter .wsCtaBanner { text-align: center; }
  .wsSiteFooter .wsCtaText { margin: 0 auto; }
  .wsSiteFooter .wsCtaActionWrap { justify-content: center; }
  .wsSiteFooter .wsCtaButtonWhite { justify-content: center; width: 100%; max-width: 360px; }
  .wsSiteFooter .wsFooterContainer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .wsSiteFooter .wsFooterBrandCol, .wsSiteFooter .wsFooterNewsletterCol { grid-column: 1 / -1; }
  .wsSiteFooter .wsFooterNewsletterCol { padding: 22px; }
  .wsSiteFooter .wsFooterBottomContainer { flex-direction: column; gap: 14px; }
  .wsSiteFooter .wsFooterLegalLinks { justify-content: center; gap: 8px 18px; }
  .wsSiteFooter .wsDivider { display: none; }
  .wsSiteFooter .wsPaymentBadges { flex-wrap: wrap; justify-content: center; }
  .wsSiteFooter .wsFooterScriptTag { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wsSiteFooter *, .wsSiteFooter *::before, .wsSiteFooter *::after { animation: none !important; transition: none !important; }
}

/* Home page: match its centred content column so edges line up. */
.wsSiteFooter.wsReferenceHome { --wsf-max: none; --wsf-gutter: clamp(58px, 4.2vw, 80px); }
@media (max-width: 1150px) { .wsSiteFooter.wsReferenceHome { --wsf-gutter: 28px; } }
@media (max-width: 540px) { .wsSiteFooter.wsReferenceHome { --wsf-gutter: 20px; } }
