/* ==========================================================================
   PalC Theme – Main CSS 
   Design tokens, layout, typography, components, navbar, footer.
   ========================================================================== */

/* ----- 1. Design tokens  ----- */
:root {
  /* Primary palette  */
  --palc-primary: #0041C2;
  --palc-primary-dark: #002B7B;
  --palc-primary-light: #4DBBFF;
  --palc-cyan: #00C2FF;
  --palc-navy: #001B47;
  --palc-green: #76e10c;
  --palc-elephant-black: #404142;

  /* Grays (Node gray scale) */
  --palc-gray-50: #F8FAFC;
  --palc-gray-100: #EEF2F6;
  --palc-gray-300: #CBD5E1;
  --palc-gray-600: #475569;
  --palc-gray-900: #0F172A;

  /* Semantic */
  --palc-background: #ffffff;
  --palc-foreground: #0F172A;
  --palc-muted: #64748b;
  --palc-border: #e2e8f0;
  --palc-input: #e2e8f0;
  --palc-ring: #0041C2;
  --palc-radius: 0.75rem;
  --palc-radius-md: calc(var(--palc-radius) - 2px);
  --palc-radius-sm: calc(var(--palc-radius) - 4px);

  /* Nav (dark header – Node style) */
  --palc-nav-bg: #0f172a;
  --palc-nav-text: #f8fafc;
  --palc-nav-text-muted: #94a3b8;

  /* Mega menu */
  --palc-primary-hover: #003399;
  --palc-mega-bg: #ffffff;
  --palc-mega-border: #f1f5f9;
  --palc-mega-title: #0f172a;
  --palc-mega-desc: #64748b;
  --palc-mega-card-border: #e2e8f0;
  --palc-mega-card-hover: rgba(0, 65, 194, 0.08);
  --palc-shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Shadows (Node) */
  --palc-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --palc-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* RAG widget & components (--color-* used by rag-widget.css, chatbot modal) */
  --color-primary: var(--palc-primary);
  --color-primary-dark: var(--palc-primary-dark);
  --color-secondary: var(--palc-cyan);
  --color-white: #ffffff;
  --color-gray-50: #F9FAFB;
  --color-gray-100: var(--palc-gray-100);
  --color-gray-200: #E5E7EB;
  --color-gray-300: var(--palc-gray-300);
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: var(--palc-gray-600);
  --color-gray-700: #374151;
  --color-gray-900: var(--palc-gray-900);
}

/* ----- 2. Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--palc-border);
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body.palc-body,
body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background: var(--palc-background);
  color: var(--palc-foreground);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- 3. Typography (Node heading-1..4, body-large/medium/small) ----- */
.heading-1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--palc-foreground);
}
@media (min-width: 768px) {
  .heading-1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .heading-1 { font-size: 3.75rem; }
}

.heading-2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--palc-foreground);
}
@media (min-width: 768px) {
  .heading-2 { font-size: 2.25rem; }
}

.heading-3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--palc-foreground);
}
@media (min-width: 768px) {
  .heading-3 { font-size: 1.875rem; }
}

.heading-4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--palc-foreground);
}
@media (min-width: 768px) {
  .heading-4 { font-size: 1.5rem; }
}

.body-large {
  font-size: 1.25rem;
  color: var(--palc-gray-600);
  line-height: 1.6;
}

.body-medium {
  font-size: 1.125rem;
  color: var(--palc-gray-600);
  line-height: 1.6;
}

.body-small {
  font-size: 1rem;
  color: var(--palc-gray-600);
  line-height: 1.6;
}

/* Text gradient (Node .text-gradient) */
.text-gradient {
  background: linear-gradient(135deg, #0041C2 0%, #00C2FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----- 4. Layout utilities (Node section-padding, container-custom) ----- */
.palc-layout.site,
#page.palc-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.site-main.flex-1,
#main.site-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.container-custom,
.container--custom {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container-custom,
  .container--custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-custom,
  .container--custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Legacy .container (navbar/footer) */
.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ----- 5. Gradient & pattern utilities (Node) ----- */
.bg-gradient-primary {
  background: linear-gradient(135deg, #0041C2 0%, #00C2FF 100%);
}

.bg-gradient-deep {
  background: linear-gradient(135deg, #002B7B 0%, #001B47 100%);
}

.bg-gradient-soft {
  background: linear-gradient(180deg, #E4F4FF 0%, #FFFFFF 100%);
}

.bg-gradient-brand {
  background: linear-gradient(135deg, #0041C2 0%, #00C2FF 50%, #4DBBFF 100%);
}

.bg-gradient-elegant {
  background: linear-gradient(180deg, #F8FAFC 0%, #E4F4FF 50%, #FFFFFF 100%);
}

.hero-pattern {
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 194, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 65, 194, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(77, 187, 255, 0.1) 0%, transparent 50%);
}

.grid-pattern,
.bg-grid-pattern {
  background-image:
    linear-gradient(to right, rgba(0, 65, 194, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 65, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.card-shadow {
  box-shadow: var(--palc-shadow-card);
}

.card-shadow-hover:hover {
  box-shadow: var(--palc-shadow-hover);
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ----- 6. Buttons & CTA design system (consistent across site) ----- */
/* CTA usage: primary = main action (Get Started, Talk to an Expert); outline = secondary on light bg; outline-light = secondary on dark/gradient bg */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border-radius: var(--palc-radius-md);
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--palc-background), 0 0 0 4px var(--palc-ring);
}

/* Primary CTA: gradient (Node-aligned) – use for Get Started, Talk to an Expert, Contact Support, hero/submit CTAs */
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  box-shadow: 0 4px 14px rgba(0, 194, 255, 0.25);
}

.btn--primary:hover {
  opacity: 0.95;
  box-shadow: 0 6px 20px rgba(0, 194, 255, 0.35);
}

.btn--secondary {
  color: var(--palc-foreground);
  background: var(--palc-gray-100);
  border: 1px solid var(--palc-border);
}

.btn--secondary:hover {
  background: var(--palc-gray-300);
  border-color: var(--palc-gray-300);
}

/* Outline: secondary CTA on light backgrounds */
.btn--outline {
  color: var(--palc-primary);
  background: transparent;
  border: 1px solid var(--palc-primary);
}

.btn--outline:hover {
  background: rgba(0, 65, 194, 0.08);
}

/* Outline light: secondary CTA on dark/gradient backgrounds (e.g. CTA section, footer) */
.btn--outline-light {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--palc-primary-dark);
  border-color: #fff;
}

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* ----- 7. Section component ----- */
.section {
  width: 100%;
}

.section--professional-services,
.section--default {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 1024px) {
  .section--professional-services,
  .section--default {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.section__header {
  margin-bottom: 2rem;
}

.section__header--center {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--palc-foreground);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .section__title { font-size: 2.25rem; }
}

.section__description {
  font-size: 1.125rem;
  color: var(--palc-gray-600);
  margin: 0;
  line-height: 1.6;
}

.section__cta {
  margin: 1.5rem 0 0 0;
  text-align: center;
}

.section__cta .btn {
  margin: 0;
}

/* ----- 8. Card component ----- */
.card {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--palc-border);
  border-radius: var(--palc-radius);
  box-shadow: var(--palc-shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--palc-shadow-hover);
  border-color: rgba(0, 65, 194, 0.15);
}

.card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--palc-foreground);
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--palc-gray-600);
  margin: 0;
  line-height: 1.5;
}

.card__metric {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--palc-primary);
}

.card--outcome {
  text-align: center;
}

/* ----- 9. Grid ----- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----- 10. Page hero (Node solution/service hero) ----- */
.page-hero {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.page-hero--dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 65, 194, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 65, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero__breadcrumbs {
  font-size: 0.875rem;
  color: var(--palc-nav-text-muted);
  margin-bottom: 1rem;
}

.page-hero__breadcrumbs a {
  color: var(--palc-cyan);
  text-decoration: none;
}

.page-hero__breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  color: inherit;
}
@media (min-width: 768px) {
  .page-hero__title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .page-hero__title { font-size: 3rem; }
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--palc-gray-300);
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.page-hero__actions {
  margin-top: 1rem;
}

/* ----- 11. Form input ----- */
.form-input {
  width: 100%;
  max-width: 100%;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--palc-foreground);
  background: #fff;
  border: 1px solid var(--palc-border);
  border-radius: var(--palc-radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: var(--palc-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--palc-primary);
  box-shadow: 0 0 0 3px rgba(0, 65, 194, 0.15);
}

/* ----- 11b. Modal & Lead capture form (two-panel design) ----- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.25s, opacity 0.25s;
  overflow: hidden;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 48, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--palc-muted);
  background: transparent;
  border: none;
  border-radius: var(--palc-radius-sm);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s, background 0.2s;
}
.modal__close:hover {
  color: var(--palc-foreground);
  background: var(--palc-gray-100);
}
.modal__close svg {
  width: 24px;
  height: 24px;
}

/* Lead modal: wrapper – no y overflow; scroll inside container */
.lead-modal__wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  min-height: 0;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
}

/* Overlay: Node uses bg-black/70 backdrop-blur-sm */
.modal.is-open .modal__overlay {
  background: rgba(0, 0, 0, 0.7);
}
@supports (backdrop-filter: blur(4px)) {
  .lead-modal.is-open .modal__overlay {
    backdrop-filter: blur(4px);
  }
}

/* Two-column container – constrained to viewport, no y overflow */
.lead-modal--two-col .lead-modal__container {
  position: relative;
  width: 100%;
  max-width: 56rem;
  min-height: 0;
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .lead-modal--two-col .lead-modal__container {
    flex-direction: row;
    min-height: 20rem;
  }
}

/* Left panel: branding (Node: hidden lg:flex lg:w-[45%] bg-gradient-to-br from-[#050B18] via-[#0A1734] to-[#050B18]) */
.lead-modal__branding {
  display: none;
  padding: 2rem;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-y: auto;
  min-height: 0;
  flex-shrink: 0;
  background: linear-gradient(to bottom right, #050B18 0%, #0A1734 50%, #050B18 100%);
}
@media (min-width: 1024px) {
  .lead-modal__branding {
    display: flex;
    width: 45%;
    flex-shrink: 0;
  }
}
.lead-modal__branding-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}
.lead-modal__branding-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(0, 65, 194, 0.4), transparent 50%);
}
.lead-modal__branding-pattern::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 80%, rgba(0, 194, 255, 0.3), transparent 50%);
}
.lead-modal__logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.lead-modal__logo img {
  height: 2.5rem;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}
