body {
  background: radial-gradient(circle at 10% 10%, #e8f0ff 0%, #ffffff 45%);
}

* {
  box-sizing: border-box;
}

.wp-site-blocks {
  overflow-x: clip;
}

.wp-site-blocks > * + * {
  margin-top: clamp(20px, 3vw, 34px);
}

.nexo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(1, 4, 47, 0.08);
}

.nexo-header .is-layout-flex {
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.nexo-header .wp-block-navigation {
  margin-left: auto;
}

.nexo-header .wp-block-navigation__responsive-container {
  z-index: 80;
}

.nexo-header .wp-block-navigation__responsive-container.is-menu-open {
  display: block;
}

.nexo-utility-bar {
  position: relative;
  z-index: 35;
}

.nexo-utility-bar p,
.nexo-utility-bar a {
  color: #ffffff;
  margin: 0;
  text-decoration: none;
}

.nexo-logo img {
  display: block;
  max-height: 80px;
  width: auto !important;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nexo-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  background: linear-gradient(130deg, #01042f 0%, #0f2a87 55%, #1b70ed 100%);
  color: #fff;
  box-shadow: 0 24px 56px rgba(1, 4, 47, 0.24);
  margin: 0 auto;
}

.nexo-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-bottom: 60px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.nexo-hero {
  display: flex;
  flex-direction: column;
  position: relative;
}

.nexo-hero-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  width: 100% !important;
  height: 100%;
  max-width: none !important;
  margin: 0 !important;
}

#nexo-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.72;
}

.nexo-hero .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nexo-services-section {
  width: min(100% - 24px, var(--wp--style--global--content-size));
  margin-left: auto;
  margin-right: auto;
}

.nexo-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.nexo-service-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(1, 4, 47, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 30px rgba(1, 4, 47, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  margin: 0 !important;
  padding: 20px;
}

.nexo-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b70ed 0%, #5aa3ff 100%);
}

.nexo-service-card .wp-block-heading {
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 3.1em;
}

.nexo-service-card p {
  margin: 0;
}

.nexo-service-card .has-small-font-size {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 600;
}

.nexo-service-icon-media {
  margin: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf2ff;
  border: 1px solid rgba(27, 112, 237, 0.2);
  margin-bottom: 10px;
}

.nexo-service-icon-media img {
  display: block;
  width: 22px !important;
  height: 22px !important;
}

.nexo-section-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.nexo-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1, 4, 47, 0.13);
}

.nexo-proof-strip {
  border-radius: 16px;
  border: 1px solid rgba(1, 4, 47, 0.12);
}

.nexo-proof-strip p {
  margin: 0;
  letter-spacing: 0.02em;
}

.nexo-slab {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(1, 4, 47, 0.08);
}

.nexo-process-section .wp-block-columns {
  align-items: stretch;
}

.nexo-process-section .wp-block-column {
  display: flex;
}

.nexo-process-section .nexo-slab {
  width: 100%;
  height: 100%;
}

.nexo-testimonials-section .nexo-testimonials-carousel {
  overflow: hidden;
}

.nexo-testimonials-section .wp-block-post-template {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px;
  margin: 0;
  padding: 4px 2px 10px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.nexo-testimonials-section .wp-block-post-template > li {
  min-width: calc((100% - 22px) / 2);
  max-width: calc((100% - 22px) / 2);
  scroll-snap-align: start;
  display: flex;
  align-self: stretch;
  margin: 0 !important;
}

.nexo-testimonials-section .wp-block-post-template > li .nexo-slab {
  width: 100%;
  height: 100%;
  padding: 16px !important;
  display: flex;
  flex-direction: column;
}

.nexo-testimonials-section .wp-block-post-excerpt__excerpt {
  font-size: 1.12rem;
  line-height: 1.55;
  color: #01042f;
}

.nexo-testimonials-section .wp-block-post-title {
  margin-top: 16px;
}

.nexo-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.nexo-testimonials-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  background: rgba(1, 4, 47, 0.2);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nexo-testimonials-dots button.is-active {
  background: #1b70ed;
  transform: scale(1.2);
}

.nexo-footer {
  color: #c6cff8;
}

.nexo-footer .wp-block-columns {
  gap: 1.75rem;
}

.nexo-footer .nexo-logo img {
  max-height: 80px;
}

.nexo-footer a {
  color: #ffffff;
}

.nexo-quick-quote {
  border-radius: 14px;
  color: #01042f;
}

.nexo-contact-cta {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  color: #ffffff;
}

.nexo-contact-cta .wp-block-heading {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.nexo-contact-cta .nexo-contact-cta-inner {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
}

.nexo-float-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #1b70ed;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(1, 4, 47, 0.28);
}

.nexo-float-call:hover {
  filter: brightness(1.05);
}

.nexo-chip {
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(1, 4, 47, 0.12);
  background: #f4f8ff;
  font-weight: 600;
  font-size: 0.88rem;
}

.wp-block-details {
  border: 1px solid rgba(1, 4, 47, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
  background: #ffffff;
}

.wp-block-details + .wp-block-details {
  margin-top: 10px;
}

.wp-block-details summary {
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 781px) {
  .wp-site-blocks > * + * {
    margin-top: 40px;
  }

  .nexo-hero {
    border-radius: 18px;
    min-height: 420px;
    width: calc(100% - 16px);
  }

  .nexo-services-section {
    width: calc(100% - 16px);
  }

  .nexo-contact-cta {
    width: 100% !important;
  }

  .nexo-contact-cta .nexo-contact-cta-inner {
    padding-top: 42px !important;
    padding-right: 20px !important;
    padding-bottom: 42px !important;
    padding-left: 20px !important;
  }

  .nexo-services-grid {
    grid-template-columns: 1fr;
  }

  .nexo-testimonials-section .wp-block-post-template > li {
    min-width: 100%;
    max-width: 100%;
  }

  .nexo-hero-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .nexo-logo img {
    max-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nexo-footer .wp-block-columns,
  .nexo-header .is-layout-flex {
    gap: 1rem;
  }

  .nexo-utility-bar .wp-block-buttons {
    width: 100%;
  }

  .nexo-utility-bar .wp-block-button {
    width: 100%;
  }

  .nexo-utility-bar .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .nexo-float-call {
    left: 12px;
    right: 12px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexo-service-card {
    transition: none;
  }

  .nexo-testimonials-dots button {
    transition: none;
  }
}
