:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #282828;
  --accent-color: var(--ns-red);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #ffffff;
  --nav-hover-color: var(--ns-red);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: var(--ns-red);
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--ns-red);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo h1 {
    font-size: 24px;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  --background-color: rgba(40, 40, 40, 0.9);
}

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 30%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -27px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 57px;
  }
}

.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 20px 0;
  font-size: 24px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--surface-color);
  height: 100%;
}

.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}

.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.stats {
  position: relative;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats .subheading {
  text-align: center;
}

.stats .subheading h3 {
  font-weight: 700;
  font-size: 36px;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  color: var(--accent-color);
  font-size: 42px;
  font-family: var(--default-font);
  font-weight: 500;
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 20px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  text-decoration: line-through;
}

.pricing .pricing-item .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .pricing-item .btn-buy {
  color: var(--accent-color);
  background-color: transparent;
  border: 2px solid var(--accent-color);
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .pricing-item .btn-buy:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .recommended .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .recommended .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .recommended-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  padding: 3px 25px 6px 25px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50px;
}

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.starter-section {

}

.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.blog-author-widget img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

.header .logo img {
  max-height: 40px;
  width: auto;
}

.hero .hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero .hero-slide.is-active {
  opacity: 1;
}

.hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 8000ms ease-out;
}

.hero .hero-slide.is-active img {
  transform: scale(1.15);
}

.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 12, 24, 0.72);
}

.hero .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-slide img {
    transition: none;
    transform: none !important;
  }
}

:root {
  --ns-blue: #0092e0;
  --ns-blue-dark: #0074b3;
  --ns-navy: #071c33;
  --ns-navy-soft: #0f2846;
  --ns-red: #c8202a;
  --ns-ink: #0092e0;
  --ns-ink-soft: #55637a;
  --ns-muted: #8b98ab;
  --ns-line: #e1e7f0;
  --ns-bg: #f5f8fc;
  --ns-surface: #ffffff;
  --ns-sunken: #eef3f9;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ns-ink);
  background: var(--ns-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ns-ink);
}

.section {
  padding: 120px 0;
}

@media (max-width: 992px) {
  .section { padding: 80px 0; }
}

@media (max-width: 576px) {
  .section { padding: 64px 0; }
}

.section-number {
  display: inline-block;
  font-family: "Inter", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 20px;
}
.section-number-light { color: rgba(255,255,255,0.6); }

.section-head { max-width: 780px; margin: 0 0 72px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin-bottom: 16px; }
.section-head p { font-size: 1.0625rem; color: var(--ns-ink-soft); max-width: 62ch; }

.section-head-dark { max-width: 780px; margin: 0 0 72px; }
.section-head-dark h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin-bottom: 16px; }
.section-head-dark p { color: rgba(255,255,255,0.68); font-size: 1.0625rem; max-width: 62ch; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero .hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero .hero-slide.is-active { opacity: 1; }
.hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8000ms ease-out;
}
.hero .hero-slide.is-active img { transform: scale(1.12); }

.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 12, 24, 0.72);
}
.hero .container { position: relative; z-index: 2; }

.hero-inner { max-width: 900px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ns-red);
  box-shadow: 0 0 0 4px rgba(236,28,36,0.25);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 40px;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-hero-primary {
  background: var(--ns-blue);
  color: #fff;
  border: 1px solid var(--ns-blue);
}
.btn-hero-primary:hover {
  background: var(--ns-blue-dark);
  border-color: var(--ns-blue-dark);
  color: #fff;
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}

.positioning { background: var(--ns-surface); }
.positioning-head { margin-bottom: 64px; }
.positioning-title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 16ch;
}
.lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ns-ink);
  font-weight: 500;
}
.positioning-body p { line-height: 1.75; }

.solutions { background: var(--ns-navy); }

.solutions-list {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.solution-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: padding 0.3s ease, background 0.3s ease;
  color: #fff;
}
.solution-row:hover {
  padding-left: 24px;
  background: rgba(255,255,255,0.03);
}
.solution-index {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ns-blue);
}
.solution-copy h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.solution-copy p {
  color: rgba(255,255,255,0.62);
  margin: 0;
  font-size: 0.9375rem;
  max-width: 60ch;
}
.solution-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.solution-row:hover .solution-arrow {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .solution-row { grid-template-columns: 60px 1fr auto; gap: 16px; padding: 28px 4px; }
}

.stats-band { background: var(--ns-bg); }
.stats-grid {
  border-top: 1px solid var(--ns-line);
  border-bottom: 1px solid var(--ns-line);
}
.stat-cell {
  padding: 56px 32px;
  border-right: 1px solid var(--ns-line);
  text-align: left;
}
.stat-cell:last-child { border-right: none; }
.stat-number {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ns-blue);
  line-height: 1;
  margin-bottom: 20px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  margin: 0;
}

@media (max-width: 992px) {
  .stat-cell { border-right: none; border-bottom: 1px solid var(--ns-line); padding: 40px 20px; }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stats-grid .col-lg-3:nth-child(odd) .stat-cell { border-right: 1px solid var(--ns-line); }
}

.belief { background: var(--ns-navy); }
.belief-title {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}
.belief-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}
.belief-quote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  border-left: 3px solid var(--ns-blue);
  padding-left: 24px;
  margin: 32px 0 0;
}

.featured { background: var(--ns-bg); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-panel {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.featured-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-tint {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 51, 0.5);
  transition: opacity 0.4s ease;
}
.featured-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: #fff;
}
.featured-body h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.featured-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.featured-panel:hover img { transform: scale(1.06); }
.featured-panel:hover .featured-tint { opacity: 0.35; }
.featured-panel:hover .featured-arrow {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-panel { aspect-ratio: 4 / 3; }
}

.partners { background: var(--ns-surface); padding: 100px 0; }
.partners-intro {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  margin: 0 0 56px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.partner-logo img {
  max-height: 36px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover img { filter: grayscale(0); opacity: 1; }

.impact { background: var(--ns-navy); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  padding: 40px 32px;
  background: var(--ns-navy-soft);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 118, 196, 0.5);
}
.impact-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ns-blue);
  margin-bottom: 24px;
}
.impact-card h4 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.impact-card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .impact-grid { grid-template-columns: 1fr; }
}

.timeline-section { background: var(--ns-bg); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ns-line);
}
.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.timeline-item.is-visible { opacity: 1; transform: none; }
.timeline-dot {
  position: absolute;
  top: -40px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ns-surface);
  border: 2px solid var(--ns-blue);
}
.timeline-item.is-final .timeline-dot {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
}
.timeline-year {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 12px;
}
.timeline-item h4 {
  font-size: 1.0625rem;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.timeline-item p {
  font-size: 0.9375rem;
  color: var(--ns-ink-soft);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .timeline { grid-template-columns: 1fr; gap: 40px; padding-top: 0; padding-left: 24px; }
  .timeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .timeline-dot { top: 4px; left: -24px; }
}

.portfolio.section.light-background { background: var(--ns-surface); padding: 120px 0; }
.portfolio .portfolio-filters li {
  display: inline-block;
  margin: 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  cursor: pointer;
}
.portfolio .portfolio-filters li.filter-active { color: var(--ns-blue); }

.testimonials.section.light-background { background: var(--ns-surface); padding: 120px 0; }

.cta-band { background: var(--ns-navy); padding: 140px 0; }
.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.cta-sub {
  color: rgba(255,255,255,0.68);
  font-size: 1.125rem;
  max-width: 56ch;
  margin: 0 auto 40px;
}

.contact.section { background: var(--ns-bg); padding: 120px 0; }

.footer.dark-background { background: var(--ns-navy); }
.footer .sitename { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-slide img { transition: none; transform: none !important; }
  .timeline-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .featured-panel img { transition: none; }
  .solution-row,
  .impact-card,
  .featured-panel { transition: none !important; }
}

:is(.portfolio, .partners) .logo-marquees {
  --tile-w: 240px;
  --tile-h: 120px;
  --logo-w: 70%;
  --logo-h: 80px;
  --cycle: 50s;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

:is(.portfolio, .partners) .logo-marquee {
  width: 100%;
  overflow: hidden;
}

:is(.portfolio, .partners) .logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logo-step-left var(--cycle) linear infinite;
}

:is(.portfolio, .partners) .logo-marquee-reverse .logo-track {
  animation-name: logo-step-right;
  animation-delay: calc(var(--cycle) / -10);
}

:is(.portfolio, .partners) .logo-marquee:hover .logo-track,
:is(.portfolio, .partners) .logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

:is(.portfolio, .partners) .logo-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
}

:is(.portfolio, .partners) .logo-item {
  display: flex;
  flex: 0 0 var(--tile-w);
  align-items: center;
  justify-content: center;
  height: var(--tile-h);
  padding: 0 16px;
}

:is(.portfolio, .partners) .logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

:is(.portfolio, .partners) .logo-item:hover img,
:is(.portfolio, .partners) .logo-item:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* Product logos rest partly coloured rather than fully muted; hover
   still brings them to full colour. */