.lead-modal__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.lead-modal__branding-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
}
.lead-modal__heading {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.lead-modal__heading-line {
  display: block;
  color: #fff;
}
.lead-modal__heading-accent {
  display: block;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #4DBBFF 0%, #00C2FF 50%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 1024px) {
  .lead-modal__heading {
    font-size: 1.5rem;
  }
  .lead-modal__heading-accent {
    font-size: 1.5rem;
  }
}
.lead-modal__branding-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 20rem;
}
.lead-modal__features {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
}
.lead-modal__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.lead-modal__feature-icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--palc-primary-light);
  flex-shrink: 0;
}
.lead-modal__branding-footer {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Right panel: form – single scroll area to avoid y overflow */
.lead-modal__form-panel {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}
@media (min-width: 1024px) {
  .lead-modal__form-panel {
    width: 55%;
  }
}

/* Mobile header (Node: lg:hidden bg-gradient) */
.lead-modal__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to right, #050B18, #0A1734);
}
@media (min-width: 1024px) {
  .lead-modal__mobile-header {
    display: none;
  }
}
.lead-modal__mobile-logo img {
  height: 2rem;
  width: auto;
  max-width: 120px;
}
.lead-modal__close--mobile {
  padding: 0.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}
.lead-modal__close--mobile:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Form header (Node: px-6 lg:px-8 pt-6 lg:pt-8 pb-4 border-b border-gray-100) */
.lead-modal__form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}
@media (min-width: 1024px) {
  .lead-modal__form-header {
    padding: 2rem 2rem 1rem;
  }
}
.lead-modal__form-header-text {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}
.lead-modal__form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.375rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
  .lead-modal__form-title {
    font-size: 1.5rem;
  }
}
.lead-modal__form-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}
.lead-modal__close--desktop {
  display: none;
  padding: 0.5rem;
  color: #9ca3af;
  background: transparent;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.lead-modal__close--desktop:hover {
  color: #374151;
  background: #f3f4f6;
}
@media (min-width: 1024px) {
  .lead-modal__close--desktop {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Form body – no inner scroll; form-panel scrolls as a whole */
.lead-modal__form-body {
  padding: 1.5rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}
@media (min-width: 1024px) {
  .lead-modal__form-body {
    padding: 1.5rem 2rem 1.5rem;
  }
}
.lead-modal__form-body.is-hidden {
  display: none;
}

/* Success state (Node: py-8 text-center) */
.lead-modal__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.lead-modal__success.is-visible {
  display: flex;
}
.lead-modal__success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.lead-modal__success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}
.lead-modal__success-message {
  font-size: 0.9375rem;
  color: #4b5563;
  margin: 0 0 1.5rem;
  max-width: 20rem;
  line-height: 1.5;
}
.lead-modal__success-close {
  padding: 0.5rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

/* Search modal (Node.js style: dark blurred overlay, input with icon, Popular Searches, responsive) */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1rem 2rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.2s, opacity 0.2s;
}
.search-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.search-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.search-modal__content {
  position: relative;
  width: 100%;
  max-width: 42rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.search-modal__close {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: #edf3ff;
  color: #6b7280;
  cursor: pointer;
  z-index: 2;
  border-radius: .5rem;
  transition: color 0.2s, background 0.2s;
}
.search-modal__close:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.search-modal__form-wrap {
  padding: 1.5rem 1.5rem 1rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-modal__input-wrap:focus-within {
  border-color: var(--palc-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-modal__input-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.search-modal__form {
  flex: 1;
  min-width: 0;
}
.search-modal__input {
  width: 100%;
  padding: 0.25rem 0;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: #0f172a;
}
.search-modal__input::placeholder {
  color: #94a3b8;
}
.search-modal__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--palc-background), 0 0 0 4px #ffffff !important; 
}
.search-modal__kbd {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #64748b;
}
.search-modal__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, background 0.2s, color 0.2s;
}
.search-modal__clear.is-visible {
  opacity: 1;
  visibility: visible;
}
.search-modal__clear:hover {
  background: #cbd5e1;
  color: #334155;
}
.search-modal__kbd {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #64748b;
}
.search-modal__kbd kbd {
  padding: 0.25rem 0.35rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  background: #f8fafc;
  font-size: 0.7rem;
}
.search-modal__body {
  max-height: 60vh;
  overflow-y: auto;
}
.search-modal__popular {
  padding: 0.75rem 1.25rem 1rem;
}
.search-modal__popular.is-hidden {
  display: none;
}
.search-modal__popular-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.search-modal__popular-icon {
  flex-shrink: 0;
  color: #94a3b8;
}
.search-modal__popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-modal__suggestion {
  margin: 0;
}
.search-modal__suggestion-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  margin: 0 -1rem;
  color: #334155;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s;
}
.search-modal__suggestion-link:hover {
  background: #f1f5f9;
}
.search-modal__suggestion-icon {
  flex-shrink: 0;
  color: #94a3b8;
}

/* Results wrap: filters + summary + list */
.search-modal__results-wrap {
  padding: 0 1.25rem 1rem;
}
.search-modal__results-wrap.is-hidden {
  display: none;
}
.search-modal__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}
.search-modal__filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}
.search-modal__filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.search-modal__filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.search-modal__filter-chip:hover {
  background: #e2e8f0;
  color: #334155;
}
.search-modal__filter-chip.is-active {
  background: var(--palc-primary, #2563eb);
  color: #fff;
  border-color: var(--palc-primary, #2563eb);
}
.search-modal__results-summary {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.search-modal__results {
  padding: 0.25rem 0 0;
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.search-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-modal__item {
  margin: 0;
  border-bottom: 1px solid #f1f5f9;
}
.search-modal__item:last-child {
  border-bottom: none;
}
.search-modal__link {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.15s;
  border-radius: 0.375rem;
}
.search-modal__link:hover {
  background: #f8fafc;
}
.search-modal__link--result.is-first {
  background: #eff6ff;
}
.search-modal__link--result.is-first:hover {
  background: #dbeafe;
}
.search-modal__icon-wrap {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-modal__icon-wrap--page,
.search-modal__icon-wrap--solution,
.search-modal__icon-wrap--service {
  background: #dbeafe;
  color: #2563eb;
}
.search-modal__icon-wrap--blog,
.search-modal__icon-wrap--case-study {
  background: #ffedd5;
  color: #ea580c;
}
.search-modal__icon-wrap--event {
  background: #e0e7ff;
  color: #4f46e5;
}
.search-modal__result-icon {
  width: 20px;
  height: 20px;
}
.search-modal__result-body {
  flex: 1;
  min-width: 0;
}
.search-modal__result-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.search-modal__link--result .search-modal__title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin: 0;
}
.search-modal__link--result .search-modal__title:hover {
  text-decoration: underline;
  color: var(--palc-primary, #2563eb);
}
.search-modal__type-tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}
.search-modal__link--result .search-modal__excerpt {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0 0 0.25rem;
  display: block;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-modal__path {
  display: block;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: #94a3b8;
}
.search-modal__result-content {
  flex: 1;
  min-width: 0;
}
.search-modal__type {
  display: block;
  font-size: 0.75rem;
  color: var(--palc-primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.search-modal__title {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}
.search-modal__excerpt {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.25rem;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-modal__loading,
.search-modal__empty,
.search-modal__error {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #64748b;
}
.search-modal__error {
  color: #b91c1c;
}

@media (max-width: 480px) {
  .search-modal {
    padding: 4vh 0.75rem 1rem;
    align-items: flex-start;
  }
  .search-modal__content {
    max-width: 100%;
    border-radius: 0.5rem;
  }
  .search-modal__form-wrap {
    padding: 0.75rem 1rem;
  }
  .search-modal__input-wrap {
    padding: 0.5rem 0.75rem;
  }
  .search-modal__popular,
  .search-modal__results-wrap {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .search-modal__results {
    max-height: 45vh;
  }
  .search-modal__suggestion-link {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .search-modal__filters {
    gap: 0.5rem;
  }
  .search-modal__filter-chip {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Search results page (?s=query) – theme-aligned hero + archive list (same flow as Blog/Resources) */
.search-results-page {
  min-height: 50vh;
}

/* Ensure search hero uses dark theme (fallback if resources.css loads late) */
.search-results-page .archive-hero--search {
  position: relative;
  background: #050b18;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  .search-results-page .archive-hero--search { padding-top: 5rem; padding-bottom: 6rem; }
}
.search-results-page .archive-hero--search .archive-hero__title { color: #fff; }
.search-results-page .archive-hero--search .archive-hero__subtitle { color: rgba(255,255,255,0.9); }
.search-results-page .archive-hero--search .archive-hero__crumb { color: rgba(255,255,255,0.8); }
.search-results-page .archive-hero--search .archive-hero__crumb--current { color: rgba(255,255,255,0.6); }
.search-results-page .archive-hero--search .archive-hero__sep { color: rgba(255,255,255,0.4); }

/* Hero search form (inline in dark hero) */
.archive-hero--search .archive-hero__search-form-wrap {
  margin-top: 1.5rem;
  max-width: 32rem;
}
.archive-hero__search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.archive-hero__search-form label { flex: 0 0 auto; }
.archive-hero__search-input {
  flex: 1 1 16rem;
  min-width: 12rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.archive-hero__search-input::placeholder {
  color: #64748b;
}
.archive-hero__search-input:focus {
  outline: none;
  border-color: var(--palc-primary, #0041C2);
  box-shadow: 0 0 0 3px rgba(0, 65, 194, 0.2);
}
.archive-hero__search-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}
.archive-hero__search-submit svg {
  flex-shrink: 0;
}

/* Results section: clear hierarchy and grid that works for 1–3+ results */
.search-results-page__section .archive-list-section__heading {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
.search-results-page__section .archive-list-section__sub {
  font-size: 0.9375rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}
.search-results-page__grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .search-results-page__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .search-results-page__grid { grid-template-columns: repeat(3, 1fr); }
}
/* Single result: allow full width of content area instead of one narrow column */
.search-results-page__grid .card-post,
.search-results-page__grid .card-case-study,
.search-results-page__grid .card-event,
.search-results-page__grid .card-whitepaper,
.search-results-page__grid .card-solution,
.search-results-page__grid .card-service {
  min-width: 0;
  height: 100%;
}

/* Empty state (no results) */
.search-results-page__empty-section {
  padding: 3rem 0 4rem;
}
.search-results-page__empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  max-width: 36rem;
  margin: 0 auto;
}
.search-results-page__empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}
.search-results-page__empty-text {
  color: #64748b;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.search-results-page__empty .search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 24rem;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.search-results-page__empty .search-form label { flex: 1 1 100%; }
.search-results-page__empty .search-form input[type="search"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 1rem;
}
.search-results-page__empty .search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--palc-primary, #0041C2);
}

/* Single-panel variant (optional) */
.lead-modal--single .lead-modal__container {
  position: relative;
  width: 100%;
  max-width: 42rem;
  max-height: calc(100vh - 3rem);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lead-modal__header {
  position: relative;
  padding: 1.25rem 1.5rem 1rem;
  padding-right: 3rem;
  border-bottom: 1px solid #f1f5f9;
}
@media (min-width: 768px) {
  .lead-modal__header {
    padding: 1.5rem 2rem 1.25rem;
    padding-right: 3.5rem;
  }
}
.lead-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.lead-modal__close:hover {
  color: #0f172a;
  background: #f8fafc;
  transform: scale(1.05);
}
.lead-modal__close svg {
  width: 20px;
  height: 20px;
}
.lead-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .lead-modal__title { font-size: 1.5rem; }
}
.lead-modal__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.lead-modal__body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}
@media (min-width: 768px) {
  .lead-modal__body {
    padding: 1.5rem 2rem 1.5rem;
  }
}
.lead-modal__accent {
  height: 4px;
  background: linear-gradient(to right, var(--palc-primary), #06b6d4);
  flex-shrink: 0;
}

/* Inline field errors: below input, left-aligned (lead modals) */
.lead-modal .form-group .form-error {
  display: block;
  font-size: 0.8125rem;
  color: #b91c1c;
  margin-top: 0.375rem;
  margin-bottom: 0;
  line-height: 1.4;
}
.lead-modal .form-input.is-invalid,
.lead-modal .form-field-with-icon:has(.form-input.is-invalid) {
  border-color: #f87171;
  box-shadow: 0 0 0 1px #fecaca;
}

/* Case Study PDF lead form: layout and message alignment */
#case-study-pdf-lead-form .form-group {
  margin-bottom: 1.25rem;
}
#case-study-pdf-lead-form-message {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}
#case-study-pdf-lead-form .lead-form__submit-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
#case-study-pdf-lead-form .lead-form__note {
  margin-top: 0;
  text-align: left;
}

/* Lead form – stacked fields (Node.js: space-y-4/5, h-12 inputs) */
.lead-form--modal .form-group {
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .lead-form--modal .form-group {
    margin-bottom: 1.25rem;
  }
}
.lead-form--modal .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}
.lead-form--modal .form-label-required {
  color: #ef4444;
}
.lead-modal--two-col .lead-form--modal .form-label-required {
  color: #ef4444;
}
.lead-form--modal .form-label-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
}
.form-field-with-icon {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field-with-icon:hover {
  border-color: #d1d5db;
}
.form-field-with-icon:focus-within {
  border-color: var(--palc-primary);
  box-shadow: 0 0 0 3px rgba(0, 65, 194, 0.12);
}
.lead-modal--two-col .form-field-with-icon .form-input {
  padding-left: 1rem;
  padding-right: 1rem;
  height: 2.75rem;
  font-size: 0.875rem;
}
.lead-modal--two-col .form-field-with-icon__icon {
  padding-left: 0.875rem;
  padding-right: 0;
  color: #9ca3af;
}
.form-field-with-icon__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: #475569;
  flex-shrink: 0;
}
.form-field-with-icon .form-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0 1rem 0 0;
  height: 3rem;
  background: transparent;
  box-shadow: none;
  background-color: transparent;
}
.form-field-with-icon .form-input::placeholder {
  color: #94a3b8;
}
.form-field-with-icon .form-input:focus {
  box-shadow: none;
}
.form-field-with-icon--textarea {
  align-items: flex-start;
}
.form-field-with-icon--textarea .form-textarea {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.75rem 1rem 0.75rem 0;
  min-height: 5.5rem;
  resize: vertical;
  background: transparent;
}
.lead-form--modal .form-field-with-icon--textarea .form-textarea {
  border: none;
  background: transparent;
  border-radius: 0;
}
.lead-modal--two-col .form-field-with-icon--textarea {
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  align-items: flex-start;
}
.lead-modal--two-col .form-field-with-icon--textarea:focus-within {
  border-color: var(--palc-primary);
  box-shadow: 0 0 0 3px rgba(0, 65, 194, 0.12);
}
.lead-modal--two-col .form-field-with-icon--textarea .form-textarea {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  min-height: 4.5rem;
  resize: none;
}
.lead-form--modal .form-textarea {
  width: 100%;
  border: 1px solid #D0D7DE;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background: #f1f5f9;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.lead-form--modal .form-textarea::placeholder {
  color: #94a3b8;
}
.lead-form--modal .form-textarea:focus {
  outline: none;
  border-color: var(--palc-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0);
}
.lead-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.lead-form__actions .lead-form__cancel {
  order: 2;
}
.lead-form__actions .lead-form__submit {
  order: 1;
}
@media (min-width: 640px) {
  .lead-form__actions .lead-form__cancel {
    order: 1;
  }
  .lead-form__actions .lead-form__submit {
    order: 2;
  }
}
/* Two-col form: Name+Email row grid (Node: grid grid-cols-1 sm:grid-cols-2 gap-4) */
.lead-modal--two-col .lead-form__row--name-email {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .lead-modal--two-col .lead-form__row--name-email {
    grid-template-columns: 1fr 1fr;
  }
}
.lead-modal--two-col .lead-form__row--name-email .form-group {
  margin-bottom: 0;
}
.lead-modal--two-col .lead-form__submit-wrap {
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}
.lead-modal--two-col .lead-form__submit {
  width: 100%;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to right, var(--palc-primary), var(--palc-primary-light));
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 65, 194, 0.25);
}
.lead-modal--two-col .lead-form__submit:hover {
  opacity: 0.95;
  box-shadow: 0 6px 20px rgba(0, 65, 194, 0.3);
}
.lead-modal--two-col .lead-form__note {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}
.lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  height: 2.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to right, var(--palc-primary), #06b6d4);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 65, 194, 0.25);
}
.lead-form__submit:hover {
  opacity: 0.95;
  box-shadow: 0 6px 20px rgba(0, 65, 194, 0.3);
}
.lead-form__submit-arrow {
  flex-shrink: 0;
}
.lead-form__cancel {
  padding: 0 1.5rem;
  height: 2.75rem;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lead-form__cancel:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.lead-form__note {
  font-size: 0.8125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.lead-form__note a {
  color: var(--palc-primary);
  text-decoration: underline;
}
.lead-form__note a:hover {
  color: var(--palc-primary-dark);
}
.lead-form--modal .form-message,
.lead-form__message {
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}
.lead-form__message:not(:empty) {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.lead-form__message .error,
.lead-form__message.form-message--error {
  color: #b91c1c;
}
.lead-form__message .success,
.lead-form__message.form-message--success {
  color: #15803d;
}
.lead-form__message.form-message--error,
.lead-form__message.form-message--error p {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin: 0;
}
.lead-modal--two-col .lead-form__message.form-message--error,
.lead-modal--two-col .lead-form__message.form-message--error p {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.lead-form__message.form-message--success,
.lead-form__message.form-message--success p {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  padding: 1rem;
  border-radius: 8px;
  margin: 0;
}
.lead-form__message.form-message--success .form-message__icon {
  display: inline-flex;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.lead-form__char-count {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.5rem 0 0;
  min-height: 1.25rem;
}
.lead-form__char-count--long {
  color: #d97706;
  font-weight: 500;
}
.form-field-with-icon__icon--textarea {
  align-self: flex-start;
  padding-top: 1rem;
}

/* Legacy single-panel modal (if used elsewhere) */
.modal__container {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--palc-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 0;
}
.modal__content {
  padding: 2rem 1.5rem 1.5rem;
}
@media (min-width: 640px) {
  .modal__content {
    padding: 2.5rem 2rem 2rem;
  }
}
.modal__header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}
.modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--palc-foreground);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.modal__description {
  font-size: 0.9375rem;
  color: var(--palc-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----- 12. Site header & navbar ----- */
.site-header {
  background: var(--palc-nav-bg);
  color: var(--palc-nav-text);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.2s, box-shadow 0.2s;
}

/* Transparent header over hero (Node.js: homepage) – becomes fixed with background on scroll */
.site-header--transparent {
  background: transparent;
  box-shadow: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
.site-header--transparent.is-scrolled {
  position: fixed;
  background: var(--palc-nav-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.site-header--transparent.is-scrolled .navbar__link,
.site-header--transparent.is-scrolled .navbar__action-btn,
.site-header--transparent.is-scrolled .navbar__logo {
  color: var(--palc-nav-text);
}
.site-header--transparent.is-scrolled .navbar__link:hover,
.site-header--transparent.is-scrolled .navbar__action-btn:hover {
  color: var(--palc-nav-text);
  background: rgba(255, 255, 255, 0.08);
}
.site-header--transparent.is-scrolled .navbar__actions {
  border-left-color: rgba(255, 255, 255, 0.25);
}
.site-header--transparent.is-scrolled .navbar__ai-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--palc-nav-text);
}
.site-header--transparent.is-scrolled .navbar__cta {
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
}
.site-header--transparent.is-scrolled .navbar__mobile-toggle {
  color: var(--palc-nav-text);
}
.site-header--transparent.is-scrolled .navbar__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Optional: hide header when scrolling down (show when scrolling up) */
.site-header.is-hidden {
  transform: translateY(-100%);
  transition: transform 0.25s ease-out;
}
.site-header.is-scrolled.is-hidden {
  position: fixed;
}
.site-header:not(.is-hidden) {
  transition: transform 0.25s ease-out, background 0.2s, box-shadow 0.2s;
}
.site-header--transparent .navbar__link,
.site-header--transparent .navbar__action-btn,
.site-header--transparent .navbar__logo {
  color: rgba(255, 255, 255, 0.95);
}
.site-header--transparent .navbar__link:hover,
.site-header--transparent .navbar__action-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.site-header--transparent .navbar__actions {
  border-left-color: rgba(255, 255, 255, 0.3);
}
.site-header--transparent .navbar__ai-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.site-header--transparent .navbar__cta {
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
  border: none;
}
.site-header--transparent .navbar__cta:hover {
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
}
.site-header--transparent .navbar__mobile-toggle {
  color: #fff;
}
.site-header--transparent .navbar__mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header .container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
  width: 100%;
  min-width: 0;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}
@media (max-width: 1023px) {
  .navbar__logo img {
    max-height: 1.75rem;
    width: auto;
  }
}

.navbar__logo img {
  height: 2.25rem;
  width: auto;
  display: block;
}

.navbar__menu {
  display: none;
}

/* Desktop: center nav items between logo and actions (Node.js: flex-1 justify-center) */
@media (min-width: 1024px) {
  .navbar__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    gap: 0.125rem;
  }
}
@media (min-width: 1280px) {
  .navbar__menu {
    gap: 0.25rem;
  }
}

.navbar__dropdown {
  position: relative;
}

/* Match Node.js: px-2 xl:px-4 py-2, text-sm xl:text-base, font-semibold */
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.5rem;
  color: var(--palc-nav-text);
  text-decoration: none;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
@media (min-width: 1280px) {
  .navbar__link {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

.navbar__link:hover,
.navbar__link:focus {
  color: var(--palc-nav-text);
  background: rgba(255, 255, 255, 0.08);
}

.navbar__dropdown.is-open .navbar__link--dropdown {
  background: rgba(0, 65, 194, 0.25);
  color: var(--palc-nav-text);
}

.navbar__chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.navbar__dropdown.is-open .navbar__chevron {
  transform: rotate(180deg);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.navbar__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--palc-nav-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--palc-radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.navbar__action-btn:hover {
  color: var(--palc-nav-text);
  background: rgba(255, 255, 255, 0.08);
}

.navbar__ai-btn {
  margin-left: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--palc-nav-text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--palc-radius-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.navbar__ai-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar__cta {
  margin-left: 0.5rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--palc-primary);
  border: none;
  border-radius: var(--palc-radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.navbar__cta:hover {
  background: var(--palc-primary-dark);
}

.navbar__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--palc-nav-text);
  background: transparent;
  border: none;
  border-radius: var(--palc-radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

/* Hamburger icon (three lines) – visible when menu closed */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 18px;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
/* Close icon (X) – visible when menu open */
.navbar__close-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.navbar__close-icon svg {
  width: 24px;
  height: 24px;
}
.navbar__mobile-toggle.is-active .navbar__hamburger {
  display: none;
}
.navbar__mobile-toggle.is-active .navbar__close-icon {
  display: flex;
}

@media (min-width: 1024px) {
  .navbar__mobile-toggle {
    display: none;
  }
}

/* Mobile: hide most actions so hamburger is visible; show only toggle + optional CTA */
@media (max-width: 1023px) {
  .navbar__actions .navbar__action-btn,
  .navbar__actions .navbar__ai-btn {
    display: none;
  }
  .navbar__actions .navbar__cta {
    display: inline-flex;
    margin-left: 0.25rem;
  }
  .navbar__actions {
    gap: 0.5rem;
    padding-left: 0.5rem;
  }
}

/* Desktop mega menu – no page scroll when dropdown is open */
html.mega-menu-open,
body.mega-menu-open {
  overflow: hidden;
}

/* Mobile menu – no page scroll when open; overlay (backdrop) + drawer */
body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu__backdrop:focus,
.mobile-menu__backdrop:active {
  background: rgba(15, 23, 42, 0.4);
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}
.mobile-menu__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 100%);
  height: 100%;
  background: var(--palc-nav-bg, #0f172a);
  padding: 0 1.25rem 0;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.mobile-menu__header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
}
.mobile-menu__logo {
  display: block;
  flex-shrink: 0;
}
.mobile-menu__logo img {
  height: 2rem;
  width: auto;
  max-width: 140px;
  display: block;
}
.mobile-menu__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--palc-radius-sm, 0.375rem);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.mobile-menu__search-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.mobile-menu__search-btn:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}
.mobile-menu__search-btn svg {
  width: 20px;
  height: 20px;
}
.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  border-radius: var(--palc-radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.mobile-menu__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.mobile-menu__close:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}
.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}
.mobile-menu.is-open .mobile-menu__inner {
  transform: translateX(0);
}
.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu__list a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__list a:hover {
  color: #fff;
}

/* Mobile menu – drill-down panels (Aviz-style: main list → inner panel with back) */
.mobile-menu__panels {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}
.mobile-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.2s, transform 0.25s ease;
  transform: translateX(100%);
}
.mobile-menu__panel--main {
  position: relative;
  transform: none;
}
.mobile-menu__panel.is-visible {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu__panel--main.is-visible {
  transform: none;
}
.mobile-menu__panel--inner {
  transform: translateX(100%);
}
.mobile-menu__panel--inner.is-visible {
  transform: translateX(0);
}
.mobile-menu__panel--main:not(.is-visible) {
  transform: translateX(-100%);
}

.mobile-menu__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}
.mobile-menu__nav--main {
  padding-bottom: 1rem;
}
.mobile-menu__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__panel-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.mobile-menu__panel-trigger:hover {
  color: #fff;
}
.mobile-menu__panel-trigger:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}
.mobile-menu__chevron {
  flex-shrink: 0;
  opacity: 0.7;
}
.mobile-menu__back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-align: left;
  flex-shrink: 0;
  transition: color 0.2s;
}
.mobile-menu__back:hover {
  color: #fff;
}
.mobile-menu__back:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}
.mobile-menu__panel-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}
.mobile-menu__explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__explore:hover {
  color: #bae6fd;
}
.mobile-menu__arrow {
  opacity: 0.8;
  margin-left: 0.25rem;
}
.mobile-menu__divider {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0 0.75rem;
}
.mobile-menu__group {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__group:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.mobile-menu__group-title {
  display: block;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.mobile-menu__group-title:hover {
  color: #fff;
}
.mobile-menu__group--platforms {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Services drill-down: card-style groups (single border, no double dividers) */
.mobile-menu__panel-content--services .mobile-menu__group {
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--palc-radius-md, 0.5rem);
  background: rgba(255, 255, 255, 0.03);
}
.mobile-menu__panel-content--services .mobile-menu__explore + .mobile-menu__group {
  margin-top: 0.75rem;
}
.mobile-menu__panel-content--services .mobile-menu__group-title {
  padding: 0 0 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: #fff;
  border-bottom: none;
}
.mobile-menu__panel-content--services .mobile-menu__sublist--nested {
  padding-left: 0;
  padding-top: 0.25rem;
  padding-bottom: 0;
}
.mobile-menu__panel-content--services .mobile-menu__sublist--nested a {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.25rem;
}
.mobile-menu__panel-content--services .mobile-menu__sublist--nested a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.mobile-menu__panel-content--services {
  padding-right: 5px;
}
.mobile-menu__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0.75rem 0;
}
.mobile-menu__sublist:first-child {
  padding-top: 0;
}
.mobile-menu__sublist a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9375rem;
  border: none;
}
.mobile-menu__sublist a:hover {
  color: #fff;
}
.mobile-menu__sublist--nested {
  padding-left: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
}
.mobile-menu__sublist--nested a {
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.mobile-menu__sublist--nested a:hover {
  color: rgba(255, 255, 255, 0.95);
}
.mobile-menu__external {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-left: 0.25rem;
}

/* Fixed bottom row: PalC AI + Get Started – same size, equal weight */
.mobile-menu__footer-cta {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1rem 0 1.25rem;
  margin: 0 -1.25rem 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--palc-nav-bg, #0f172a);
}
.mobile-menu__footer-link,
.mobile-menu__footer-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.35;
  border-radius: var(--palc-radius-sm, 0.375rem);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.15s;
  font-family: inherit;
  box-sizing: border-box;
}
.mobile-menu__footer-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}
.mobile-menu__footer-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.mobile-menu__footer-link:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.6);
  outline-offset: 2px;
}
.mobile-menu__footer-btn {
  border: none;
  cursor: pointer;
}
.mobile-menu__footer-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* ----- 13. Mega menu (Node.js: fixed panel, max-w-[1280px] mx-auto, rounded-2xl) ----- */
/* Backdrop when any mega menu is open (Node.js: top 73px, bg-black/20 backdrop-blur-sm) */
.mega-menu-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 4rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease-out, visibility 0.28s ease-out;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.mega-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease-out, visibility 0.28s ease-out;
  z-index: 50;
}

