:root {
  --nexa-ink: #0F172A;
  --nexa-ink-2: #1E293B;
  --nexa-gold: #D4AF37;
  --nexa-gold-soft: #F3D27A;
  --nexa-muted: #64748b;
  --nexa-paper: #F8FAFC;
}

body {
  color: var(--nexa-ink-2);
}

.brand img,
.nav-logo img,
img[src*="logo_nexa"],
img[alt*="Nexa"] {
  width: auto !important;
  max-width: 236px !important;
  height: 56px !important;
  object-fit: contain !important;
  filter:
    drop-shadow(1px 0 0 rgba(0,0,0,.72))
    drop-shadow(-1px 0 0 rgba(0,0,0,.72))
    drop-shadow(0 1px 0 rgba(0,0,0,.72))
    drop-shadow(0 -1px 0 rgba(0,0,0,.72))
    drop-shadow(0 10px 18px rgba(15,23,42,.24))
    drop-shadow(0 0 10px rgba(212,175,55,.14)) !important;
}

.hero,
.page-hero,
.nexa-state-hero,
.contact-hero,
.faq-hero,
.marketing-video-hero,
.local-video-hero,
.national-video-hero,
.enterprise-video-hero {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,.16), transparent 34%),
    linear-gradient(135deg, #08111f, #0F172A) !important;
}

.hero::before,
.page-hero::before,
.nexa-state-hero::before,
.contact-hero::before,
.faq-hero::before {
  opacity: .72;
}

.nexa-section-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: .62;
  pointer-events: none;
}

.hero > :not(.nexa-section-particles),
.page-hero > :not(.nexa-section-particles),
.nexa-state-hero > :not(.nexa-section-particles),
.contact-hero > :not(.nexa-section-particles),
.faq-hero > :not(.nexa-section-particles),
.marketing-video-hero > :not(.nexa-section-particles),
.local-video-hero > :not(.nexa-section-particles),
.national-video-hero > :not(.nexa-section-particles),
.enterprise-video-hero > :not(.nexa-section-particles) {
  position: relative;
  z-index: 1;
}

.hero-card,
.card,
.product-card,
.why-card,
.testimonial-card,
.location-card,
.faq-item,
.step,
.metric,
.portal-card {
  border: 1px solid rgba(226,232,240,.88) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.82) !important;
  color: var(--nexa-ink-2) !important;
  box-shadow: 0 16px 44px rgba(15,23,42,.08) !important;
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.hero .hero-card,
.page-hero .hero-card,
.contact-hero .hero-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.84), rgba(248,250,252,.72)),
    radial-gradient(circle at 18% 12%, rgba(212,175,55,.16), transparent 38%) !important;
  overflow: hidden;
  position: relative;
}

.nexa-state-hero {
  min-height: 420px !important;
  display: grid !important;
  place-items: center !important;
  padding: 132px 20px 78px !important;
  color: #F8FAFC !important;
  text-align: center !important;
}

.nexa-state-hero .container {
  width: min(1080px, 100%) !important;
  margin: 0 auto !important;
}

.nexa-state-hero h1,
.nexa-state-hero h2,
.nexa-state-hero p,
.nexa-state-hero .hero-subtitle,
.nexa-state-hero .header-subtitle {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  text-shadow: 0 2px 18px rgba(3,7,18,.38) !important;
}

.nexa-state-hero h1 {
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.nexa-state-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,250,252,.86)),
    radial-gradient(circle at 18% 12%, rgba(212,175,55,.16), transparent 38%) !important;
  color: var(--nexa-ink) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 32px rgba(15,23,42,.08) !important;
}

.nexa-state-card:hover {
  color: var(--nexa-ink) !important;
  border-color: rgba(212,175,55,.48) !important;
  box-shadow: 0 22px 46px rgba(15,23,42,.13) !important;
}

.hero .hero-card::before,
.page-hero .hero-card::before,
.contact-hero .hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.34) 44%, transparent 72%);
  opacity: 0;
  transform: translateX(-42%);
  transition: opacity 220ms ease, transform 520ms ease;
  pointer-events: none;
}