.portfolio .logo-item img {
  filter: grayscale(0.55);
  opacity: 0.8;
}

:is(.portfolio, .partners) .logo-item:focus-visible {
  outline: 2px solid var(--ns-blue);
  outline-offset: -4px;
  border-radius: 12px;
}

@keyframes logo-step-left {
  0%   { transform: translateX(0); }
  16%, 20% { transform: translateX(-10%); }
  36%, 40% { transform: translateX(-20%); }
  56%, 60% { transform: translateX(-30%); }
  76%, 80% { transform: translateX(-40%); }
  96%, 100% { transform: translateX(-50%); }
}

@keyframes logo-step-right {
  0%   { transform: translateX(-50%); }
  16%, 20% { transform: translateX(-40%); }
  36%, 40% { transform: translateX(-30%); }
  56%, 60% { transform: translateX(-20%); }
  76%, 80% { transform: translateX(-10%); }
  96%, 100% { transform: translateX(0); }
}

.partners .logo-marquees {
  --cycle: 90s;          /* 10s per logo; partner-step-left has one stop per logo (9) */
  --logo-h: 72px;
}

.partners .logo-track {
  animation-name: partner-step-left;
}

@keyframes partner-step-left {
  0%        { transform: translateX(0); }
  8.89%, 11.11% { transform: translateX(-5.556%); }
  20.00%, 22.22% { transform: translateX(-11.111%); }
  31.11%, 33.33% { transform: translateX(-16.667%); }
  42.22%, 44.44% { transform: translateX(-22.222%); }
  53.33%, 55.56% { transform: translateX(-27.778%); }
  64.44%, 66.67% { transform: translateX(-33.333%); }
  75.56%, 77.78% { transform: translateX(-38.889%); }
  86.67%, 88.89% { transform: translateX(-44.444%); }
  97.78%, 100% { transform: translateX(-50.000%); }
}


.partners .logo-item img { mix-blend-mode: multiply; }

@media (max-width: 576px) {
  :is(.portfolio, .partners) .logo-marquees {
    --tile-w: 170px;
    --tile-h: 96px;
    --logo-h: 60px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.portfolio, .partners) .logo-track { animation: none; width: 100%; }
  :is(.portfolio, .partners) .logo-group[aria-hidden="true"] { display: none; }
  :is(.portfolio, .partners) .logo-group { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100%; }
  :is(.portfolio, .partners) .logo-item img { transition: none; }
  :is(.portfolio, .partners) .logo-item:hover img,
  :is(.portfolio, .partners) .logo-item:focus-visible img { transform: none; }
}

.hero {
  flex-direction: column;
  align-items: stretch;
  padding: 140px 0 0;
  min-height: 100vh;
  min-height: 100svh;
  --slide-time: 6s;
}

.hero .hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 56px;
}

.hero .hero-inner { width: 100%; }

.hero .hero-title { text-wrap: balance; }

.hero .hero-accent { color: var(--ns-blue); }

.hero .btn-hero-primary svg { transition: transform 0.2s ease; }
.hero .btn-hero-primary:hover svg { transform: translateX(3px); }

.hero .hero-foot {
  position: relative;
  z-index: 2;
  padding-bottom: 36px;
}

.hero .hero-sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hero .hero-sectors li { position: relative; }

.hero .hero-sectors li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero .hero-sectors li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--ns-blue);
}

.hero .hero-sectors li.is-active::after {
  animation: hero-sector-progress var(--slide-time) linear forwards;
}

@keyframes hero-sector-progress {
  from { width: 0; }
  to   { width: 100%; }
}

.hero .hero-sectors a {
  display: block;
  padding: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s ease;
}

.hero .hero-sectors li.is-active a,
.hero .hero-sectors a:hover,
.hero .hero-sectors a:focus-visible {
  color: #fff;
}

.hero .hero-sector-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .hero-sector-product {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .hero .hero-sectors {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
  .hero .hero-foot { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-sectors li.is-active::after { animation: none; width: 100%; }
  .hero .btn-hero-primary svg { transition: none; }
}

.hero:before { content: none; }

.hero .hero-scrim { background: rgba(4, 12, 24, var(--hero-scrim, 0.5)); }

.hero .hero-title,
.hero .hero-sub { text-shadow: 0 2px 28px rgba(4, 12, 24, 0.4); }

.site-header {
  --header-h: 76px;
  --bar-pad: clamp(16px, 4.5vw, 72px);
  --panel-gap: var(--bar-pad);
  --nav-accent: #ec1c24;
  --tint-blue: #0082cf;
  --tint-red: #ec1c24;
  --nav-font: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--nav-font);
  height: var(--header-h);
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s ease;
}

.header.site-header { background-color: var(--tint-blue); }

.index-page .header.site-header:not(.is-scrolled):not(.has-open-menu):not(.is-nav-open) {
  background-color: transparent;
}

.header.site-header.is-scrolled,
.header.site-header.has-open-menu,
.header.site-header.is-nav-open {
  --header-fg: var(--ns-navy);
  --header-border-color: rgba(7, 28, 51, 0.35);
  background-color: #ffffff;
  border-bottom-color: rgba(7, 28, 51, 0.08);
}

.header.site-header.is-hidden { transform: translateY(-100%); }

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 var(--bar-pad);
}

.site-header .logo {
  --logo-h: 44px;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
}
.site-header .logo img {
  height: var(--logo-h);
  max-height: none;
  width: auto;
  max-width: none;
  margin: 0 calc(var(--logo-h) * -1.365);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  line-height: 1;
  color: var(--header-fg, #fff);
  background: transparent;
  border: 1px solid var(--header-border-color, rgba(255, 255, 255, 0.35));
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-search__toggle:hover,
.site-search__toggle[aria-expanded="true"] {
  color: var(--nav-accent);
  border-color: var(--nav-accent);
}
.site-search__toggle:focus-visible {
  outline: 2px solid var(--header-fg, #fff);
  outline-offset: 3px;
}

.site-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  font-size: 30px;
  line-height: 1;
  color: var(--header-fg, #fff);
  cursor: pointer;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: static;
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--header-fg, #fff);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__item.is-open > .site-nav__link,
.site-nav__item.is-current > .site-nav__link { color: var(--nav-accent); }

.site-nav__link:focus-visible {
  outline: 2px solid var(--header-fg, #fff);
  outline-offset: -4px;
  border-radius: 6px;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: var(--panel-gap);
  right: var(--panel-gap);
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-y: auto;
  color: var(--ns-navy);
  background: #fff;
  border: 1px solid rgba(0, 130, 207, 0.3);
  border-top: 0;
  box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.site-nav__item.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-media {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tint-blue);
}
.nav-media--red { background: var(--tint-red); }
.nav-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(1.1);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ns-navy);
  transition: color 0.2s ease;
}
.nav-link-item i {
  flex: 0 0 24px;
  font-size: 22px;
  line-height: 1;
  color: var(--nav-accent);
}
.nav-link-item:hover { color: var(--ns-blue-dark); }

.nav-panel--links {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.nav-panel--links.nav-panel--insights {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
.nav-panel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  align-content: center;
  padding: 32px 40px;
}
.nav-panel--insights .nav-panel__links {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-flow: row;
}
.nav-panel__media {
  min-height: 285px;
  border-top-left-radius: 56px;
}

.nav-panel--cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.nav-col {
  display: block;
  padding: 32px 18px 36px;
  color: var(--ns-navy);
  border-right: 1px solid var(--ns-line);
  transition: background 0.2s ease;
}
.nav-col:last-child { border-right: 0; }
.nav-col:hover {
  color: var(--ns-navy);
  background: var(--ns-bg);
}
.nav-col__icon {
  display: block;
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1;
  color: var(--nav-accent);
}
.nav-col__title {
  display: block;
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ns-blue-dark);
}
.nav-col__text {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ns-navy);
}

.nav-panel--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 40px;
}
.nav-card { display: block; color: var(--ns-navy); }
.nav-card:hover { color: var(--ns-navy); }
.nav-card .nav-media {
  aspect-ratio: 27 / 15;
  border-top-right-radius: 44px;
}
.nav-card:hover .nav-media img { transform: scale(1.06); }
.nav-card__title {
  display: block;
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ns-blue-dark);
  transition: color 0.2s ease;
}
.nav-card:hover .nav-card__title { color: var(--nav-accent); }

.nav-panel--contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 48px;
  padding: 40px;
}
.nav-contact__title {
  margin: 0 0 22px;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ns-blue-dark);
}
.nav-contact__label {
  display: block;
  margin: 22px 0 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ns-blue-dark);
}
.nav-contact__title + .nav-contact__label { margin-top: 0; }
.nav-contact__text {
  display: block;
  margin: 0;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--ns-navy);
}
a.nav-contact__text:hover { color: var(--ns-blue-dark); }
.nav-contact__social {
  display: flex;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}
.nav-contact__social a { color: var(--ns-navy); }
.nav-contact__social a:hover { color: var(--nav-accent); }