.mega-menu.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Fixed full-width wrapper, centered panel (Node: left-4 sm:left-6 lg:left-8 right-4... max-w-[1280px] mx-auto top-24) */
.mega-menu--solutions.mega-menu--cards,
.mega-menu--services.mega-menu--cards,
.mega-menu--support.mega-menu--panel,
.mega-menu--company.mega-menu--panel,
.mega-menu--resources.mega-menu--panel,
.mega-menu--products.mega-menu--panel {
  position: fixed;
  left: 1rem;
  right: 1rem;
  top: 4.5rem;
  padding-top: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 99;
}
@media (min-width: 640px) {
  .mega-menu--solutions.mega-menu--cards,
  .mega-menu--services.mega-menu--cards,
  .mega-menu--support.mega-menu--panel,
  .mega-menu--company.mega-menu--panel,
  .mega-menu--resources.mega-menu--panel,
  .mega-menu--products.mega-menu--panel {
    left: 1.5rem;
    right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .mega-menu--solutions.mega-menu--cards,
  .mega-menu--services.mega-menu--cards,
  .mega-menu--support.mega-menu--panel,
  .mega-menu--company.mega-menu--panel,
  .mega-menu--resources.mega-menu--panel,
  .mega-menu--products.mega-menu--panel {
    left: 2rem;
    right: 2rem;
    top: 5rem;
  }
}

.mega-menu--solutions.mega-menu--cards.is-visible,
.mega-menu--services.mega-menu--cards.is-visible,
.mega-menu--support.mega-menu--panel.is-visible,
.mega-menu--company.mega-menu--panel.is-visible,
.mega-menu--resources.mega-menu--panel.is-visible,
.mega-menu--products.mega-menu--panel.is-visible {
  pointer-events: auto;
}

/* Panel: Node.js rounded-2xl border border-gray-100 shadow-deep max-w-[1280px] */
.mega-menu--solutions .mega-menu__panel,
.mega-menu--services .mega-menu__panel,
.mega-menu--support .mega-menu__panel,
.mega-menu--company .mega-menu__panel,
.mega-menu--resources .mega-menu__panel,
.mega-menu--products .mega-menu__panel {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  background: var(--palc-mega-bg);
  border: 1px solid var(--palc-mega-border);
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  pointer-events: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease-out;
}

.mega-menu--solutions.is-visible .mega-menu__panel,
.mega-menu--services.is-visible .mega-menu__panel,
.mega-menu--support.is-visible .mega-menu__panel,
.mega-menu--company.is-visible .mega-menu__panel,
.mega-menu--resources.is-visible .mega-menu__panel,
.mega-menu--products.is-visible .mega-menu__panel {
  transform: translateY(0);
  opacity: 1;
}

.mega-menu__header--soft {
  background: linear-gradient(180deg, #E4F4FF 0%, #FFFFFF 100%);
}

/* Row-style links (Support, Company, Resources) */
.mega-menu__row-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--palc-mega-border);
  border-radius: var(--palc-radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.mega-menu__row-link:hover {
  border-color: rgba(0, 65, 194, 0.3);
  background: linear-gradient(135deg, rgba(0, 65, 194, 0.05) 0%, transparent 100%);
}

.mega-menu__row-link:hover .mega-menu__card-title {
  color: var(--palc-primary);
}

.mega-menu__row-link:hover .mega-menu__row-arrow {
  opacity: 1;
  color: var(--palc-primary);
}

.mega-menu__card-icon--sm {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--palc-radius-md);
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-primary-dark) 100%);
  color: #fff;
}