.hero .hero-card:hover::before,
.page-hero .hero-card:hover::before,
.contact-hero .hero-card:hover::before {
  opacity: 1;
  transform: translateX(42%);
}

.hero .hero-card > *,
.page-hero .hero-card > *,
.contact-hero .hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card h1,
.hero-card h2,
.hero-card h3,
.card h1,
.card h2,
.card h3,
.card h4,
.product-card h1,
.product-card h2,
.product-card h3,
.product-card h4,
.why-card h3,
.testimonial-card h3,
.location-card h3,
.faq-item h3,
.step h3,
.portal-card h3 {
  color: var(--nexa-ink) !important;
  -webkit-text-fill-color: var(--nexa-ink) !important;
}

.hero-card p,
.hero-card li,
.card p,
.card li,
.product-card p,
.product-card li,
.why-card p,
.testimonial-card p,
.location-card p,
.faq-item p,
.faq-item li,
.step p,
.portal-card p {
  color: var(--nexa-muted) !important;
  -webkit-text-fill-color: var(--nexa-muted) !important;
}

.nexa-tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.nexa-tilt-card:hover {
  border-color: rgba(212,175,55,.44) !important;
  box-shadow: 0 26px 68px rgba(15,23,42,.14) !important;
}

.nexa-tilt-card:hover h1,
.nexa-tilt-card:hover h2,
.nexa-tilt-card:hover h3,
.nexa-tilt-card:hover h4 {
  color: var(--nexa-ink) !important;
  -webkit-text-fill-color: var(--nexa-ink) !important;
}

.nexa-tilt-card:hover p,
.nexa-tilt-card:hover li,
.nexa-tilt-card:hover span:not(.badge):not(.eyebrow) {
  color: var(--nexa-muted) !important;
  -webkit-text-fill-color: var(--nexa-muted) !important;
}

footer,
.footer,
.nexa-footer {
  background:
    radial-gradient(circle at 16% 12%, rgba(212,175,55,.16), transparent 30%),
    linear-gradient(135deg, #08111f, #0F172A) !important;
  color: rgba(248,250,252,.72) !important;
}

.nexa-footer {
  padding: 54px 5% 28px !important;
}

.nexa-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, .65fr));
  gap: 28px;
  text-align: left;
}

.nexa-footer-brand img {
  height: 62px !important;
  margin-bottom: 14px;
}

.nexa-footer h4 {
  margin: 0 0 12px;
  color: var(--nexa-gold-soft) !important;
  font: 900 .78rem 'Montserrat', Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nexa-footer p,
.nexa-footer a,
.nexa-footer li,
.nexa-footer span {
  color: rgba(248,250,252,.72) !important;
  -webkit-text-fill-color: rgba(248,250,252,.72) !important;
}

.nexa-footer a {
  display: block;
  margin: 7px 0;
  text-decoration: none;
  font-weight: 700;
}

.nexa-footer a:hover {
  color: var(--nexa-gold-soft) !important;
  -webkit-text-fill-color: var(--nexa-gold-soft) !important;
}

.nexa-footer-bottom {
  width: min(1180px, 100%);
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .92rem;
}

.nexa-cursor-dot,
.nexa-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 160ms ease, width 160ms ease, height 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nexa-cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--nexa-gold-soft);
  box-shadow: 0 0 16px rgba(243,210,122,.68);
}

.nexa-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243,210,122,.48);
  border-radius: 999px;
  background: rgba(243,210,122,.04);
}

body.nexa-cursor-ready .nexa-cursor-dot,
body.nexa-cursor-ready .nexa-cursor-ring {
  opacity: 1;
}

body.nexa-cursor-active .nexa-cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(243,210,122,.78);
  background: rgba(243,210,122,.10);
}

nav .brand img[src*="logo_nexa"],
nav .nav-logo img[src*="logo_nexa"],
.navbar .brand img[src*="logo_nexa"],
.topbar + nav img[src*="logo_nexa"] {
  height: 58px !important;
  max-width: 248px !important;
  filter:
    drop-shadow(1px 0 0 rgba(3,7,18,.72))
    drop-shadow(-1px 0 0 rgba(3,7,18,.72))
    drop-shadow(0 1px 0 rgba(3,7,18,.72))
    drop-shadow(0 -1px 0 rgba(3,7,18,.72))
    drop-shadow(0 8px 15px rgba(15,23,42,.24))
    drop-shadow(0 0 8px rgba(212,175,55,.14)) !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}