.nav-field {
  display: block;
  width: 100%;
  padding: 14px 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(7, 28, 51, 0.2);
  border-radius: 0;
  outline: 0;
  resize: none;
  transition: border-color 0.2s ease;
}
.nav-field::placeholder { color: rgba(7, 28, 51, 0.75); }
.nav-field:focus { border-bottom-color: var(--ns-blue-dark); }

.nav-form__submit {
  margin-top: 22px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #ec1c24;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-form__submit:hover { background: color-mix(in srgb, #ec1c24, #000 14%); }
.nav-panel--contact .php-email-form .loading,
.nav-panel--contact .php-email-form .error-message,
.nav-panel--contact .php-email-form .sent-message {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 0.875rem;
}

.nav-contact__map {
  position: relative;
  min-height: 320px;
  background: var(--ns-bg);
}
.nav-contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-search {
  position: absolute;
  top: 100%;
  left: var(--panel-gap);
  right: var(--panel-gap);
  padding: 28px 40px 32px;
  background: #fff;
  border: 1px solid rgba(0, 130, 207, 0.3);
  border-top: 0;
  box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.site-search.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-search__form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--ns-navy);
}
.site-search__input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  font-family: inherit;
  font-size: 1.125rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.site-search__input::placeholder { color: rgba(7, 28, 51, 0.55); }
.site-search__submit {
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--nav-accent);
  background: none;
  border: 0;
  cursor: pointer;
}
.site-search__results {
  max-height: min(50vh, 380px);
  margin: 18px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.site-search__results a {
  display: block;
  padding: 12px 0;
  color: var(--ns-navy);
  border-bottom: 1px solid var(--ns-line);
}
.site-search__results a:hover { color: var(--ns-navy); background: var(--ns-bg); }
.site-search__results strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ns-blue-dark);
}
.site-search__results span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ns-ink-soft);
}
.site-search__empty {
  padding: 12px 0;
  font-size: 0.875rem;
  color: var(--ns-ink-soft);
}

@media (max-width: 1199.98px) {
  .site-header {
    --header-h: 68px;
    --panel-gap: 0px;
  }

  .site-header__bar { grid-template-columns: 1fr auto; }

  .site-nav__toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px 0 28px;
    background: var(--ns-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* The open header turns white and sets navy text; links in this
       navy drawer need to stay white. */
    --header-fg: #fff;
  }
  .site-header.is-nav-open .site-nav { display: block; }
  body.nav-open { overflow: hidden; }

  .site-nav__list { flex-direction: column; align-items: stretch; }

  .site-nav__item {
    display: block;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 18px 24px;
  }

  .nav-panel {
    position: static;
    display: none;
    max-height: none;
    margin: 0 16px 16px;
    overflow: visible;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__item.is-open > .nav-panel { display: grid; }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols,
  .nav-panel--contact { grid-template-columns: minmax(0, 1fr); }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    padding: 12px 20px;
  }
  .nav-panel__media { display: none; }

  .nav-col {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--ns-line);
  }
  .nav-col:last-child { border-bottom: 0; }
  .nav-col__icon { margin-bottom: 12px; font-size: 36px; }

  .nav-panel--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    padding: 16px;
  }
  .nav-card .nav-media { border-top-right-radius: 28px; }
  .nav-card__title { margin-top: 12px; font-size: 0.9375rem; }

  .nav-panel--contact { gap: 28px; padding: 24px 20px; }
  .nav-contact__map { display: none; }

  .site-search { padding: 20px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-panel,
  .site-search,
  .site-nav__link,
  .nav-media img { transition: none; }
}

.site-footer {
  --brand-blue: #0082cf;
  --brand-red: #ec1c24;
  --footer-bg: var(--brand-blue);
  color: #fff;
}

.site-footer a { color: inherit; }

.site-footer__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 40px;
  background: var(--footer-bg);
}

.site-footer__art {
  position: absolute;
  z-index: -1;
  height: auto;
  pointer-events: none;
}
.site-footer__art--tl { top: 0; left: 0; width: clamp(170px, 22vw, 320px); }
.site-footer__art--br { right: 0; bottom: 0; width: clamp(190px, 26vw, 380px); }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
}