.mega-menu__card-icon--sm svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mega-menu__row-content {
  flex: 1;
  min-width: 0;
}

.mega-menu__row-arrow {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
  color: var(--palc-gray-300);
}

/* Support mega: two columns */
/* Support mega: 2 columns only (override base .mega-menu__grid 3-col at lg) */
.mega-menu__grid--support {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .mega-menu__grid--support {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .mega-menu__grid--support {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .mega-menu__grid--support {
    grid-template-columns: 1fr 1fr;
  }
}

.mega-menu__support-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu__support-widget {
  min-height: 0;
}

.mega-menu__widget-box {
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 65, 194, 0.1) 0%, rgba(0, 194, 255, 0.05) 50%, rgba(0, 65, 194, 0.1) 100%);
  border: 2px solid rgba(0, 65, 194, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-menu__widget-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.mega-menu__widget-icon svg {
  width: 2rem;
  height: 2rem;
}

.mega-menu__widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--palc-foreground);
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.mega-menu__widget-desc {
  font-size: 0.875rem;
  color: var(--palc-gray-600);
  margin: 0 0 1rem 0;
  text-align: center;
}

.mega-menu__widget-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mega-menu__widget-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--palc-foreground);
  text-decoration: none;
}

.mega-menu__widget-line:hover {
  color: var(--palc-primary);
}