nav,
.navbar,
nav.navbar {
  text-align: center !important;
}

nav .nav-wrap,
nav .container,
.navbar .nav-container,
.navbar .container {
  align-items: center !important;
}

nav .nav-links,
.navbar .nav-links,
#navLinks {
  text-align: center !important;
  align-items: center !important;
}

nav .nav-links a,
.navbar .nav-links a,
#navLinks a {
  text-align: center !important;
}

.about-hero-card {
  display: grid;
  gap: 16px;
  padding: 18px !important;
}

.about-hero-card-head {
  display: grid;
  gap: 8px;
}

.about-hero-card-head span,
.about-hero-person span {
  color: #8a6a12 !important;
  -webkit-text-fill-color: #8a6a12 !important;
  font: 900 .72rem 'Montserrat', Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.about-hero-card-head strong {
  color: var(--nexa-ink) !important;
  -webkit-text-fill-color: var(--nexa-ink) !important;
  font: 900 clamp(1.35rem, 2vw, 1.9rem) 'Montserrat', Arial, sans-serif;
  line-height: 1.12;
}

.about-hero-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 430px;
}

.about-hero-person {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  background: #0F172A;
  box-shadow: 0 24px 54px rgba(15,23,42,.20);
  transform: translateZ(0);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.about-hero-person img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.about-hero-person::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(3,7,18,.78));
  pointer-events: none;
}

.about-hero-person div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(3,7,18,.44);
  backdrop-filter: blur(8px) saturate(1.08);
  -webkit-backdrop-filter: blur(8px) saturate(1.08);
}

.about-hero-person strong {
  display: block;
  margin-top: 5px;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: 900 clamp(1.25rem, 2vw, 1.65rem) 'Montserrat', Arial, sans-serif;
}

.about-hero-person p {
  margin: 8px 0 0;
  color: rgba(248,250,252,.78) !important;
  -webkit-text-fill-color: rgba(248,250,252,.78) !important;
  font-size: .92rem;
  line-height: 1.5;
}

.about-hero-person:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.08);
}

.about-hero-person:hover {
  border-color: rgba(212,175,55,.52) !important;
  box-shadow: 0 30px 70px rgba(15,23,42,.26) !important;
}

.about-hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-hero-proof div {
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.09);
  background: rgba(255,255,255,.70);
}

.about-hero-proof strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nexa-ink) !important;
  -webkit-text-fill-color: var(--nexa-ink) !important;
  font: 900 .96rem 'Montserrat', Arial, sans-serif;
}

.about-hero-proof span {
  color: var(--nexa-muted) !important;
  -webkit-text-fill-color: var(--nexa-muted) !important;
  line-height: 1.5;
}

@media (max-width: 840px) {
  .nexa-footer-inner {
    grid-template-columns: 1fr;
  }

  .nexa-footer-bottom {
    flex-direction: column;
  }

  .brand img,
  .nav-logo img,
  img[src*="logo_nexa"],
  img[alt*="Nexa"] {
    height: 46px !important;
    max-width: 190px !important;
  }

  .about-hero-team,
  .about-hero-proof {
    grid-template-columns: 1fr;
  }
}

/* Preserve the homepage carousel hero. Other hero sections use the sitewide particle treatment. */
.hero.hero-gradient {
  background: #0F172A !important;
}

.hero.hero-gradient .hero-slideshow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
}

.hero.hero-gradient::before {
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(3,7,18,.56), rgba(3,7,18,.22) 46%, rgba(3,7,18,.58)),
    radial-gradient(circle at 22% 26%, rgba(212,175,55,.22), transparent 34%),
    radial-gradient(circle at 80% 62%, rgba(179,135,40,.16), transparent 34%) !important;
}

.hero.hero-gradient > .hero-content {
  position: relative !important;
  z-index: 3 !important;
}