.site-footer__label {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__logo {
  --logo-h: 56px;
  display: block;
  width: fit-content;
  max-width: 100%;
}
.site-footer__logo img {
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
}

.site-footer .site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 280px;
  height: 44px;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-red);
  border-radius: 999px;
  box-shadow: 0 12px 26px -14px rgba(7, 28, 51, 0.6);
  transition: background 0.2s ease;
}
.site-footer .site-footer__cta:hover {
  color: #fff;
  background: color-mix(in srgb, var(--brand-red), #000 14%);
}
.site-footer__cta svg { transition: transform 0.2s ease; }
.site-footer__cta:hover svg { transform: translateX(4px); }

.site-footer .site-footer__phone {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
}

.site-footer__emails {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__social {
  display: flex;
  gap: 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.site-footer .site-footer__social a {
  display: inline-flex;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer .site-footer__social a:hover {
  color: var(--ns-navy);
  transform: translateY(-2px);
}

.site-footer__address {
  margin: 14px 0 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.site-footer__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .site-footer__links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #fff;
}

.site-footer a.site-footer__arrow-link {
  position: relative;
  transition: padding-left 0.2s ease;
}
.site-footer a.site-footer__arrow-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.85em;
  height: 0.85em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec1c24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.site-footer a.site-footer__arrow-link:hover,
.site-footer a.site-footer__arrow-link:focus-visible {
  padding-left: 1.3em;
}
.site-footer a.site-footer__arrow-link:hover::before,
.site-footer a.site-footer__arrow-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer__bottom {
  padding: 14px 0 16px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #fff;
  background: var(--ns-navy);
}
.site-footer__bottom p { margin: 0; }

.site-footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}
.site-footer__copy img {
  display: block;
  height: 26px;
  width: auto;
}

@media (max-width: 1199px) {
  .site-footer__main { padding: 44px 0 36px; }
  .site-footer__grid { gap: 32px; }
  .site-footer__logo { --logo-h: 52px; }
  .site-footer__art { opacity: 0.6; }
}

@media (max-width: 991.98px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__nav { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
  .site-footer__main { padding: 36px 0 32px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__logo { --logo-h: 46px; }
  .site-footer__copy img { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer a::before,
  .site-footer__cta svg { transition: none !important; }
  .site-footer__cta:hover svg { transform: none !important; }
}

.scroll-top {
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 28px -10px rgba(7, 28, 51, 0.55);
}
.scroll-top i {
  font-size: 30px;
  color: #0082cf;
}
.scroll-top:hover {
  background-color: #0082cf;
}
.scroll-top:hover i { color: #fff; }
:root {
  --section-y: 56px;
  --section-title-gap: 32px;
}

.section:not(.hero),
.partners,
.portfolio.section.light-background,
.testimonials.section.light-background,
.contact.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-title {
  padding-bottom: var(--section-title-gap);
}

@media (max-width: 992px) {
  :root {
    --section-y: 48px;
    --section-title-gap: 28px;
  }
}

@media (max-width: 576px) {
  :root {
    --section-y: 40px;
    --section-title-gap: 24px;
  }
}
:root {
  --font-dm: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --default-font: var(--font-dm);
  --heading-font: var(--font-dm);
  --nav-font: var(--font-dm);
}

body {
  font-family: var(--font-dm);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-dm);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-number { font-family: var(--font-dm); }

.hero-title {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead-text { font-weight: 400; }

.section-title h2,
.services .service-item h3,
.call-to-action h3,
.features .features-item h4,
.stats .subheading h3,
.stats .stats-item span,
.stats .stats-item p,
.contact .info-item h3 {
  font-weight: 500;
}
.positioning-panel {
  --pos-overlay: 0.25;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 260px;
  padding: 48px 40px;
  overflow: hidden;
  background: #ec1c24;
  border-top-right-radius: 44px;
}

.positioning-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  mix-blend-mode: multiply;
}

.positioning-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 0, 4, var(--pos-overlay));
}

.positioning-panel .positioning-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  color: #8fd4ff;
}

@media (max-width: 991.98px) {
  .positioning-panel {
    min-height: 200px;
    padding: 36px 28px;
    border-top-right-radius: 32px;
  }
}
.values-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values-card {
  --tint: var(--ns-blue);
  --values-overlay: 0.2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 40px 32px;
  overflow: hidden;
  color: #fff;
  background: var(--tint);
}

.values-card--blue { --tint: var(--ns-blue); }
.values-card--red { --tint: #ec1c24; }

.values-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.values-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, var(--values-overlay));
}

.values-card:hover .values-card__bg { transform: scale(1.06); }

.values-card__icon {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: #fff;
}

.values-card__title {
  margin: 28px 0 14px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.values-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #fff;
}

/* White variant: a quiet counterpart to the blue cards. Navy text on
   white, the photo shrunk to a small duotone-blue inset (the ::before
   square is the blue it multiplies onto), and red only as accents:
   a thin top rule and the icon. */
.values-card--white {
  --inset: 88px;
  color: var(--ns-navy);
  background: #fff;
  box-shadow: inset 0 3px 0 #ec1c24, inset 0 0 0 1px var(--ns-line);
}
.values-card--white .values-card__bg,
.values-card--white::before {
  inset: 32px 32px auto auto;
  width: var(--inset);
  height: var(--inset);
  border-radius: 18px;
}
.values-card--white::before { background: var(--ns-blue); }
.values-card--white .values-card__bg { z-index: 0; }
.values-card--white .values-card__icon { color: #ec1c24; }
.values-card--white .values-card__title { color: var(--ns-navy); }
.values-card--white .values-card__text { color: var(--ns-ink-soft); }

@media (max-width: 991.98px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-card { min-height: 320px; }
}

@media (max-width: 575.98px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .values-card { min-height: 0; padding: 32px 24px; }
  .values-card--white { --inset: 64px; }
  .values-card--white .values-card__bg,
  .values-card--white::before { inset: 24px 24px auto auto; }
  .values-title { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .values-card__bg { transition: none; }
  .values-card:hover .values-card__bg { transform: none; }
}
.page-banner {
  position: relative;
  isolation: isolate;
  padding: 150px 0 64px;
  overflow: hidden;
  color: #fff;
  background: var(--ns-navy);
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 12, 24, 0.66);
}

.page-banner__crumbs {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.page-banner__crumbs a { color: #fff; }
.page-banner__crumbs a:hover { color: #fff; text-decoration: underline; }

.page-banner__title {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: #fff;
}

.page-banner__lead {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 130px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 116px 0 48px; }
}

.section-more {
  margin-top: 36px;
  text-align: center;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #ec1c24;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.btn-more:hover {
  color: #fff;
  background: color-mix(in srgb, #ec1c24, #000 14%);
}
.btn-more svg { transition: transform 0.2s ease; }
.btn-more:hover svg { transform: translateX(4px); }

.solution-panel {
  --tint: var(--ns-blue);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
  min-height: 300px;
  padding: 40px;
  color: #fff;
  background: var(--tint);
  border-top-right-radius: 44px;
}
.solution-panel--red { --tint: #ec1c24; }
.solution-panel i {
  display: block;
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1;
}
.solution-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #fff;
}
.solution-block .lead-text { margin-bottom: 24px; }

.product-group__title {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: var(--ns-blue);
  transform: translateY(-3px);
}

.product-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 22px;
}
.product-card__logo img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 72px;
  object-fit: contain;
}

.product-card__name {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.product-card__text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ns-ink-soft);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ec1c24;
}
.product-card__link:hover { color: color-mix(in srgb, #ec1c24, #000 14%); }
.product-card__link svg { transition: transform 0.2s ease; }
.product-card__link:hover svg { transform: translateX(4px); }

.team-member { width: 100%; }
.team-member img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-top-right-radius: 44px;
}
.member-info { padding-top: 18px; }
.member-info h4 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.member-info span {
  font-size: 0.9375rem;
  color: var(--ns-ink-soft);
}

.contact-map {
  display: block;
  width: 100%;
  height: 360px;
  margin-top: 40px;
  border: 0;
}

.nav-contact__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ns-blue-dark);
}
.nav-contact__more:hover { color: var(--nav-accent); }

@media (max-width: 991.98px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-panel { min-height: 220px; padding: 32px; }
}

@media (max-width: 575.98px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-map { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .btn-more svg,
  .product-card__link svg { transition: none; }
  .product-card:hover,
  .btn-more:hover svg,
  .product-card__link:hover svg { transform: none; }
}
.page-banner {
  position: relative;
  isolation: isolate;
  padding: 140px 0 72px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #0082cf;
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 46%;
  background-color: transparent;
  background-size: 13px 13px;
  pointer-events: none;
}

.page-banner::before {
  left: 0;
  right: auto;
  background-image: radial-gradient(circle, #0092e0 2px, transparent 2.5px);
  -webkit-mask-image: radial-gradient(ellipse 100% 140% at 0% 30%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 100% 140% at 0% 30%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
}

.page-banner::after {
  right: 0;
  background-image: radial-gradient(circle, #ec1c24 2px, transparent 2.5px);
  -webkit-mask-image: radial-gradient(ellipse 100% 140% at 100% 70%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 100% 140% at 100% 70%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
}

.page-banner__title {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-banner__lead {
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.page-banner__crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.page-banner__crumbs a { color: #fff; }
.page-banner__crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.page-banner__crumbs [aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 120px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 108px 0 48px; }
  .page-banner::before,
  .page-banner::after { width: 70%; }
}
.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-tile {
  --tint: var(--ns-blue);
  --tile-overlay: 0.2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 32px 28px;
  overflow: hidden;
  color: #fff;
  background: var(--tint);
}
.service-tile:hover { color: #fff; }

.service-tile--blue { --tint: var(--ns-blue); }
.service-tile--red { --tint: #ec1c24; }

.service-tile__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, var(--tile-overlay));
}

.service-tile:hover .service-tile__bg { transform: scale(1.06); }

.service-tile__num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.65);
}

.service-tile__icon {
  display: block;
  margin-top: auto;
  font-size: 44px;
  line-height: 1;
  color: #fff;
}

.service-tile__title {
  margin: 22px 0 12px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.service-tile__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #fff;
}

.service-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.service-tile__more svg { transition: transform 0.2s ease; }
.service-tile:hover .service-tile__more svg { transform: translateX(6px); }

/* White variant: see .values-card--white. */
.service-tile--white {
  --inset: 96px;
  color: var(--ns-navy);
  background: #fff;
  box-shadow: inset 0 3px 0 #ec1c24, inset 0 0 0 1px var(--ns-line);
}
.service-tile--white:hover { color: var(--ns-navy); }
.service-tile--white .service-tile__bg,
.service-tile--white::before {
  inset: 32px 28px auto auto;
  width: var(--inset);
  height: var(--inset);
  border-radius: 18px;
}
.service-tile--white::before { background: var(--ns-blue); }
.service-tile--white .service-tile__bg { z-index: 0; }
.service-tile--white .service-tile__num { color: color-mix(in srgb, var(--ns-navy), transparent 82%); }
.service-tile--white .service-tile__icon { color: #ec1c24; }
.service-tile--white .service-tile__title { color: var(--ns-navy); }
.service-tile--white .service-tile__text { color: var(--ns-ink-soft); }
.service-tile--white .service-tile__more { color: #ec1c24; }

@media (max-width: 991.98px) {
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile { min-height: 400px; }
}

@media (max-width: 575.98px) {
  .service-tiles { grid-template-columns: minmax(0, 1fr); }
  .service-tile { min-height: 320px; padding: 28px 24px; }
  .service-tile--white { --inset: 72px; }
  .service-tile--white .service-tile__bg,
  .service-tile--white::before { inset: 28px 24px auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile__bg,
  .service-tile__more svg { transition: none; }
  .service-tile:hover .service-tile__bg,
  .service-tile:hover .service-tile__more svg { transform: none; }
}
.achievements.section { background: var(--ns-bg); }

.achievements__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: stretch;
}

.achievements__numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-right: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  border-right: 1px solid var(--ns-line);
  border-bottom: 1px solid var(--ns-line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }

.stat__num {
  display: block;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ns-blue);
}
.stat__num::after { content: attr(data-suffix); }
.stat:nth-child(2) .stat__num,
.stat:nth-child(3) .stat__num { color: #0082cf; /* logo blue */ }

.stat__label {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ns-ink-soft);
}

.achievements__panel {
  --panel-overlay: 0.25;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 44px 40px;
  overflow: hidden;
  color: #fff;
  background: #0082cf; /* logo blue */
  border-top-left-radius: 44px;
}

.achievements__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  mix-blend-mode: multiply;
}

.achievements__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 0, 4, var(--panel-overlay));
}

.achievements__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
}

.achievements__sub {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 991.98px) {
  .achievements__grid { grid-template-columns: minmax(0, 1fr); }
  .achievements__panel {
    order: -1;
    min-height: 240px;
    padding: 36px 28px;
    border-top-left-radius: 0;
    border-top-right-radius: 32px;
  }
  .achievements__numbers { border-right: 1px solid var(--ns-line); border-top: 0; }
}

@media (max-width: 575.98px) {
  .stat { padding: 28px 20px; }
}
.partners-lead {
  margin: 0 0 var(--section-title-gap);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e51a22;
}

@media (max-width: 575.98px) {
  .partners-lead {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
}
.expertise.section { background: var(--ns-bg); }

.expertise__head { margin-bottom: 40px; }

.expertise__title {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.expertise__intro {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ns-navy);
}

.expertise__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--ns-line);
}

.expertise__tab {
  padding: 18px 12px 20px;
  font-family: inherit;
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--ns-blue-dark);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.expertise__tab:hover { color: var(--ns-blue); }
.expertise__tab.is-active { border-bottom-color: #ec1c24; }
.expertise__tab:focus-visible {
  outline: 2px solid var(--ns-blue-dark);
  outline-offset: -4px;
}

.expertise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 40px;
  background: var(--ns-surface);
}
.expertise-panel[hidden] { display: none; }

.expertise-panel__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.expertise-panel__text h3 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.2;
}

.expertise-panel__text p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ns-navy);
}

.expertise-panel__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e51a22;
}
.expertise-panel__link:hover { color: color-mix(in srgb, #e51a22, #000 14%); }
.expertise-panel__link svg { transition: transform 0.2s ease; }
.expertise-panel__link:hover svg { transform: translateX(5px); }

.expertise-panel__media {
  --tint: var(--ns-blue);
  position: relative;
  isolation: isolate;
  min-height: 380px;
  overflow: hidden;
  background: var(--tint);
  border-top-right-radius: 44px;
}
.expertise-panel__media--red { --tint: #ec1c24; }

.expertise-panel__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
}

.expertise-panel__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, 0.15);
}