.mega-menu__widget-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Company mega: two columns */
/* Company mega: 2 columns only (override base .mega-menu__grid 3-col at lg) */
.mega-menu__grid--company {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .mega-menu__grid--company {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .mega-menu__grid--company {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .mega-menu__grid--company {
    grid-template-columns: 1fr 1fr;
  }
}

.mega-menu__company-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Company widget card (Partners & Community) – same visual as former platforms card */
.mega-menu__widget-card,
.mega-menu__platforms-card {
  padding: 0.75rem 1rem;
  border: 1px solid var(--palc-mega-border);
  border-radius: var(--palc-radius-md);
  transition: border-color 0.2s, background 0.2s;
}

.mega-menu__widget-card:hover,
.mega-menu__platforms-card:hover {
  border-color: rgba(0, 65, 194, 0.3);
  background: linear-gradient(135deg, rgba(0, 65, 194, 0.05) 0%, transparent 100%);
}

.mega-menu__widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mega-menu__widget-header .mega-menu__card-title {
  margin: 0;
  font-size: 1rem;
}

.mega-menu__widget-desc {
  font-size: 0.8125rem;
  color: var(--palc-muted, #6b7280);
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.mega-menu__row-link--block {
  display: flex;
  margin-bottom: 0.75rem;
}

.mega-menu__widget-card .mega-menu__sub-links,
.mega-menu__platforms-card .mega-menu__sub-links {
  margin-top: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--palc-mega-border);
}

/* Company mega menu: Partners & Community widget – left-align description and content */
.mega-menu__company-widget .mega-menu__widget-card {
  text-align: left;
}
.mega-menu__company-widget .mega-menu__widget-desc {
  text-align: left;
}
.mega-menu__company-widget .mega-menu__widget-header {
  justify-content: flex-start;
}
.mega-menu__company-widget .mega-menu__sub-links {
  text-align: left;
}

/* Resources mega: Node.js layout – col1 categories + col2-3 featured 2x2 */
.mega-menu__resources-inner {
  display: flex;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  flex-direction: column;
}
@media (min-width: 768px) {
  .mega-menu__resources-inner {
    grid-template-columns: 1fr 2fr;
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .mega-menu__resources-inner {
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
  }
  .mega-menu__resources-featured {
    grid-column: span 1;
  }
}

.mega-menu__resources-categories {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  min-width: 0;
}

/* Node.js: category row – icon in gradient rounded box, title, description (2-line clamp for consistent height) */
.mega-menu__row-link--resources {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--palc-mega-border);
  border-radius: var(--palc-radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.mega-menu__row-link--resources:hover {
  border-color: rgba(0, 65, 194, 0.3);
  background: linear-gradient(135deg, rgba(0, 65, 194, 0.05) 0%, transparent 100%);
  box-shadow: 0 2px 8px rgba(0, 65, 194, 0.08);
}
.mega-menu__row-link--resources:hover .mega-menu__card-title {
  color: var(--palc-primary);
}
.mega-menu__row-link--resources .mega-menu__row-content {
  flex: 1;
  min-width: 0;
}
.mega-menu__row-link--resources .mega-menu__card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--palc-mega-title);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}
.mega-menu__row-link--resources .mega-menu__card-desc {
  font-size: 0.8125rem;
  color: var(--palc-mega-desc);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-menu__card-icon--gradient {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--palc-radius-md);
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 194, 255, 0.25);
}
.mega-menu__row-link--resources .mega-menu__card-icon--gradient svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Featured resource cards 2x2 (Node: rounded-xl border, thumb top-right, title, summary) – compact, aligned with categories */
.mega-menu__resources-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  min-width: 0;
  align-content: start;
}
.mega-menu__resource-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border: 1px solid var(--palc-mega-border);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 0;
  position: relative;
}
.mega-menu__resource-card:hover {
  border-color: rgba(0, 65, 194, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.mega-menu__resource-card:hover .mega-menu__resource-card-title {
  color: var(--palc-primary);
}
.mega-menu__resource-card-thumb {
  position: absolute;
  top: 0.2rem;
  right: 0.75rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--palc-radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-menu__resource-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-menu__resource-card-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.mega-menu__resource-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.mega-menu__resource-card-content {
  flex: 1;
  min-width: 0;
  padding-right: 4rem;
}
.mega-menu__resource-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--palc-mega-title);
  margin: 0 0 0.25rem 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-menu__resource-card-desc {
  font-size: 0.75rem;
  color: var(--palc-mega-desc);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Resources footer: full-width bar, "Explore All Resources" – elegant padding */
.mega-menu--resources .mega-menu__footer--explore {
  display: block;
  padding: 0;
  background: var(--palc-gray-50);
  border-top: 1px solid var(--palc-mega-border);
  border-radius: 0;
}
.mega-menu--resources .mega-menu__explore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--palc-mega-title);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mega-menu--resources .mega-menu__explore-link:hover {
  color: var(--palc-primary);
}
.mega-menu--resources .mega-menu__explore-arrow {
  flex-shrink: 0;
  color: var(--palc-primary);
  transition: transform 0.2s;
}
.mega-menu--resources .mega-menu__explore-link:hover .mega-menu__explore-arrow {
  transform: translateX(4px);
}

/* Legacy: keep grid--resources 3-col if used elsewhere; prevent 5-col override at 1280px */
.mega-menu__grid--resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .mega-menu__grid--resources {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mega-menu__grid--resources {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Node.js: px-4 sm:px-5 py-3 sm:py-4 for header */
.mega-menu__header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--palc-mega-border);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .mega-menu__header {
    padding: 1rem 1.25rem;
  }
}

.mega-menu__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--palc-mega-title);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}
.mega-menu__title-link {
  color: inherit;
  text-decoration: none;
}
.mega-menu__title-link:hover {
  color: var(--palc-primary);
  text-decoration: underline;
}
@media (min-width: 640px) {
  .mega-menu__title {
    font-size: 1.25rem;
  }
}