/* White variant: the photo sits as a duotone-blue inset inside a
   white frame instead of a full-bleed wash; a short red rule under
   it is the only red. */
.expertise-panel__media--white {
  --frame: 32px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ns-line);
}
.expertise-panel__media--white img,
.expertise-panel__media--white::before {
  inset: var(--frame) auto auto var(--frame);
  width: calc(100% - 2 * var(--frame));
  height: calc(100% - 2 * var(--frame) - 20px);
  border-top-right-radius: 28px;
}
.expertise-panel__media--white::before { background: var(--ns-blue); }
.expertise-panel__media--white img { z-index: 0; }
.expertise-panel__media--white::after {
  content: "";
  position: absolute;
  left: var(--frame);
  bottom: var(--frame);
  width: 56px;
  height: 4px;
  background: #ec1c24;
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .expertise__tabs {
    display: flex;
    overflow-x: auto;
  }
  .expertise__tab {
    flex: 0 0 auto;
    padding: 16px 20px 18px;
    white-space: nowrap;
  }
  .expertise-panel { grid-template-columns: minmax(0, 1fr); }
  .expertise-panel__media {
    order: -1;
    min-height: 240px;
    border-top-right-radius: 32px;
  }
  .expertise-panel__media--white { --frame: 20px; }
  .expertise-panel__text { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .expertise__tab,
  .expertise-panel__link svg { transition: none; }
  .expertise-panel__link:hover svg { transform: none; }
}
.wwa__text .wwa__lead {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ns-navy);
}
.wwa__text p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ns-navy);
}

.wwa-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-top-right-radius: 44px;
}
.wwa-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  padding: 28px;
  color: #fff;
}
.wwa-stat--blue { background: var(--ns-blue-dark); }
.wwa-stat--red { background: #dc171e; }
.wwa-stat__num {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.wwa-stat__num::after { content: attr(data-suffix); }
.wwa-stat__label {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.4;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mosaic__cell {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  overflow: hidden;
}
.mosaic__tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  color: #fff;
}
.mosaic__tile--blue { background: var(--ns-blue-dark); }
.mosaic__tile--red { background: #dc171e; }
.mosaic__tile--white {
  background: #fff;
  color: var(--ns-navy);
  box-shadow: inset 0 0 0 1px var(--ns-line);
}
.mosaic__tile--navy { background: var(--ns-navy); }

.mosaic__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic__photo:hover img { transform: scale(1.06); }

.mosaic__icon {
  display: block;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1;
}
.mosaic__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mosaic__tile--white .mosaic__icon,
.mosaic__tile--white .mosaic__label { color: var(--ns-blue-dark); }

.mosaic__text {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}
.mosaic__text--small {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
.mosaic__list {
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ns-navy);
}
.mosaic__list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 50%;
  background: #dc171e;
}
.mosaic__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e51a22;
}
.mosaic__link:hover { color: color-mix(in srgb, #e51a22, #000 14%); }

.expertise__tabs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.expertise-panel__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 64px;
  margin: 0 0 22px;
}

.trust__title {
  margin: 0 0 32px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.12;
}
.trust__item { border-bottom: 1px solid var(--ns-line); }
.trust__item:first-child { border-top: 1px solid var(--ns-line); }
.trust__item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ns-blue-dark);
  cursor: pointer;
  list-style: none;
}
.trust__item summary::-webkit-details-marker { display: none; }
.trust__item summary::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec1c24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.trust__item[open] summary::before { transform: rotate(180deg); }
.trust__item summary:focus-visible {
  outline: 2px solid var(--ns-blue-dark);
  outline-offset: 2px;
}
.trust__item p {
  max-width: 60ch;
  margin: 0 0 24px 36px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ns-navy);
}

@media (max-width: 991.98px) {
  .expertise__tabs--two .expertise__tab {
    flex: 1 1 50%;
    padding: 14px 10px 16px;
    white-space: normal;
  }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__cell { min-height: 240px; }
  .mosaic > :nth-child(1) { order: 1; }
  .mosaic > :nth-child(2) { order: 2; }
  .mosaic > :nth-child(3) { order: 4; }
  .mosaic > :nth-child(4) { order: 3; }
  .mosaic > :nth-child(5) { order: 6; }
  .mosaic > :nth-child(6) { order: 5; }
  .mosaic > :nth-child(7) { order: 7; }
  .mosaic > :nth-child(8) { order: 8; }
  .wwa-stat { min-height: 160px; }
}

@media (max-width: 575.98px) {
  .mosaic__cell { min-height: 210px; }
  .mosaic__tile { padding: 22px 18px; }
  .mosaic__icon { margin-bottom: 12px; font-size: 34px; }
  .mosaic__label { font-size: 0.75rem; }
  .mosaic__text { font-size: 1.125rem; }
  .mosaic__text--small { font-size: 0.875rem; }
  .mosaic__list { font-size: 1.125rem; }
  .wwa-stat { min-height: 140px; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic__photo img,
  .trust__item summary::before { transition: none; }
  .mosaic__photo:hover img { transform: none; }
}
.mosaic__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.mosaic__photo:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.expertise-panel--service-cops {
  --partner-primary: #1c5ca8;
  --partner-accent: #a31f2f;
}
.expertise-panel--neptune {
  --partner-primary: #1b2a4a;
  --partner-accent: #2aa9c7;
}

.expertise-panel__text h3 {
  color: var(--partner-primary, var(--ns-blue-dark));
}

.expertise-panel__link {
  color: var(--partner-accent, #e51a22);
}
.expertise-panel__link:hover {
  color: color-mix(in srgb, var(--partner-accent, #e51a22), #000 14%);
}

.expertise-panel__media--service-cops { --tint: #1c5ca8; }
.expertise-panel__media--neptune { --tint: #2aa9c7; }

#tab-service-cops.is-active { border-bottom-color: #a31f2f; }
#tab-service-cops:hover { color: #1c5ca8; }

#tab-neptune.is-active { border-bottom-color: #2aa9c7; }
#tab-neptune:hover { color: #1b2a4a; }
.expertise-panel__logo {
  display: block;
  align-self: flex-start;
  width: auto;
  height: auto;
  max-width: 280px;
  max-height: 96px;
  object-fit: contain;
  margin: 0 0 22px;
}
.product-rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.product-row--reverse .product-row__art { order: 2; }
.product-row--reverse .product-row__body { order: 1; }

.product-row__art {
  display: flex;
  justify-content: center;
}
.product-row__art img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

/* Placeholder art until the real transparent cutout is ready */
.product-row__art--placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px dashed var(--ns-line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-sunken);
}
.product-row__art--placeholder i {
  font-size: 64px;
  color: var(--ns-muted);
}

/* Photo (non-cutout) fallback — used for Egret/Lodge.jpg */
.product-row__art--photo img {
  max-width: 360px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.product-row__body {
  max-width: 440px;
}
.product-row__logo {
  display: block;
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 200px;
  margin: 0 0 20px;
}
.product-row__body h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}
.product-row__body p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ns-ink-soft);
}

@media (max-width: 767.98px) {
  .product-row,
  .product-row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    text-align: center;
  }
  .product-row--reverse .product-row__art,
  .product-row--reverse .product-row__body,
  .product-row .product-row__art,
  .product-row .product-row__body {
    order: initial;
  }
  .product-row__art img,
  .product-row__art--photo img { max-width: 260px; }
  .product-row__body { max-width: none; margin: 0 auto; }
  .product-row__logo { margin-left: auto; margin-right: auto; }
}
.solution-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.solution-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
  mix-blend-mode: multiply;
}

.solution-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .solution-panel__bg { transition: none; }
}
.solution-block {
  background: var(--ns-bg);
}
.btn-more--live svg {
  animation: btn-more-nudge 1.7s ease-in-out infinite;
}
.btn-more--live:hover svg {
  animation-play-state: paused;
}
@keyframes btn-more-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-more--live svg { animation: none; }
}
.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 116, 179, 0.9) 0%,
    rgba(0, 116, 179, 0.75) 30%,
    rgba(0, 116, 179, 0.35) 55%,
    rgba(0, 116, 179, 0.08) 75%,
    rgba(0, 116, 179, 0) 92%
  );
}
.hero .hero-slide.is-active img { transform: scale(1.03); }
/* Dynamic hero content: crossfades headline, sub-copy and CTA label in sync
   with the slideshow (handled by main.js). */
.hero-headline-text,
.hero-sub-text,
.hero-cta-text {
  display: inline-block;
  transition: opacity 0.35s ease;
}
.hero-headline-text.is-fading,
.hero-sub-text.is-fading,
.hero-cta-text.is-fading {
  opacity: 0;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 0 36px;
  text-shadow: 0 2px 28px rgba(4, 12, 24, 0.4);
}

/* Red, self-nudging hero CTA — points toward whichever product is on screen */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  background: #ec1c24;
  border: 1px solid #ec1c24;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-hero-cta:hover {
  color: #fff;
  background: color-mix(in srgb, #ec1c24, #000 14%);
  border-color: color-mix(in srgb, #ec1c24, #000 14%);
}
.btn-hero-cta svg {
  animation: btn-more-nudge 1.7s ease-in-out infinite;
}
.btn-hero-cta:hover svg {
  animation-play-state: paused;
}

/* Slow the Ken Burns zoom to match the slower slide interval (9s) */
.hero .hero-slide img {
  transition: transform 9000ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline-text,
  .hero-sub-text,
  .hero-cta-text { transition: none; }
  .btn-hero-cta svg { animation: none; }
}
/* ── Round hero buttons ─────────────────────────────────────────── */
.btn-hero-primary,
.btn-hero-ghost,
.btn-hero-cta {
  border-radius: 999px;
}

/* ── Slower, sliding text crossfade (was instant opacity-only) ────── */
.hero-headline-text,
.hero-sub-text,
.hero-cta-text {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-headline-text.is-fading,
.hero-sub-text.is-fading,
.hero-cta-text.is-fading {
  opacity: 0;
  transform: translateY(8px);
}
.hero-sector-tag__text {
  transition: opacity 0.6s ease;
}

/* ── Hero headline in HealthPal's rounded display font ─────────────── */
.hero-title {
  font-family: "Fredoka", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
}

/* ── Bold nav links, green on hover instead of red ─────────────────── */
:root {
  --nav-hover-green: #22c55e;
}
.site-nav__link {
  font-weight: 700;
}
.site-nav__link:hover {
  color: var(--nav-hover-green);
}

/* ── Dual logo: white by default, red once the header is scrolled ──── */
.site-header .logo {
  position: relative;
}
.site-header .logo img {
  transition: opacity 0.25s ease;
}
.site-header .logo:has(.logo-img--light) {
  overflow: visible;
}
.site-header .logo .logo-img--light {
  margin: 0;
}
.site-header .logo .logo-img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.header.site-header.is-scrolled .logo-img--light,
.header.site-header.has-open-menu .logo-img--light,
.header.site-header.is-nav-open .logo-img--light {
  opacity: 0;
}
.header.site-header.is-scrolled .logo-img--dark,
.header.site-header.has-open-menu .logo-img--dark,
.header.site-header.is-nav-open .logo-img--dark {
  opacity: 1;
}

/* ── Desktop nav flyout: right-side drawer instead of a below-nav
       dropdown (mobile hamburger nav is untouched) ───────────────────── */
@media (min-width: 1200px) {
  .nav-panel {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    bottom: 0;
    width: min(420px, 92vw);
    max-height: none;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid rgba(7, 28, 51, 0.08);
    box-shadow: -30px 0 60px -30px rgba(7, 28, 51, 0.45);
    transform: translateX(100%);
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    z-index: 998;
  }
  .site-nav__item.is-open > .nav-panel {
    transform: translateX(0);
  }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols,
  .nav-panel--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    padding: 28px 28px 8px;
  }

  .nav-panel__media {
    min-height: 200px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .nav-col {
    padding: 22px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--ns-line);
  }
  .nav-col:last-child { border-bottom: 0; }
  .nav-col__icon { margin-bottom: 12px; font-size: 36px; }

  .nav-panel--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
  }

  .nav-panel--contact {
    display: block;
    padding: 0;
  }
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form {
    padding: 24px 28px;
  }
  .nav-panel--contact .nav-contact__map {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline-text,
  .hero-sub-text,
  .hero-cta-text,
  .site-header .logo img { transition: none; }
  .nav-panel { transition: none; }
}

/* ============================================================
   Contact page: brand-tinted info-card band + rounded map/form hub
   (this is the block that was described but never actually shipped
   as a file last time — it's here now)
   ============================================================ */

.contact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 56px 44px;
  color: inherit;
  transition: transform 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); color: inherit; }