.mega-menu__subtitle {
  font-size: 0.75rem;
  color: var(--palc-mega-desc);
  margin: 0;
  line-height: 1.4;
}

/* Node.js: p-3 sm:p-4 for body */
.mega-menu__body {
  padding: 0.75rem 1rem;
  overflow-y: auto;
  max-height: min(80vh, 500px);
}
@media (min-width: 640px) {
  .mega-menu__body {
    padding: 1rem 1.25rem;
  }
}

/* Resources mega: taller body so all 6 categories (incl. Videos) fit; elegant spacing */
.mega-menu--resources .mega-menu__body {
  max-height: min(88vh, 620px);
  padding: 1.25rem 1.5rem;
}
@media (min-width: 1024px) {
  .mega-menu--resources .mega-menu__body {
    padding: 1.5rem 2rem;
  }
}
.mega-menu--resources .mega-menu__header {
  padding: 1rem 1.5rem;
}
@media (min-width: 1024px) {
  .mega-menu--resources .mega-menu__header {
    padding: 1.25rem 2rem;
  }
}

.mega-menu__card-grid,
.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .mega-menu__card-grid,
  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .mega-menu__card-grid,
  .mega-menu__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .mega-menu__card-grid,
  .mega-menu__grid,
  .mega-menu__grid--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.625rem;
  }
}

/* Support & Company: force 2 columns – higher specificity + !important so 5-col never wins */
@media (min-width: 768px) {
  .mega-menu--support .mega-menu__grid--support,
  .mega-menu--company .mega-menu__grid--company {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }
}

.mega-menu__card {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--palc-mega-card-border);
  border-radius: var(--palc-radius-md);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.mega-menu__card:hover {
  border-color: rgba(0, 65, 194, 0.4);
  background: var(--palc-mega-card-hover);
}

.mega-menu__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--palc-radius-md);
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
  color: #fff;
}

.mega-menu__card-icon svg {
  display: block;
}

.mega-menu__card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--palc-mega-title);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-menu__card-desc {
  font-size: 0.75rem;
  color: var(--palc-mega-desc);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mega-menu__card-arrow {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  color: var(--palc-primary);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.mega-menu__card:hover .mega-menu__card-arrow {
  opacity: 1;
}

/* Solutions mega: footer is direct link (matches saved file markup) */
.mega-menu__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 1rem 0.5rem;
  border-top: 1px solid var(--palc-mega-border);
  flex-shrink: 0;
  background: var(--palc-gray-50);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--palc-mega-title);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: color 0.2s, background 0.2s;
}

.mega-menu__footer:hover {
  color: var(--palc-primary);
}

.mega-menu__footer svg {
  flex-shrink: 0;
  color: var(--palc-primary);
  transition: transform 0.2s;
}

.mega-menu__footer:hover svg {
  transform: translateX(4px);
}

/* Services mega: footer is a wrapper with inner link (Node: "Explore All Services" left-aligned, gray-50 bar) */
.mega-menu--services .mega-menu__footer {
  display: block;
  padding: 0;
  background: var(--palc-gray-50);
  border-top: 1px solid var(--palc-mega-border);
  border-radius: 0;
}
.mega-menu--services .mega-menu__explore-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.375rem 1rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--palc-mega-title);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mega-menu--services .mega-menu__explore-link:hover {
  color: var(--palc-primary);
}
.mega-menu--services .mega-menu__explore-arrow {
  flex-shrink: 0;
  color: var(--palc-primary);
  transition: transform 0.2s;
}
.mega-menu--services .mega-menu__explore-link:hover .mega-menu__explore-arrow {
  transform: translateX(4px);
}

/* Services mega menu (Node.js): 3 columns = top row 3 cards, bottom row 2 cards; no header */
.mega-menu__card-grid--services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .mega-menu__card-grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mega-menu__card-grid--services {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1rem;
  }
}
/* Services: force 3 columns at 1280px so base 5-col rule does not override */
@media (min-width: 1280px) {
  .mega-menu--services .mega-menu__card-grid--services {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem 1rem;
  }
}

.mega-menu__service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  align-items: stretch;
}

/* Node.js: card with icon, title, desc, then sub-links below */
.mega-menu__card--service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex-shrink: 0;
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-bottom: 1.25rem;
}

.mega-menu__card--service .mega-menu__card-icon {
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
}

.mega-menu__card--service .mega-menu__card-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mega-menu__card--service .mega-menu__card-title {
  margin-bottom: 0.25rem;
}

.mega-menu__card--service .mega-menu__card-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin-bottom: 0;
}

.mega-menu__sub-links {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--palc-mega-border);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-menu__sub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.375rem;
  margin: 0 -0.375rem;
  font-size: 0.8125rem;
  color: var(--palc-mega-desc);
  text-decoration: none;
  border-radius: 0.25rem;
  transition: color 0.2s, background 0.2s;
}

.mega-menu__sub-link:hover {
  color: var(--palc-primary);
  background: var(--palc-mega-card-hover);
}

.mega-menu__sub-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--palc-mega-desc);
  transition: background 0.2s, transform 0.2s;
}

.mega-menu__sub-link:hover .mega-menu__sub-dot {
  background: var(--palc-primary);
  transform: scale(1.2);
}

.mega-menu__sub-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-menu__sub-arrow {
  flex-shrink: 0;
  color: var(--palc-primary);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.mega-menu__sub-link:hover .mega-menu__sub-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ----- Services mega menu: desktop only (match staging 52.21.243.57/palc-staging) ----- */
@media (min-width: 1024px) {
  .mega-menu--services.mega-menu--cards {
    left: 2rem;
    right: 2rem;
    top: 4rem;
    padding-top: 0;
  }
  .mega-menu--services .mega-menu__panel {
    max-width: 80rem;
    border-radius: 1rem;
    border: 1px solid var(--palc-mega-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
  }
  .mega-menu--services .mega-menu__body {
    padding: .5rem 1.25rem;
  }
  .mega-menu--services .mega-menu__card-grid--services {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1.25rem;
  }
  .mega-menu--services .mega-menu__service-card {
    border: 1px solid var(--palc-mega-card-border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }
  .mega-menu--services .mega-menu__service-card:hover {
    border-color: rgba(0, 65, 194, 0.25);
    background: var(--palc-mega-card-hover);
    box-shadow: 0 2px 12px rgba(0, 65, 194, 0.08);
  }
  /* Horizontal layout: icon left, heading + description right (match reference image) */
  .mega-menu--services .mega-menu__card--service {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem 0.5rem 0.5rem;
    text-align: left;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--palc-primary) 0%, var(--palc-cyan) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-icon svg {
    width: 20px;
    height: 20px;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--palc-mega-title);
    margin: 0;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-desc {
    font-size: 0.7rem;
    color: var(--palc-mega-desc);
    line-height: 1.45;
    margin: 0;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mega-menu--services .mega-menu__card--service .mega-menu__card-arrow {
    flex-shrink: 0;
    opacity: 0.5;
  }
  .mega-menu--services .mega-menu__service-card:hover .mega-menu__card-arrow {
    opacity: 1;
  }
  .mega-menu--services .mega-menu__sub-links {
    margin: 0 1rem 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--palc-mega-border);
    gap: 0.05rem;
  }
  .mega-menu--services .mega-menu__sub-link {
    padding: 0.25rem;
    font-size: 0.8125rem;
    border-radius: 0.375rem;
  }
  .mega-menu--services .mega-menu__footer {
    background: #f9fafb;
    border-top: 1px solid var(--palc-mega-border);
    padding: 0;
  }
  .mega-menu--services .mega-menu__explore-link {
    padding: 0.25rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--palc-mega-title);
  }
  .mega-menu--services .mega-menu__explore-link:hover {
    color: var(--palc-primary);
    background: rgba(0, 65, 194, 0.04);
  }
  .mega-menu--services .mega-menu__explore-arrow {
    color: var(--palc-primary);
  }
}

.mega-menu:not(.mega-menu--cards) .mega-menu__inner {
  background: var(--palc-mega-bg);
  border-radius: var(--palc-radius-md);
  box-shadow: var(--palc-shadow-deep);
  padding: 1rem 1.25rem;
  min-width: 12rem;
}

.mega-menu__grid--columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
}
@media (min-width: 640px) {
  .mega-menu__grid--columns {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .mega-menu__grid--columns {
    grid-template-columns: repeat(4, 1fr);
    min-width: 640px;
  }
}
.mega-menu__grid--columns .mega-menu__column {
  min-width: 0;
}
.mega-menu__grid--columns .mega-menu__list a {
  padding: 0.25rem 0;
}

.mega-menu__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--palc-mega-title);
  margin: 0 0 0.5rem 0;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu__list a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: var(--palc-mega-desc);
  text-decoration: none;
  transition: color 0.2s;
}