.contact-card--light { background: var(--ns-bg); color: var(--ns-navy); }
.contact-card--blue  { background: var(--ns-blue); color: #fff; }
.contact-card--navy  { background: var(--ns-navy); color: #fff; }

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.contact-card--light .contact-card__icon {
  color: #ec1c24;
  border-color: rgba(236, 28, 36, 0.35);
  background: rgba(236, 28, 36, 0.08);
}

.contact-card__title { margin: 0 0 6px; font-size: 1.375rem; color: inherit; }
.contact-card--light .contact-card__title { color: var(--ns-blue-dark); }

.contact-card__text { margin: 0 0 24px; font-size: 1rem; opacity: 0.92; }

.contact-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-card--light .contact-card__btn { color: var(--ns-blue-dark); }
.contact-card--light:hover .contact-card__btn { background: var(--ns-blue-dark); color: #fff; }
.contact-card--blue .contact-card__btn,
.contact-card--navy .contact-card__btn { color: #fff; }
.contact-card--blue:hover .contact-card__btn { background: #fff; color: var(--ns-blue); }
.contact-card--navy:hover .contact-card__btn { background: #fff; color: var(--ns-navy); }
.contact-card__btn svg { transition: transform 0.2s ease; }
.contact-card:hover .contact-card__btn svg { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .contact-band { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 44px 32px; }
}

.contact-hub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: stretch;
}

.contact-hub__map {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
}
.contact-hub__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
.contact-hub__address {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ns-navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: 0 16px 34px -18px rgba(7, 28, 51, 0.4);
}
.contact-hub__address i { flex: 0 0 auto; margin-top: 2px; color: #ec1c24; font-size: 18px; }

.contact-hub__form { display: flex; flex-direction: column; justify-content: center; }
.contact-hub__title {
  margin: 12px 0 16px;
  font-family: "Fredoka", "DM Sans", sans-serif;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.1;
}
.contact-hub__lead {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ns-ink-soft);
  max-width: 52ch;
}

.contact-field {
  display: block;
  width: 100%;
  padding: 12px 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ns-line);
  border-radius: 0;
  outline: 0;
  resize: none;
  transition: border-color 0.2s ease;
}
.contact-field::placeholder { color: var(--ns-muted); }
.contact-field:focus { border-bottom-color: var(--ns-blue); }

.contact-hub__fields .btn-more { margin-top: 8px; }

@media (max-width: 991.98px) {
  .contact-hub__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-hub__map { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card__btn svg { transition: none; }
  .contact-card:hover { transform: none; }
}


.page-banner {
  padding: 100px 0 36px;
}
.page-banner__title {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  margin-bottom: 8px;
}
.page-banner__lead {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  margin-bottom: 18px;
}
.page-banner__crumbs {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 88px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 80px 0 28px; }
}
/* ── Nav panels: back below the nav bar (not a side drawer), with a
       distinctive open animation instead of a plain dropdown ────────── */
@media (min-width: 1200px) {

  /* Revert the drawer positioning back to the original below-nav layout */
  .nav-panel {
    position: absolute;
    top: 100%;
    left: var(--panel-gap);
    right: var(--panel-gap);
    bottom: auto;
    width: auto;
    max-height: calc(100vh - var(--header-h) - 12px);
    border: 1px solid rgba(0, 130, 207, 0.3);
    border-top: 0;
    box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
    z-index: auto;
  }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols {
    display: grid;
  }
  .nav-panel--links { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .nav-panel--links.nav-panel--insights { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    padding: 32px 40px;
  }
  .nav-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 48px;
    align-content: center;
  }
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .nav-panel__media {
    min-height: 285px;
    border-top-left-radius: 56px;
    border-top-right-radius: 0;
  }

  .nav-panel--cols { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .nav-col {
    padding: 32px 18px 36px;
    border-right: 1px solid var(--ns-line);
    border-bottom: 0;
  }
  .nav-col:last-child { border-right: 0; }
  .nav-col__icon { font-size: 40px; margin-bottom: 20px; }

  .nav-panel--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 40px;
  }

  .nav-panel--contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
    gap: 48px;
    padding: 40px;
  }
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form {
    padding: 0;
  }
  .nav-panel--contact .nav-contact__map {
    display: block;
  }

  /* ── 1. Blind reveal — panel unclips downward instead of fading ── */
  .nav-panel {
    opacity: 1;
    transform: none;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.45s;
  }
  .site-nav__item.is-open > .nav-panel {
    visibility: visible;
    clip-path: inset(0 0 0% 0);
    transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
  }

  /* ── 2. Staggered content cascade — items arrive one after another ── */
  .nav-link-item,
  .nav-col,
  .nav-card,
  .nav-panel__media,
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form,
  .nav-panel--contact .nav-contact__map {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .site-nav__item.is-open .nav-link-item,
  .site-nav__item.is-open .nav-col,
  .site-nav__item.is-open .nav-card,
  .site-nav__item.is-open .nav-panel__media,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__info,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__form,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__map {
    opacity: 1;
    transform: none;
  }

  .nav-panel__links .nav-link-item:nth-child(1) { transition-delay: 0.08s; }
  .nav-panel__links .nav-link-item:nth-child(2) { transition-delay: 0.12s; }
  .nav-panel__links .nav-link-item:nth-child(3) { transition-delay: 0.16s; }
  .nav-panel__links .nav-link-item:nth-child(4) { transition-delay: 0.20s; }
  .nav-panel__links .nav-link-item:nth-child(5) { transition-delay: 0.24s; }
  .nav-panel__links .nav-link-item:nth-child(6) { transition-delay: 0.28s; }
  .nav-panel__media { transition-delay: 0.10s; }

  .nav-panel--cols .nav-col:nth-child(1) { transition-delay: 0.10s; }
  .nav-panel--cols .nav-col:nth-child(2) { transition-delay: 0.16s; }
  .nav-panel--cols .nav-col:nth-child(3) { transition-delay: 0.22s; }
  .nav-panel--cols .nav-col:nth-child(4) { transition-delay: 0.28s; }
  .nav-panel--cols .nav-col:nth-child(5) { transition-delay: 0.34s; }
  .nav-panel--cols .nav-col:nth-child(6) { transition-delay: 0.40s; }
  .nav-panel--cols .nav-col:nth-child(7) { transition-delay: 0.46s; }

  .nav-panel--cards .nav-card:nth-child(1) { transition-delay: 0.10s; }
  .nav-panel--cards .nav-card:nth-child(2) { transition-delay: 0.16s; }
  .nav-panel--cards .nav-card:nth-child(3) { transition-delay: 0.22s; }
  .nav-panel--cards .nav-card:nth-child(4) { transition-delay: 0.28s; }

  .nav-panel--contact .nav-contact__info { transition-delay: 0.10s; }
  .nav-panel--contact .nav-contact__form { transition-delay: 0.16s; }
  .nav-panel--contact .nav-contact__map { transition-delay: 0.22s; }

  /* ── 3. Active-tab connector — a small diamond "threads" the open
         trigger to the top edge of its panel ── */
  .site-nav__item.has-panel > .site-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid rgba(0, 130, 207, 0.3);
    border-top: 1px solid rgba(0, 130, 207, 0.3);
    transform: translate(-50%, 50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
  }
  .site-nav__item.is-open > .site-nav__link::after {
    opacity: 1;
    transition-delay: 0.15s;
  }
}

@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .nav-panel {
    transition: none;
    clip-path: none;
  }
  .site-nav__item.is-open > .nav-panel {
    clip-path: none;
  }
  .nav-link-item,
  .nav-col,
  .nav-card,
  .nav-panel__media,
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form,
  .nav-panel--contact .nav-contact__map,
  .site-nav__item.has-panel > .site-nav__link::after {
    transition: none;
    transition-delay: 0s;
  }
}
/* ============================================================
   Product Stack — pinned card pile (products.html)
   ============================================================ */
.product-stack-section {
  padding: 72px 0 120px;
  background: var(--ns-bg);
  overflow: visible;
}

.product-stack__container {
  max-width: none;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

/* Cards run the full width. The logo rail shares the cards' grid
   cell and straddles their left edge (as on salesforce.com): the
   gutter shows the left part of each logo, the rest is clipped so it
   reads as tucked behind the card, and the active logo's pill sits
   on top of the card edge. */
.product-stack__layout {
  /* Pile geometry, shared with main.js (read via getComputedStyle). */
  --stack-top: 92px;     /* where the pile starts (header is 76px) */
  --stack-peek: 14px;    /* edge of each covered card left showing */
  --stack-visible: 5;    /* covered edges kept on screen at once */
  --stack-card-h: calc(100vh - var(--stack-top) - 16px - var(--stack-visible) * var(--stack-peek));
  --rail-w: 176px;       /* width of a rail pill */
  --rail-overlap: 60px;  /* how far the rail reaches onto the card */
  /* rail's pinned position: roughly centred on the top card, never
     above the pile's strips */
  --rail-top: max(calc(var(--stack-top) + var(--stack-visible) * var(--stack-peek) + 24px), calc(50vh - 260px));
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: start;
}

.product-stack__rail {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: var(--rail-top);
  /* Start the same distance down the first card as where it pins, so
     the rail rides up with that card from below and settles in step
     with it instead of waiting at the card's top edge. */
  margin-top: calc(var(--rail-top) - var(--stack-top));
  z-index: 25;           /* above the card pile */
  align-self: start;
}
.product-stack__rail-list {
  position: relative;
  height: 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Only the product whose card is on top of the pile shows: its logo
   pill slides in from the left over the card edge (as the Agentforce
   pill does on salesforce.com) while the previous one slides back
   out. All pills share one spot, so the logo never jumps vertically.
   The whole rail stays tucked away until the pile is on screen
   (.is-shown, toggled by main.js). */
.product-stack__rail-list li {
  position: absolute;
  top: 0;
  left: 0;
}
.product-stack__rail-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--rail-w);
  height: 52px;
  padding: 8px 22px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(7, 28, 51, 0.35), 0 0 0 1px var(--ns-line);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease,
              visibility 0s linear 0.5s;
}
.product-stack__rail.is-shown .product-stack__rail-list a.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.12s, 0.12s, 0s;  /* let the outgoing pill clear first */
}
.product-stack__rail-list img {
  display: block;
  width: 120px;
  height: 36px;
  object-fit: contain;
}

.product-stack {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-left: calc(var(--rail-w) - var(--rail-overlap));
  position: relative;
  display: block;
  overflow: visible;
}
/* Sticky items keep their margin box inside .product-stack, so the
   pile needs trailing room equal to the item margin; without it the
   older cards get shoved up just before the last one lands. */
.product-stack::after {
  content: "";
  display: block;
  height: 16vh;
}

/* The wrapper is the sticky element: all ten share .product-stack as
   their containing block, so every card stays pinned until the whole
   pile has been read. Each pins one tab-height lower than the one
   before, leaving the previous card's top edge showing. main.js
   lifts the whole pile (--lift) once more than --stack-visible
   strips would stack up, so older strips slide away under the header. */
.product-stack__item {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * var(--stack-peek));
  z-index: calc(10 + var(--i, 0));
  display: block;
  height: var(--stack-card-h);
  min-height: 400px;
  margin-bottom: 16vh;   /* scroll travel between cards */
}
.product-stack__item:last-child { margin-bottom: 0; }

.product-stack__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 26px;
  box-shadow: 0 -8px 24px -14px rgba(7, 28, 51, 0.5),
              0 44px 90px -44px rgba(7, 28, 51, 0.6);
  transform-origin: top center;
  /* --depth: how many cards sit on top of this one (0 → n).
     --lift:  how far the whole pile has been raised, in strips.
     --fade:  0 → 1 as this card's strip slides under the header. */
  --depth: 0;
  --lift: 0;
  --fade: 0;
  transform: translateY(calc(var(--lift) * var(--stack-peek) * -1))
             scale(calc(1 - min(var(--depth), 3) * 0.035));
  opacity: calc(1 - var(--fade));
  will-change: transform, opacity;
}
/* Covered cards dim as the next one slides over them. */
.product-stack__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: #071c33;
  opacity: calc(min(var(--depth), 3) * 0.15);
}