.mega-menu__list a:hover {
  color: var(--palc-primary);
}

/* ----- 14. Footer (Node.js mirror) ----- */
.site-footer,
.site-footer--node {
  background: var(--palc-navy);
  color: var(--palc-nav-text);
}

.footer-newsletter {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter__container {
  width: 100%;
}

.footer-newsletter__box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .footer-newsletter__box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
  }
}

.footer-newsletter__text {
  text-align: center;
}
@media (min-width: 768px) {
  .footer-newsletter__text { text-align: left; }
}

.footer-newsletter__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: var(--palc-cyan);
  margin-bottom: 0.5rem;
}

.footer-newsletter__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  color: #fff;
}

.footer-newsletter__description {
  font-size: 0.9375rem;
  color: var(--palc-gray-300);
  margin: 0;
  line-height: 1.5;
  max-width: 42rem;
}

.footer-newsletter__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 24rem;
}
@media (min-width: 640px) {
  .footer-newsletter__input-group {
    flex-direction: row;
  }
}

.footer-newsletter__input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-newsletter__input::placeholder {
  color: var(--palc-nav-text-muted);
}

.footer-newsletter__form .btn--primary {
  flex-shrink: 0;
}

.footer-main {
  padding: 4rem 0;
}

.footer-main__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Node.js: brand card in its own full-width row above nav grid (grid-cols-1, gap-12) */
.footer-main__brand-row {
  width: 100%;
}

.footer-main__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-main__grid--node {
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .footer-main__grid--node {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 1280px) {
  .footer-main__grid--node {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.footer-main__grid--node .footer-main__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-main__grid--node .footer-main__actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Node.js: one card – logo, tagline, 24/7 & Locations, emails, Our Locations, social (space-y-5) */
.footer-main__brand-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-main__logo {
  display: block;
}

.footer-main__logo img {
  height: 2rem;
  width: auto;
  display: block;
}

/* Node.js: tagline inside card – text-gray-200 */
.footer-main__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.footer-main__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.footer-main__stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Node.js: label small/muted (24/7, Locations), value bold white (Global Support, 4 Offices) */
.footer-main__stat-label--muted {
  font-size: 0.75rem;
  color: var(--palc-nav-text-muted);
  order: 0;
}

.footer-main__stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: block;
  order: 1;
}

.footer-main__stat-label {
  font-size: 0.75rem;
  color: var(--palc-nav-text-muted);
}

.footer-main__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-main__contact-link,
.footer-main__links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-main__contact-link:hover,
.footer-main__links a:hover {
  color: var(--palc-cyan);
}

.footer-main__column-title,
.footer-main__locations-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-main__locations-heading svg {
  color: var(--palc-primary-light);
  flex-shrink: 0;
}

/* Locations inside brand card (Node.js: Our Locations bar with accent line) */
.footer-main__brand-card .footer-main__locations--in-card {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

/* Node.js: bg-gray-800/50 rounded-xl border border-white/10 */
.footer-main__locations-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: rgba(31, 41, 55, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Node.js: flex items-center gap-3, icon + content */
.footer-main__location-item {
  flex: 1;
  min-width: 160px;
  padding: 1rem 1.25rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-main__location-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-main__location-icon {
  width: 2rem;
  height: 2rem;
  color: var(--palc-cyan);
  display: block;
}

.footer-main__location-content {
  flex: 1;
  min-width: 0;
}

.footer-main__location-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.footer-main__location-city {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.footer-main__location-address {
  font-size: 0.75rem;
  color: var(--palc-nav-text-muted);
  margin: 0;
  line-height: 1.4;
}

.footer-main__location-phone {
  font-size: 0.75rem;
  color: var(--palc-nav-text-muted);
  margin-top: 0.25rem;
  display: block;
}

.footer-main__location-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  min-height: 3rem;
  align-self: center;
}

.footer-main__locations-accent {
  flex: 0 0 100%;
  width: 100%;
  height: 4px;
  min-height: 4px;
  background: linear-gradient(90deg, var(--palc-primary), var(--palc-cyan), var(--palc-primary));
  border-radius: 0 0 0.75rem 0.75rem;
}

/* Social links below locations (Node: white icons in dark blue circular buttons) */
.footer-main__brand-card .footer-main__social {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.footer-main__brand-card .footer-main__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-main__brand-card .footer-main__social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.footer-main__brand-card .footer-main__social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-main__brand-card .footer-main__social-link--no-url {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.footer-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main__list a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--palc-nav-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-main__list a:hover {
  color: #fff;
}

.footer-main__action-box,
.footer-main__quick-links {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.footer-main__action-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.75rem 0;
}

.footer-main__action-box .btn,
.footer-main__quick-links .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

.footer-main__action-box .btn:last-of-type {
  margin-bottom: 0;
}

/* Node.js: "Talk to an Expert" = gradient, "View Services" = white border on dark */
.site-footer .footer-main__action-box .btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  margin-top: 1rem;
  color: #fff;
}
.site-footer .footer-main__action-box .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-main__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-main__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.footer-main__tag:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* File markup: footer-nav (matches saved page) */
.footer-nav {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    grid-column: 1 / -1;
  }
}
.footer-nav__column {
  min-width: 0;
}
.footer-nav__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem 0;
}
.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav__list a,
.footer-nav__link {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--palc-nav-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav__list a:hover,
.footer-nav__link:hover {
  color: #fff;
}

/* File markup: footer-actions-row */
.footer-actions-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .footer-actions-row {
    grid-template-columns: 1fr 1fr;
  }
}
.footer-actions__cta .btn,
.footer-actions__links .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}
.footer-actions__cta .btn:last-of-type {
  margin-bottom: 0;
}
.footer-actions__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.75rem 0;
}
.footer-actions__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-actions__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-actions__tag:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: var(--palc-nav-text-muted);
}

.footer-bottom__content--node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-bottom_right {
    display: flex;
    flex-direction: column;
    /* align-content: center; */
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) {
  .footer-bottom__content--node {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-bottom_right {
    display: flex;
    gap: 1rem;
    align-content: center;
    align-items: center;
}
}

.footer-bottom__copyright {
  margin: 0;
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom__links a {
  color: var(--palc-nav-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom__links a:hover {
  color: #fff;
}

.footer-bottom__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom__social a {
  color: var(--palc-nav-text-muted);
  transition: color 0.2s;
}

.footer-bottom__social a:hover {
  color: #fff;
}

/* ----- 15. Back to top (gradient scroll ring + glow) ----- */
.back-to-top {
  --scroll-pct: 0;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.12),
    0 0 0 0 rgba(37, 99, 235, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, box-shadow 0.25s ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.18),
    0 0 0 8px rgba(37, 99, 235, 0.15);
}

/* Progress ring: gradient fill (primary → cyan → primary-dark) as you scroll */
.back-to-top__progress {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
  #1d4ed8 0deg, 
  #00c2ff calc(var(--scroll-pct) * 1.8deg), 
  #00c2ff calc(var(--scroll-pct) * 2.5deg), 
  #1d4ed8 calc(var(--scroll-pct) * 3.6deg), 
  rgba(0, 0, 0, 0.06) calc(var(--scroll-pct) * 3.6deg), 
  rgba(0, 0, 0, 0.06) 360deg
  );
  pointer-events: none;
  transition: background 0.12s ease-out;
}

.back-to-top__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00308c;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(145deg, #b2baca00 0%, #002b7b00 100%);
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover .back-to-top__icon {
  transform: scale(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(29, 78, 216, 0.35);
}

/* ----- 16. Global scrollbar (Node) ----- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--palc-gray-50);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--palc-gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--palc-primary);
}

/* ----- 17. Focus & accessibility ----- */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--palc-background), 0 0 0 4px var(--palc-ring);
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--palc-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--palc-radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ----- 18. Animations (Node) ----- */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-in 0.5s ease-out forwards;
}

/* ----- Support page: 24/7 Technical Support section (2-col, responsive) ----- */
.support-24-7 {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.support-24-7__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .support-24-7__wrapper {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .support-24-7__wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
  }
}
.right-checks {
    list-style: none;
    padding-left: 0;
    margin: 0;
    margin-top: 1rem !important;
}

.right-checks li {
    position: relative;
    padding-left: 1.5rem;
    margin: .2rem 0;
    color: var(--palc-muted, #64748b);
}

.right-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #78ad46;
    font-weight: 600;
}
.contact-office-card__icon .footer-main__location-icon {
    color: #37459bc7 !important;
    margin-bottom: 0.75rem;
}

.nf-arch-nav > div.is-active {
    background: radial-gradient(circle at 10% 98%, rgba(37, 99, 235, 0.24), transparent 48%), radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.24), transparent 48%), #020a1d !important;
    color: #fff !important;
}

.nf-arch-layer.is-active {
background:radial-gradient(circle at 10% 98%, rgba(37, 99, 235, 0.24), transparent 48%), radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.24), transparent 48%), #020a1d !important;
}
.nf-arch-layer.is-active h4, .nf-arch-layer.is-active .chip, .nf-arch-nav > div.is-active > span, .ipu-dpu-page .nf-arch-nav>div.is-active strong  {
    color: #ffffff !important;
}

.nf-arch-nav [data-layer].is-active::after {
    content: "> ";
    position: absolute;
    right: 14px;
    top: 32%;
}
/* Intro column */
.support-24-7__intro {
  padding: 0.25rem 0;
}

.support-24-7__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0066ff;
  margin-bottom: 0.75rem;
}