.product-stack__card--g1 { background: linear-gradient(135deg, #071c33 0%, #0074b3 100%); }
.product-stack__card--g2 { background: linear-gradient(135deg, #0092e0 0%, #071c33 100%); }
.product-stack__card--g3 { background: linear-gradient(135deg, #ec1c24 0%, #071c33 100%); }
.product-stack__card--g4 { background: linear-gradient(135deg, #071c33 0%, #ec1c24 100%); }

/* Desktop: the rail carries the logos. Narrow screens (no rail) show
   the logo at the top of each card instead. */
.product-stack__logo {
  display: none;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
}
.product-stack__logo img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.product-stack__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  flex: 1;
  min-height: 0;
  padding: clamp(24px, 3vw, 48px);
  /* clear the rail pill that overlaps the card's left edge */
  padding-left: calc(var(--rail-overlap) + clamp(28px, 3vw, 56px));
}
.product-stack__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
}

.product-stack__visual {
  position: relative;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.product-stack__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-stack__visual--right img { object-position: 75% center; }
/* Transparent cut-out images float on a soft glow instead of a frame. */
.product-stack__visual--cutout {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow: none;
}
.product-stack__visual--cutout img {
  object-fit: contain;
  padding: 8px;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
}

.product-stack__title {
  max-width: 20ch;
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.product-stack__text {
  max-width: 60ch;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.product-stack__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.product-stack__chips li {
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.product-stack__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ns-navy);
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-stack__cta:hover {
  color: var(--ns-navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.4);
}
.product-stack__cta svg { transition: transform 0.2s ease; }
.product-stack__cta:hover svg { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .product-stack__layout { grid-template-columns: minmax(0, 1fr); }
  .product-stack__rail { display: none; }
  .product-stack { padding-left: 0; }
  .product-stack__logo { display: inline-flex; }
}

/* Laptop-height screens: fewer strips and a tighter card. */
@media (min-width: 992px) and (max-height: 820px) {
  .product-stack__layout {
    --stack-top: 88px;
    --stack-peek: 12px;
    --stack-visible: 4;
  }
  .product-stack__layout { --rail-top: calc(var(--stack-top) + 4 * var(--stack-peek) + 16px); }
  .product-stack__rail-list { height: 42px; }
  .product-stack__rail-list a { height: 42px; padding: 6px 22px; }
  .product-stack__rail-list img { height: 28px; }
  .product-stack__body { padding: 22px 28px; padding-left: calc(var(--rail-overlap) + 32px); gap: 28px; }
  .product-stack__title { margin-bottom: 10px; font-size: clamp(1.4rem, 2.2vw, 2rem); max-width: 24ch; }
  .product-stack__text {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-stack__chips { margin-bottom: 18px; }
  .product-stack__chips li { padding: 5px 12px; font-size: 0.75rem; }
  .product-stack__cta { padding: 11px 22px; }
}

/* Narrow or very short screens: plain list of cards, no pile. */
@media (max-width: 991.98px), (max-height: 540px) {
  .product-stack__item {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    margin-bottom: 24px;
  }
  .product-stack__item:last-child { margin-bottom: 0; }
  .product-stack::after { display: none; }

  .product-stack__card {
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -24px rgba(7, 28, 51, 0.5);
    transform: none;
    opacity: 1;
  }
  .product-stack__card::after { display: none; }
  .product-stack__body { grid-template-columns: minmax(0, 1fr); }
  .product-stack__visual { order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 991.98px) {
  .product-stack__body { padding-left: clamp(18px, 3vw, 48px); }
}
@media (max-width: 575.98px) {
  .product-stack__body { padding: 22px 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-stack__cta,
  .product-stack__cta svg,
  .product-stack__rail-list a,
  .product-stack__rail-list img { transition: none; }
  .product-stack__cta:hover { transform: none; }
}
/* ── Team photo hover: gradient wash rises from the bottom of the
       PHOTO only, not the name/role text below it ───────────────── */
.team-member__photo {
  position: relative;
  overflow: hidden;
}
.team-member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 116, 179, 0.85) 0%,
    rgba(0, 116, 179, 0.35) 45%,
    rgba(0, 116, 179, 0) 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.team-member:hover .team-member__photo::after {
  opacity: 1;
}

.team-member__photo img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}
.team-member:hover .team-member__photo img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .team-member__photo::after,
  .team-member__photo img {
    transition: none;
  }
  .team-member:hover .team-member__photo img {
    transform: none;
  }
}
/* Industries page (solutions.html) */
.industry-model { background: var(--ns-surface); }
.industry-model__title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ns-navy);
}
.industry-model__text { color: var(--ns-ink-soft); line-height: 1.75; margin: 0; }

.industry-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.industry-step {
  padding: 28px 24px;
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-top: 3px solid var(--ns-blue);
  border-top-right-radius: 28px;
}
.industry-step:nth-child(2) { border-top-color: #ec1c24; }
.industry-step i { display: block; margin-bottom: 16px; font-size: 32px; line-height: 1; color: var(--ns-blue); }
.industry-step h3 { margin: 0 0 8px; font-size: 1.125rem; color: var(--ns-navy); }
.industry-step p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--ns-ink-soft); }

/* sticky jump bar */
.industry-jump {
  position: sticky;
  top: var(--header-h, 76px);
  transition: top 0.3s ease;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-block: 1px solid var(--ns-line);
}
.industry-jump__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-jump__list::-webkit-scrollbar { display: none; }
.industry-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ns-navy);
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: var(--ns-surface);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.industry-jump__link i { font-size: 1rem; color: var(--ns-blue); transition: color 0.2s ease; }
.industry-jump__link:hover { color: var(--ns-blue); border-color: var(--ns-blue); }
.industry-jump__link.is-active {
  color: #fff;
  background: var(--ns-blue);
  border-color: var(--ns-blue);
}
.industry-jump__link.is-active i { color: #fff; }

/* when the header slides away, the jump bar moves up to the top */
.header.is-hidden ~ .main .industry-jump { top: 0; }

/* industry split cards */
.industry {
  padding: 56px 0;
  background: var(--ns-surface);
  scroll-margin-top: calc(var(--header-h, 76px) + 64px);
}
.industry:first-of-type { padding-top: 88px; }
.industry-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 560px;
  background: linear-gradient(135deg, #eef4fb 0%, #f7f9fd 55%, #ffffff 100%);
  border: 1px solid var(--ns-line);
  border-radius: 28px 120px 28px 28px;
  box-shadow: 0 40px 80px -56px rgba(7, 28, 51, 0.45);
}
.industry-card--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  border-radius: 120px 28px 28px 28px;
}
.industry-card--flip .industry-card__content { order: 2; }
.industry-card--flip .industry-card__media { order: 1; border-radius: 120px 0 0 28px; }

.industry-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px clamp(32px, 5vw, 72px);
  overflow: hidden;
}
.industry-card__index {
  position: absolute;
  top: -0.12em;
  right: 0.08em;
  font-size: clamp(9rem, 16vw, 15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 146, 224, 0.14);
  pointer-events: none;
  user-select: none;
}
.industry-card--flip .industry-card__index { right: auto; left: auto; right: 0.08em; }
.industry-card__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 18px;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ns-navy);
}
.industry-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ec1c24 0 40%, var(--ns-blue) 40% 100%);
}
.industry-card__lead {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ns-navy);
}
.industry-card__text {
  position: relative;
  margin: 0 0 28px;
  line-height: 1.75;
  color: var(--ns-ink-soft);
}
.industry-card__cta { position: relative; margin-top: 28px; }

.industry-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0 120px 28px 0;
  isolation: isolate;
}
.industry-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.industry-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 51, 0) 55%, rgba(7, 28, 51, 0.55) 100%);
  pointer-events: none;
}
.industry-card:hover .industry-card__media img { transform: scale(1.05); }


/* platform logos */
.industry-logos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.industry-logo {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.industry-logo img { display: block; height: 40px; width: auto; max-width: 128px; object-fit: contain; }
.industry-logos:hover .industry-logo { opacity: 0.55; }
.industry-logos .industry-logo:hover,
.industry-logos .industry-logo:focus-visible { opacity: 1; transform: translateY(-3px) scale(1.04); }

/* more sectors grid */
.more-sectors {
  margin-top: 56px;
  padding: 96px 0;
  background: var(--ns-bg);
}
.more-sectors__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.more-sectors__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ns-navy);
}
.more-sectors__lead { margin: 0; line-height: 1.7; color: var(--ns-ink-soft); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sector-tile {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-top: 4px solid var(--ns-blue);
  border-radius: 6px 6px 20px 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sector-tile:nth-child(3n + 2) { border-top-color: #ec1c24; }
.sector-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(7, 28, 51, 0.45);
}
.sector-tile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  font-size: 1.375rem;
  color: var(--ns-blue);
  background: var(--ns-sunken);
  border-radius: 12px;
}
.sector-tile__title { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; color: var(--ns-navy); }
.sector-tile__text { flex: 1 1 auto; margin: 0 0 22px; font-size: 0.9375rem; line-height: 1.6; color: var(--ns-ink-soft); }
.sector-tile__logos { gap: 16px 24px; margin: 0; padding-top: 18px; border-top: 1px solid var(--ns-line); }
.sector-tile__logos .industry-logo img { height: 28px; max-width: 110px; }

.industry-cta { padding: 100px 0; }

@media (max-width: 991px) {
  .industry-steps { grid-template-columns: minmax(0, 1fr); }
  .industry { padding: 28px 0; }
  .industry:first-of-type { padding-top: 48px; }
  .industry-card,
  .industry-card--flip {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 24px 64px 24px 24px;
  }
  .industry-card__media,
  .industry-card--flip .industry-card__media {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 24px 64px 0 0;
  }
  .industry-card--flip .industry-card__content { order: 0; }
  .industry-card__content { padding: 36px 24px 40px; }
  .industry-cta { padding: 72px 0; }
  .more-sectors { margin-top: 28px; padding: 64px 0; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sector-tile:nth-child(3n + 2) { border-top-color: var(--ns-blue); }
  .sector-tile:nth-child(4n + 2),
  .sector-tile:nth-child(4n + 3) { border-top-color: #ec1c24; }
}
@media (max-width: 575px) {
  .industry-logo img { height: 36px; }
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-tile:nth-child(n) { border-top-color: var(--ns-blue); }
  .sector-tile:nth-child(even) { border-top-color: #ec1c24; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-logo,
  .sector-tile,
  .industry-card__media img { transition: none; }
  .industry-logos .industry-logo:hover,
  .sector-tile:hover,
  .industry-card:hover .industry-card__media img { transform: none; }
}