.support-24-7__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .support-24-7__title {
    font-size: 2rem;
  }
}

.support-24-7__subtitle {
  font-size: 1rem;
  color: #f0f0f0;
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .support-24-7__subtitle {
    font-size: 1.0625rem;
  }
}

.support-24-7__accent {
  width: 3rem;
  height: 4px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--palc-primary, #2563eb), var(--palc-cyan, #06b6d4));
  border-radius: 2px;
}

/* Channels column: 2 cards */
.support-24-7__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .support-24-7__channels {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .support-24-7__channels {
    gap: 1.25rem;
  }
}

.support-24-7__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--palc-border, #e5e7eb);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.support-24-7__card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.support-24-7__card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--palc-primary, #2563eb);
}

.support-24-7__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--palc-primary, #2563eb);
  margin-bottom: 1rem;
}

.support-24-7__card:hover .support-24-7__card-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
}

.support-24-7__card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.support-24-7__card-value {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  word-break: break-all;
  margin-bottom: 0.5rem;
}

.support-24-7__card:hover .support-24-7__card-value {
  color: var(--palc-primary, #2563eb);
}

.support-24-7__card-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--palc-primary, #2563eb);
  margin-top: auto;
}

.support-24-7__card:hover .support-24-7__card-cta {
  color: var(--palc-cyan, #06b6d4);
}

/* ----- Global Support page: intro, contact, key benefits ----- */
.support-global-intro {
  padding: 2rem 0 1rem;
}
.support-global-intro__lead {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--palc-mega-title, #0f172a);
  text-align: center;
}
@media (min-width: 768px) {
  .support-global-intro__lead {
    font-size: 1.25rem;
  }
}

.support-global-contact {
  padding: 2rem 0 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
/* Dark theme + bg image for Contact section */
.support-global-contact--dark {
  padding: 4rem 0 4.5rem;
  background-color: #0f172a;
  background-image: var(--support-contact-dark-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.support-global-contact--dark .support-global-contact__dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.92) 50%, rgba(15, 23, 42, 0.96) 100%);
  pointer-events: none;
}
.support-global-contact--dark .support-global-contact__container {
  position: relative;
  z-index: 1;
}
.support-global-contact--dark .support-global-contact__title {
  color: #fff;
}
.support-global-contact--dark .support-global-contact__subtitle {
  color: rgba(226, 232, 240, 0.9);
}
.support-global-contact--dark .support-global-contact__card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}
.support-global-contact--dark .support-global-contact__card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.5);
  color: #fff;
}
.support-global-contact--dark .support-global-contact__card-icon {
  background: rgba(0, 102, 255, 0.2);
  color: #93c5fd;
}
.support-global-contact--dark .support-global-contact__card-label {
  color: rgba(226, 232, 240, 0.7);
}
.support-global-contact--dark .support-global-contact__card-value {
  color: #f1f5f9;
}
.support-global-contact--dark .support-global-contact__card:hover .support-global-contact__card-value {
  color: #fff;
}
.support-global-contact--dark .support-global-contact__card-cta {
  color: #93c5fd;
}
.support-global-contact--dark .support-global-contact__card:hover .support-global-contact__card-cta {
  color: #60a5fa;
}
.support-global-contact__header {
  text-align: center;
  margin-bottom: 2rem;
}
.support-global-contact__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--palc-mega-title, #0f172a);
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}
.support-global-contact__subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.support-global-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 32rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .support-global-contact__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}
.support-global-contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--palc-border, #e2e8f0);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.support-global-contact__card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0, 65, 194, 0.1);
  transform: translateY(-2px);
}
.support-global-contact__card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--palc-primary, #0066ff);
}
.support-global-contact__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  color: var(--palc-primary, #0066ff);
  margin-bottom: 1rem;
}
.support-global-contact__card:hover .support-global-contact__card-icon {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.14) 0%, rgba(6, 182, 212, 0.14) 100%);
}
.support-global-contact__card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.support-global-contact__card-value {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--palc-mega-title, #0f172a);
  line-height: 1.4;
  word-break: break-all;
  margin-bottom: 0.5rem;
}
.support-global-contact__card:hover .support-global-contact__card-value {
  color: var(--palc-primary, #0066ff);
}
.support-global-contact__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--palc-primary, #0066ff);
  margin-top: auto;
}
.support-global-contact__card:hover .support-global-contact__card-cta {
  color: var(--palc-cyan, #06b6d4);
}

.support-global-benefits {
  padding: 3rem 0 4rem;
}
.support-global-benefits__heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--palc-mega-title, #0f172a);
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .support-global-benefits__heading {
    font-size: 2rem;
  }
}
.support-global-benefits__subheading {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 2.5rem 0;
  text-align: center;
  line-height: 1.5;
}
.support-global-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .support-global-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ----- Advanced layout: full-width alternating image + content rows ----- */
.support-global-benefits--advanced {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 15%, #fff 85%, #f1f5f9 100%);
}
.support-global-benefits--advanced .support-global-benefits__container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1024px) {
  .support-global-benefits--advanced .support-global-benefits__container {
    padding-left: var(--container-padding, 1.5rem);
    padding-right: var(--container-padding, 1.5rem);
  }
}
.support-global-benefits--advanced .support-global-benefits__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-left: var(--container-padding, 1.5rem);
  padding-right: var(--container-padding, 1.5rem);
}
.support-global-benefits__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.support-global-benefit-row {
  --benefit-stagger: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s ease;
  animation: support-benefit-row-fade 0.6s ease-out both;
  animation-delay: calc(0.1s * var(--benefit-stagger));
}
.support-global-benefit-row:hover {
  box-shadow: 0 20px 50px rgba(0, 65, 194, 0.12);
}
@media (min-width: 1024px) {
  .support-global-benefit-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    min-height: 420px;
  }
  .support-global-benefit-row--reverse {
    direction: rtl;
  }
  .support-global-benefit-row--reverse > * {
    direction: ltr;
  }
}
@keyframes support-benefit-row-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.support-global-benefit-row__media {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
@media (min-width: 1024px) {
  .support-global-benefit-row__media {
    min-height: 100%;
  }
}
.support-global-benefit-row__img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.support-global-benefit-row:hover .support-global-benefit-row__img {
  transform: scale(1.05);
}
@media (min-width: 1024px) {
  .support-global-benefit-row__img {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }
}
.support-global-benefit-row__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.support-global-benefit-row__media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}
.support-global-benefit-row__content {
  position: relative;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
@media (min-width: 768px) {
  .support-global-benefit-row__content {
    padding: 2.5rem 2.5rem 2.75rem;
  }
}
@media (min-width: 1024px) {
  .support-global-benefit-row__content {
    padding: 3rem 3rem 3.25rem;
  }
}
.support-global-benefit-row__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--palc-primary, #0066ff), var(--palc-cyan, #06b6d4));
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.support-global-benefit-row:hover .support-global-benefit-row__accent {
  transform: scaleX(1);
}
.support-global-benefit-row__content-inner {
  position: relative;
  z-index: 1;
}
.support-global-benefit-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
  color: var(--palc-primary, #0066ff);
  margin-bottom: 1.25rem;
}
.support-global-benefit-row__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--palc-mega-title, #0f172a);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .support-global-benefit-row__title {
    font-size: 1.375rem;
  }
}
.support-global-benefit-row__desc {
  font-size: 1rem;
  color: #475569;
  margin: 0 0 1.25rem 0;
  line-height: 1.6;
}
.support-global-benefit-row__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.65;
}
.support-global-benefit-row__list li {
  margin-bottom: 0.5rem;
}
.support-global-benefit-row__list li:last-child {
  margin-bottom: 0;
}

.support-global-benefit-card {
  position: relative;
  padding: 0;
  background: #fff;
  border: 1px solid var(--palc-border, #e2e8f0);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.support-global-benefit-card:hover {
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 65, 194, 0.08);
}
.support-global-benefit-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--palc-primary, #0066ff), var(--palc-cyan, #06b6d4));
  border-radius: 1rem 1rem 0 0;
  z-index: 1;
}
.support-global-benefit-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.support-global-benefit-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.support-global-benefit-card:hover .support-global-benefit-card__img {
  transform: scale(1.03);
}
.support-global-benefit-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5) 0%, transparent 50%);
  pointer-events: none;
}
.support-global-benefit-card__body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}
.support-global-benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  color: var(--palc-primary, #0066ff);
  margin-bottom: 1.25rem;
}
.support-global-benefit-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--palc-mega-title, #0f172a);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}
.support-global-benefit-card__desc {
  font-size: 0.9375rem;
  color: #475569;
  margin: 0 0 1.25rem 0;
  line-height: 1.55;
}
.support-global-benefit-card__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
}
.support-global-benefit-card__list li {
  margin-bottom: 0.5rem;
}
.support-global-benefit-card__list li:last-child {
  margin-bottom: 0;
}
.support-global-benefits__footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  padding-left: var(--container-padding, 1.5rem);
  padding-right: var(--container-padding, 1.5rem);
  border-top: 1px solid var(--palc-border, #e2e8f0);
  text-align: center;
}
.support-global-benefits__footer-text {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}
.support-global-benefits__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--palc-primary, #0066ff);
  text-decoration: none;
  transition: color 0.2s;
}
.support-global-benefits__footer-link:hover {
  color: var(--palc-cyan, #06b6d4);
}

/* Logo overlay – global component (use in testimonials, case studies, AI assistant, etc.) */
.logo-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.logo-overlay__img {
  position: absolute;
  width: 5rem;
  max-height: 5rem;
  object-fit: contain;
  opacity: 0.09;
}
.logo-overlay__img--left {
  left: 1rem;
  top: 5%;
  transform: translateY(-50%);
}
.logo-overlay__img--right {
  right: 2rem;
  top: 95%;
  transform: translateY(-50%);
}
.content-left {
    text-align: left !important;
}