
/* =========================================================
   GLOBAL RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* =========================================================
   HTML
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}


/* =========================================================
   BODY
   ========================================================= */

body {
  margin: 0;
  font-family: var(--nx-font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--nx-bg);
  color: var(--nx-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   BODY LOCK
   ========================================================= */

body.nx-lock {
  overflow: hidden;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--nx-font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--nx-text);
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

p {
  margin: 0;
}


/* =========================================================
   LISTS
   ========================================================= */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}


/* =========================================================
   IMAGES
   ========================================================= */

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--nx-surface-soft);
}


/* =========================================================
   LINKS
   ========================================================= */

a {
  color: inherit;
  text-decoration: none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

button {
  font-family: var(--nx-font-body);
  cursor: pointer;
}


/* =========================================================
   ACCESSIBILITY - FOCUS
   ========================================================= */

:focus-visible {
  outline: 3px solid var(--nx-primary);
  outline-offset: 2px;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}


/* =========================================================
   SKIP LINK
   ========================================================= */

.nx-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 14px;
  background: var(--nx-primary);
  color: var(--nx-on-primary);
  z-index: 200;
}

.nx-skip:focus {
  left: 8px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.nx-eyebrow {
  margin-bottom: 12px;
  color: var(--nx-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}


/* =========================================================
   FLIP ICON
   ========================================================= */

.nx-flip {
  font-size: .85em;
}


/* =========================================================
   BASE BUTTON
   ========================================================= */

.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: var(--nx-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}


/* =========================================================
   SMALL BUTTON
   ========================================================= */

.nx-btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.nx-btn--primary {
  background: var(--nx-primary);
  color: var(--nx-on-primary);
  border-color: var(--nx-primary);
}

.nx-btn--primary:hover {
  background: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);
  transform: translateY(-1px);
}


/* =========================================================
   GHOST BUTTON
   ========================================================= */

.nx-btn--ghost {
  background: var(--nx-surface);
  color: var(--nx-text);
  border-color: var(--nx-border);
}

.nx-btn--ghost:hover {
  background: var(--nx-surface-soft);
  border-color: var(--nx-primary);
  color: var(--nx-primary);
  transform: translateY(-1px);
}


/* =========================================================
   LIGHT BUTTON
   ========================================================= */

.nx-btn--light {
  background: var(--nx-surface);
  color: var(--nx-text);
  border-color: var(--nx-surface);
}

.nx-btn--light:hover {
  background: var(--nx-surface-soft);
  border-color: var(--nx-surface-soft);
  color: var(--nx-text);
  transform: translateY(-1px);
}


/* =========================================================
   ICON BUTTON
   ========================================================= */

.nx-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid var(--nx-border);
  border-radius: 6px;
  background: var(--nx-surface);
  color: var(--nx-text);
  font-family: var(--nx-font-body);
  font-size: 15px;
  cursor: pointer;
  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.nx-iconbtn:hover {
  background: var(--nx-surface-soft);
  border-color: var(--nx-primary);
  color: var(--nx-primary);
  transform: translateY(-1px);
}


/* =========================================================
   NAV TOOL NAME
   ========================================================= */

.nx-nav__toolname {
  display: none;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nx-btn,
  .nx-iconbtn {
    transition: none;
  }
}


/* =========================================================
   MOBILE CONTAINER
   ========================================================= */

@media (min-width: 320px) and (max-width: 767px) {
  .nx-container {
    width: min(100% - 32px, 1180px);
  }
}


/* =========================================================
   TABLET CONTAINER
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
  .nx-container {
    width: min(100% - 64px, 1180px);
  }
}



/* =========================================================
   NEXASCAN RESPONSIVE NAVBAR
   NEW COLOR THEME
   ========================================================= */


/* =========================================================
   HEADER
   ========================================================= */

.scan-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: var(--nx-bg);
  border-bottom: 1px solid var(--nx-border);
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.scan-header__inner {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 1440px;

  height: 68px;

  margin: 0 auto;
  padding: 0 24px;

  box-sizing: border-box;
}


/* =========================================================
   LOGO
   ========================================================= */

.scan-logo {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  color: var(--nx-text);
  text-decoration: none;
}

.scan-logo__icon {
  display: grid;
  place-items: center;

  width: 38px;
  height: 38px;
  min-width: 38px;

  border-radius: 8px;

  background: var(--nx-primary);
  color: var(--nx-on-primary);

  font-size: 18px;
}

.scan-logo__text {
  display: flex;
  flex-direction: column;

  line-height: 1.1;
}

.scan-logo__text strong {
  font-family: var(--nx-font-heading);

  font-size: 19px;
  font-weight: 700;

  color: var(--nx-text);
}

.scan-logo__text small {
  margin-top: 3px;

  color: var(--nx-text-muted);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: .1em;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.scan-navigation {
  display: flex;
  align-items: center;

  margin: 0 auto;
}

.scan-navigation__list {
  display: flex;
  align-items: center;

  gap: 4px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.scan-navigation__item {
  position: relative;
}

.scan-navigation__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  padding: 8px 12px;

  border: 0;
  border-radius: 8px;

  background: transparent;

  color: var(--nx-text);

  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;

  white-space: nowrap;

  text-decoration: none;

  cursor: pointer;

  transition:
    color .2s ease,
    background-color .2s ease;
}

.scan-navigation__link:hover {
  color: var(--nx-primary);
}

.scan-navigation__link.is-active {
  color: #fff;
  background: var(--nx-primary);

  font-weight: 600;
}

.scan-navigation__link i {
  font-size: 10px;

  transition: transform .2s ease;
}

.scan-has-dropdown.is-open > .scan-navigation__link i {
  transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.scan-dropdown {
  position: absolute;

  top: calc(100% + 6px);
  inset-inline-start: 0;

  min-width: 180px;

  margin: 0;
  padding: 6px;

  display: none;

  list-style: none;

  background: var(--nx-surface);

  border: 1px solid var(--nx-border);
  border-radius: 8px;

  box-shadow: var(--nx-shadow);

  z-index: 1001;
}

.scan-has-dropdown.is-open > .scan-dropdown {
  display: block;
}

.scan-dropdown__link {
  display: block;

  padding: 9px 12px;

  border-radius: 6px;

  color: var(--nx-text);

  font-size: 14px;
  font-weight: 500;

  text-decoration: none;

  transition:
    color .2s ease,
    background-color .2s ease;
}

.scan-dropdown__link:hover,
.scan-dropdown__link.is-current {
  background: var(--nx-surface-soft);
  color: var(--nx-primary);
}

.scan-dropdown__link.is-current {
  font-weight: 600;
}


/* =========================================================
   DESKTOP DROPDOWN HOVER
   ========================================================= */

@media (hover: hover) and (min-width: 1024px) {

  .scan-has-dropdown:hover > .scan-dropdown {
    display: block;
  }

}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.scan-header-actions {
  display: flex;
  align-items: center;

  flex-shrink: 0;
}

.scan-desktop-actions {
  display: flex;
  align-items: center;

  gap: 8px;
}


/* =========================================================
   ACTION BUTTONS
   ========================================================= */

.scan-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  height: 40px;

  padding: 0 18px;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  color: var(--nx-on-primary);

  background-color: var(--nx-primary);

  border: 1px solid var(--nx-primary);
  border-radius: 8px;

  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  user-select: none;

  box-shadow:
    0 2px 4px rgba(25, 29, 35, 0.15);

  transition: all .2s ease-in-out;
}


/* =========================================================
   ACTION BUTTON HOVER
   ========================================================= */

.scan-action-button:hover {
  background-color: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);

  color: var(--nx-on-primary);

  transform: translateY(-1px);

  box-shadow:
    0 4px 8px rgba(25, 29, 35, 0.20);
}


/* =========================================================
   ACTION BUTTON ACTIVE
   ========================================================= */

.scan-action-button:active {
  transform: translateY(0);

  box-shadow:
    0 1px 2px rgba(25, 29, 35, 0.18);
}


/* =========================================================
   ACTION BUTTON FOCUS
   ========================================================= */

.scan-action-button:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 2px;
}


/* =========================================================
   ICON BUTTON
   ========================================================= */

.scan-action-button--icon {
  width: 40px;

  padding: 0;
}


/* =========================================================
   APPOINTMENT BUTTON
   ========================================================= */

.scan-action-button--appointment {
  min-width: 120px;
}


/* =========================================================
   BUTTON ICON
   ========================================================= */

.scan-action-button i {
  font-size: 14px;
  line-height: 1;
}


/* =========================================================
   MOBILE ACTIONS
   ========================================================= */

.scan-mobile-actions {
  display: none;
}


/* =========================================================
   MOBILE ACTION GROUP
   ========================================================= */

.scan-mobile-actions__group {
  display: flex;
  align-items: center;

  gap: 10px;
}


/* =========================================================
   MENU BUTTON
   ========================================================= */

.scan-menu-button {
  display: none;

  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  min-width: 40px;

  padding: 0;

  border: 1.5px solid var(--nx-border);
  border-radius: 8px;

  background: var(--nx-surface);
  color: var(--nx-text);

  font-size: 18px;

  cursor: pointer;

  transition:
    background-color .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.scan-menu-button:hover {
  background: var(--nx-surface-soft);
  color: var(--nx-primary);
  border-color: var(--nx-primary);
}


/* =========================================================
   MOBILE + TABLET
   320px–1023px
   ========================================================= */

@media (min-width: 320px) and (max-width: 1023px) {

  .scan-header__inner {
    height: 64px;

    padding: 0 16px;

    gap: 12px;
  }


  /* -------------------------------------------------------
     LOGO
     ------------------------------------------------------- */

  .scan-logo {
    min-width: 0;

    flex: 1 1 auto;

    gap: 8px;
  }

  .scan-logo__icon {
    width: 34px;
    height: 34px;
    min-width: 34px;

    font-size: 16px;
  }

  .scan-logo__text {
    min-width: 0;
  }

  .scan-logo__text strong {
    font-size: 17px;

    white-space: nowrap;
  }

  .scan-logo__text small {
    font-size: 8px;

    letter-spacing: .08em;

    white-space: nowrap;
  }


  /* -------------------------------------------------------
     FULL-SCREEN NAVIGATION
     ------------------------------------------------------- */

  .scan-navigation {
    position: fixed;

    top: 64px;
    left: 0;
    right: 0;

    width: 100%;

    height: calc(100dvh - 64px);

    max-height: none;

    margin: 0;

    padding: 28px 20px 20px;

    box-sizing: border-box;

    display: flex;

    flex-direction: column;
    align-items: stretch;

    overflow-y: auto;
    overflow-x: hidden;

    background: var(--nx-surface);

    border: 0;
    border-top: 1px solid var(--nx-border);

    box-shadow: var(--nx-shadow);

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transform: translateY(-8px);

    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s ease;

    z-index: 9998;
  }


  /* -------------------------------------------------------
     OPEN STATE
     ------------------------------------------------------- */

  .scan-navigation.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;

    transform: translateY(0);
  }


  /* -------------------------------------------------------
     NAVIGATION LIST
     ------------------------------------------------------- */

  .scan-navigation__list {
    display: flex;

    flex-direction: column;
    align-items: stretch;

    width: 100%;

    gap: 2px;

    margin: 0;
    padding: 0;

    flex: 0 0 auto;
  }

  .scan-navigation__item {
    width: 100%;
  }


  /* -------------------------------------------------------
     NAVIGATION LINKS
     ------------------------------------------------------- */

  .scan-navigation__link {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 52px;

    box-sizing: border-box;

    padding: 14px 4px;

    border: 0;
    border-radius: 8px;

    font-size: 16px;
  }

  .scan-navigation__link.is-active {
    color: #fff;
    background: var(--nx-primary);
  }


  /* -------------------------------------------------------
     MOBILE DROPDOWN
     ------------------------------------------------------- */

  .scan-dropdown {
    position: static;

    width: 100%;
    min-width: 0;

    margin: 0;

    padding: 5px 0 8px;

    display: none;

    background: var(--nx-surface-soft);

    border: 0;
    border-radius: 8px;

    box-shadow: none;
  }

  .scan-has-dropdown.is-open > .scan-dropdown {
    display: block;
  }

  .scan-dropdown__link {
    display: flex;

    align-items: center;

    min-height: 44px;

    padding: 10px 18px;

    border-radius: 6px;

    font-size: 14px;
  }


  /* -------------------------------------------------------
     MOBILE ACTIONS
     ALWAYS AT BOTTOM
     ------------------------------------------------------- */

  .scan-mobile-actions {
    width: 100%;

    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid var(--nx-border);

    box-sizing: border-box;

    display: flex;

    flex-direction: column;

    gap: 12px;

    flex-shrink: 0;
  }


  /* -------------------------------------------------------
     THEME + RTL
     ------------------------------------------------------- */

  .scan-mobile-actions__group {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
  }

  .scan-mobile-actions__group .scan-action-button {
    width: 100%;
  }


  /* -------------------------------------------------------
     APPOINTMENT
     ------------------------------------------------------- */

  .scan-mobile-actions .scan-action-button--appointment {
    width: 100%;

    min-height: 48px;
  }


  /* -------------------------------------------------------
     HIDE DESKTOP ACTIONS
     ------------------------------------------------------- */

  .scan-desktop-actions {
    display: none;
  }


  /* -------------------------------------------------------
     HAMBURGER
     ------------------------------------------------------- */

  .scan-menu-button {
    display: inline-flex;

    flex-shrink: 0;
  }


  /* -------------------------------------------------------
     BODY LOCK
     ------------------------------------------------------- */

  body.scan-menu-lock {
    overflow: hidden;
  }
}


/* =========================================================
   MOBILE
   320px–767px
   ========================================================= */

@media (min-width: 320px) and (max-width: 767px) {

  .scan-header__inner {
    height: 62px;

    padding: 0 12px;

    gap: 8px;
  }


  /* -------------------------------------------------------
     FULL-SCREEN MENU POSITION
     ------------------------------------------------------- */

  .scan-navigation {
    top: 62px;

    height: calc(100dvh - 62px);

    padding: 28px 20px 20px;
  }


  /* -------------------------------------------------------
     LOGO
     ------------------------------------------------------- */

  .scan-logo {
    gap: 7px;
  }

  .scan-logo__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;

    font-size: 15px;
  }

  .scan-logo__text strong {
    font-size: 16px;
  }

  .scan-logo__text small {
    font-size: 7px;

    letter-spacing: .07em;

    margin-top: 2px;
  }


  /* -------------------------------------------------------
     HAMBURGER
     ------------------------------------------------------- */

  .scan-menu-button {
    width: 36px;
    height: 36px;
    min-width: 36px;

    border-radius: 7px;

    font-size: 16px;
  }


  /* -------------------------------------------------------
     MOBILE NAV LINKS
     ------------------------------------------------------- */

  .scan-navigation__link {
    min-height: 50px;

    padding: 13px 4px;

    font-size: 15px;
  }


  /* -------------------------------------------------------
     MOBILE ACTIONS
     Theme + RTL
     Appointment below
     ------------------------------------------------------- */

  .scan-mobile-actions {
    padding-top: 18px;

    gap: 10px;
  }

  .scan-mobile-actions__group {
    grid-template-columns: 1fr 1fr;

    gap: 10px;
  }

  .scan-mobile-actions .scan-action-button {
    min-height: 46px;
  }

  .scan-mobile-actions .scan-action-button--appointment {
    width: 100%;

    min-height: 48px;
  }
}


/* =========================================================
   EXTRA SMALL
   320px–359px
   ========================================================= */

@media (min-width: 320px) and (max-width: 359px) {

  .scan-header__inner {
    padding: 0 10px;
  }

  .scan-logo__text small {
    display: none;
  }

  .scan-logo__text strong {
    font-size: 15px;
  }

  .scan-logo__icon {
    width: 30px;
    height: 30px;
    min-width: 30px;

    font-size: 14px;
  }

  .scan-menu-button {
    width: 34px;
    height: 34px;
    min-width: 34px;

    font-size: 15px;
  }

  .scan-navigation {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* =========================================================
   TABLET
   768px–1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

  .scan-header__inner {
    height: 68px;

    padding: 0 24px;
  }


  /* -------------------------------------------------------
     FULL-SCREEN MENU
     ------------------------------------------------------- */

  .scan-navigation {
    top: 68px;

    height: calc(100dvh - 68px);

    padding: 40px 48px 32px;
  }


  /* -------------------------------------------------------
     LOGO
     ------------------------------------------------------- */

  .scan-logo {
    gap: 9px;
  }

  .scan-logo__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;

    font-size: 17px;
  }

  .scan-logo__text strong {
    font-size: 18px;
  }

  .scan-logo__text small {
    font-size: 8px;
  }


  /* -------------------------------------------------------
     TABLET NAV LINKS
     ------------------------------------------------------- */

  .scan-navigation__link {
    min-height: 54px;

    padding: 14px 6px;

    font-size: 16px;
  }


  /* -------------------------------------------------------
     TABLET ACTIONS
     Theme | RTL | Appointment
     ------------------------------------------------------- */

  .scan-mobile-actions {
    display: grid;

    grid-template-columns:
      minmax(100px, 1fr)
      minmax(100px, 1fr)
      minmax(150px, 1.4fr);

    align-items: center;

    width: 100%;

    margin-top: auto;

    padding-top: 24px;

    gap: 12px;
  }


  /* -------------------------------------------------------
     THEME + RTL BECOME GRID ITEMS
     ------------------------------------------------------- */

  .scan-mobile-actions__group {
    display: contents;
  }


  /* -------------------------------------------------------
     ALL THREE BUTTONS
     ------------------------------------------------------- */

  .scan-mobile-actions .scan-action-button {
    width: 100%;

    min-height: 48px;

    height: 48px;

    margin: 0;
  }


  /* -------------------------------------------------------
     APPOINTMENT
     ------------------------------------------------------- */

  .scan-mobile-actions .scan-action-button--appointment {
    width: 100%;

    min-width: 0;

    min-height: 48px;

    grid-column: auto;
  }


  /* -------------------------------------------------------
     HAMBURGER
     ------------------------------------------------------- */

  .scan-menu-button {
    width: 40px;
    height: 40px;
    min-width: 40px;

    font-size: 18px;
  }
}


/* =========================================================
   LARGE DEVICES
   1024px–1280px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

  .scan-header__inner {
    height: 68px;

    padding: 0 24px;

    gap: 12px;
  }

  .scan-logo {
    gap: 8px;
  }

  .scan-logo__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;

    font-size: 17px;
  }

  .scan-logo__text strong {
    font-size: 18px;
  }

  .scan-logo__text small {
    font-size: 8px;
  }


  /* -------------------------------------------------------
     DESKTOP NAVIGATION
     ------------------------------------------------------- */

  .scan-navigation {
    position: static;

    display: flex;

    margin: 0 auto;

    width: auto;

    height: auto;

    padding: 0;

    overflow: visible;

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

    transform: none;

    background: transparent;

    border: 0;

    box-shadow: none;
  }

  .scan-navigation__list {
    gap: 0;
  }

  .scan-navigation__link {
    padding: 8px 7px;

    font-size: 13px;
  }

  .scan-navigation__link i {
    font-size: 9px;
  }


  /* -------------------------------------------------------
     DESKTOP ACTIONS
     ------------------------------------------------------- */

  .scan-desktop-actions {
    display: flex;

    gap: 6px;
  }

  .scan-mobile-actions {
    display: none;
  }


  /* -------------------------------------------------------
     BUTTON SIZE
     ------------------------------------------------------- */

  .scan-action-button {
    height: 38px;

    padding-inline: 12px;

    font-size: 13px;
  }

  .scan-action-button--icon {
    width: 38px;
    height: 38px;
  }


  /* -------------------------------------------------------
     MENU BUTTON
     ------------------------------------------------------- */

  .scan-menu-button {
    display: none;
  }


  /* -------------------------------------------------------
     DROPDOWN
     ------------------------------------------------------- */

  .scan-dropdown {
    min-width: 170px;
  }
}


/* =========================================================
   DESKTOP
   1281px+
   ========================================================= */

@media (min-width: 1281px) {

  .scan-navigation {
    display: flex;
  }

  .scan-desktop-actions {
    display: flex;
  }

  .scan-mobile-actions {
    display: none;
  }

  .scan-menu-button {
    display: none;
  }
}


/* =========================================================
   FOCUS
   ========================================================= */

.scan-menu-button:focus-visible,
.scan-navigation__link:focus-visible,
.scan-action-button:focus-visible,
.scan-dropdown__link:focus-visible {
  outline: 2px solid var(--nx-primary);

  outline-offset: 2px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .scan-action-button,
  .scan-menu-button,
  .scan-navigation,
  .scan-navigation__link,
  .scan-dropdown__link {
    transition: none;
  }
}


/* =========================================================
   NEXASCAN DARK MODE
   NEW COLOR THEME
   ========================================================= */

html[data-theme="dark"] {
  --nx-primary: #7E919F;
  --nx-primary-hover: #979DAB;
  --nx-on-primary: #191D23;
}


/* =========================================================
   DARK MODE ACTION BUTTON
   ========================================================= */

html[data-theme="dark"] .scan-action-button {
  color: var(--nx-on-primary);

  background-color: var(--nx-primary);

  border-color: var(--nx-primary);

  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   DARK MODE HOVER
   ========================================================= */

html[data-theme="dark"] .scan-action-button:hover {
  background-color: var(--nx-primary-hover);

  border-color: var(--nx-primary-hover);

  color: var(--nx-on-primary);

  transform: translateY(-1px);

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.40);
}


/* =========================================================
   DARK MODE ACTIVE
   ========================================================= */

html[data-theme="dark"] .scan-action-button:active {
  transform: translateY(0);

  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   DARK MODE FOCUS
   ========================================================= */

html[data-theme="dark"] .scan-action-button:focus-visible {
  outline: 2px solid #C5BAC4;
  outline-offset: 2px;
}



/* =========================================
   NEXASCAN — SIMPLE HERO
   ========================================= */

.nx-hero {
  width: 100%;
  overflow: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
}

.nx-hero__container{
    height: 90vh;
    max-width: 1380px;
    margin: 0 auto;
    padding: 72px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}
.nx-hero__content {
  max-width: 580px;
  min-width: 0;
}

.nx-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--nx-primary);
  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nx-hero__eyebrow i {
  font-size: 17px;
}

.nx-hero__title {
  margin: 0;
  color: var(--nx-text);
  font-family: var(--nx-font-heading);
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.nx-hero__title span {
  display: block;
  color: var(--nx-primary);
}

.nx-hero__description {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--nx-text-muted);
  font-family: var(--nx-font-body);
  font-size: 15px;
  line-height: 1.8;
}

.nx-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nx-hero .scan-action-button,
.nx-hero .nx-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--nx-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.nx-hero .scan-action-button--appointment {
  color: var(--nx-on-primary);
  background: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);
}

.nx-hero .scan-action-button--appointment:hover {
  background: var(--nx-primary);
  border-color: var(--nx-primary);
  transform: translateY(-1px);
}

.nx-hero .nx-hero__button--secondary {
  color: var(--nx-text);
  background: transparent;
  border-color: var(--nx-border);
}

.nx-hero .nx-hero__button--secondary:hover {
  color: var(--nx-primary);
  border-color: var(--nx-primary);
}

.nx-hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--nx-border);
}

.nx-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--nx-text-muted);
  font-family: var(--nx-font-body);
  font-size: 12px;
}

.nx-hero__trust-item i {
  color: var(--nx-primary);
  font-size: 15px;
}

.nx-hero__visual {
  min-width: 0;
  align-self: stretch;
}

.nx-hero__image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--nx-surface);
  border-radius: 5px;
}

.nx-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.nx-hero__image-wrap:hover .nx-hero__image {
  transform: scale(1.025);
}

/* =========================================
   DARK MODE
   ========================================= */

[data-theme="dark"] .nx-hero {
  background: #191D23;
  color: #DEDCDC;
}

[data-theme="dark"] .nx-hero__title {
  color: #DEDCDC;
}

[data-theme="dark"] .nx-hero__title span {
  color: #7E919F;
}

[data-theme="dark"] .nx-hero .scan-action-button--appointment {
  color: #191D23;
  background: #7E919F;
  border-color: #7E919F;
}

[data-theme="dark"] .nx-hero .scan-action-button--appointment:hover {
  background: #979DAB;
  border-color: #979DAB;
}

[data-theme="dark"] .nx-hero .nx-hero__button--secondary {
  color: #DEDCDC;
  border-color: #57707A;
}

[data-theme="dark"] .nx-hero .nx-hero__button--secondary:hover {
  color: #7E919F;
  border-color: #7E919F;
}

[data-theme="dark"] .nx-hero__trust {
  border-color: #57707A;
}

/* =========================================
   TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  .nx-hero__container {
    padding: 58px 32px;
    gap: 32px;
  }

  .nx-hero__title {
    font-size: clamp(38px, 5vw, 52px);
  }

  .nx-hero__description {
    font-size: 14px;
  }

  .nx-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nx-hero .scan-action-button,
  .nx-hero .nx-hero__button {
    width: fit-content;
    max-width: 100%;
  }

  .nx-hero__trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nx-hero__image-wrap {
    height: 420px;
  }
}

/* =========================================
   MOBILE — FIX HERO IMAGE VISIBILITY
   ========================================= */

@media (max-width: 767px) {

  .nx-hero {
    overflow: visible;
  }

  .nx-hero__container {
    width: 100%;
    height: auto;
    min-height: 0;

    grid-template-columns: minmax(0, 1fr);
    gap: 32px;

    padding: 42px 20px 50px;
  }

  .nx-hero__content {
    width: 100%;
    max-width: none;
  }

  .nx-hero__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .nx-hero__title {
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.12;
  }

  .nx-hero__description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .nx-hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .nx-hero .scan-action-button,
  .nx-hero .nx-hero__button {
    width: 100%;
    min-height: 48px;
  }

  .nx-hero__trust {
    gap: 14px;
    margin-top: 25px;
    padding-top: 19px;
  }

  .nx-hero__trust-item {
    font-size: 11px;
  }

  .nx-hero__visual {
    width: 100%;
    min-width: 0;
  }

  .nx-hero__image-wrap {
    width: 100%;
    height: clamp(280px, 85vw, 410px);
    min-height: 280px;
    overflow: hidden;
  }

  .nx-hero__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
}
@media (max-width: 359px) {

  .nx-hero__container {
    height: auto;
    min-height: 0;
    padding: 34px 15px 45px;
    gap: 26px;
  }

  .nx-hero__title {
    font-size: 34px;
  }

  .nx-hero__description {
    font-size: 13px;
  }

  .nx-hero__trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .nx-hero__image-wrap {
    height: 280px;
    min-height: 280px;
  }
}

/* =========================================================
   NEXASCAN HOME 1 — SECTION 02
   IMAGING SERVICES
   ========================================================= */

.nx-services-overview {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
}

.nx-services-overview,
.nx-services-overview * {
  box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-services-overview__container {
  width: min(100% - 64px, 1200px);
  margin-inline: auto;
}


/* =========================================================
   CENTERED HEADER
   ========================================================= */

.nx-services-overview__header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.nx-services-overview__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--nx-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.nx-services-overview__title {
  margin: 0;
  color: var(--nx-text);
  font-family: var(--nx-font-heading);
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.nx-services-overview__title span {
  display: block;
  color: var(--nx-primary);
}

.nx-services-overview__intro {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--nx-text-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}


/* =========================================================
   SERVICE GRID
   ========================================================= */

.nx-services-overview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.nx-service-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.nx-service-card__image-wrap {
  position: relative;
  aspect-ratio: 0.82 / 1;
  overflow: hidden;
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  background: var(--nx-surface);
}

.nx-service-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 600ms cubic-bezier(0.2, 0.65, 0.25, 1);
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.nx-service-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.45) 32%,
      rgba(0, 0, 0, 0.08) 65%,
      rgba(0, 0, 0, 0) 100%
    );
  pointer-events: none;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.nx-service-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 28px 26px;
  color: #ffffff;
}

.nx-service-card__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.nx-service-card__title {
  margin: 0;
  color: #ffffff;
  font-family: var(--nx-font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
}

.nx-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.nx-service-card__link i {
  color: var(--nx-primary);
  font-size: 0.72rem;
  transition: transform 200ms ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.nx-service-card:hover .nx-service-card__image {
  transform: scale(1.045);
}

.nx-service-card:hover .nx-service-card__link {
  opacity: 1;
  transform: translateY(0);
}

.nx-service-card:hover .nx-service-card__link i {
  transform: translateX(4px);
}


/* =========================================================
   FOCUS
   ========================================================= */

.nx-service-card:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 5px;
  border-radius: 8px;
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .nx-services-overview {
    padding: 72px 0;
  }

  .nx-services-overview__container {
    width: min(100% - 48px, 900px);
  }

  .nx-services-overview__header {
    margin-bottom: 38px;
  }

  .nx-services-overview__title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .nx-services-overview__intro {
    font-size: 0.88rem;
  }

  .nx-services-overview__grid {
    gap: 16px;
  }

  .nx-service-card__content {
    padding: 22px 20px;
  }

  .nx-service-card__label {
    font-size: 0.57rem;
  }

  .nx-service-card__title {
    font-size: 1.45rem;
  }

  .nx-service-card__link {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .nx-services-overview {
    padding: 58px 0;
  }

  .nx-services-overview__container {
    width: calc(100% - 36px);
  }

  .nx-services-overview__header {
    margin-bottom: 32px;
  }

  .nx-services-overview__eyebrow {
    margin-bottom: 11px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .nx-services-overview__title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.15;
  }

  .nx-services-overview__intro {
    margin-top: 15px;
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .nx-services-overview__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nx-service-card__image-wrap {
    aspect-ratio: 1.15 / 1;
    border-radius: 7px;
  }

  .nx-service-card__content {
    padding: 24px 22px;
  }

  .nx-service-card__label {
    margin-bottom: 6px;
    font-size: 0.58rem;
  }

  .nx-service-card__title {
    font-size: 1.55rem;
  }

  .nx-service-card__link {
    opacity: 1;
    transform: none;
    margin-top: 11px;
  }
}


/* =========================================================
   SMALL MOBILE
   320px — 359px
   ========================================================= */

@media (max-width: 359px) {

  .nx-services-overview {
    padding: 50px 0;
  }

  .nx-services-overview__container {
    width: calc(100% - 28px);
  }

  .nx-services-overview__title {
    font-size: 1.8rem;
  }

  .nx-services-overview__intro {
    font-size: 0.8rem;
  }

  .nx-service-card__content {
    padding: 20px 18px;
  }

  .nx-service-card__title {
    font-size: 1.4rem;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .nx-service-card__image,
  .nx-service-card__link,
  .nx-service-card__link i {
    transition: none;
  }

  .nx-service-card:hover .nx-service-card__image {
    transform: none;
  }

  .nx-service-card__link {
    opacity: 1;
    transform: none;
  }
}
/* =========================================================
   NEXASCAN HOME 1 — SECTION 03
   TECHNOLOGY & PATIENT CARE
   ========================================================= */

.nx-technology {
    position: relative;
    padding: 80px 0;
    background: var(--nx-bg);
    color: var(--nx-text);
    overflow: hidden;
}

.nx-technology,
.nx-technology * {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-technology__container {
    width: min(100% - 64px, 1200px);
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-technology__header {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.nx-technology__eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--nx-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
}

.nx-technology__title {
    margin: 0;
    color: var(--nx-text);
    font-family: var(--nx-font-heading);
    font-size: clamp(2.15rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.nx-technology__title span {
    color: var(--nx-primary);
}

.nx-technology__intro {
    max-width: 600px;
    margin: 17px auto 0;
    color: var(--nx-text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}


/* =========================================================
   VISUAL
   ========================================================= */

.nx-technology__visual {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    border: 1px solid var(--nx-border);
    border-radius: 8px;
    background: var(--nx-surface);
}

.nx-technology__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.nx-technology__visual:hover .nx-technology__image {
    transform: scale(1.025);
}


/* =========================================================
   FEATURES
   ========================================================= */

.nx-technology__features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 36px;
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
}

.nx-technology__feature {
    display: flex;
    flex-direction: column;
    gap: 17px;
    min-width: 0;
    padding: 25px 24px 27px;
}

.nx-technology__feature + .nx-technology__feature {
    border-left: 1px solid var(--nx-border);
}

.nx-technology__feature-number {
    color: var(--nx-primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}

.nx-technology__feature-content h3 {
    margin: 0;
    color: var(--nx-text);
    font-family: var(--nx-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
}

.nx-technology__feature-content p {
    margin: 9px 0 0;
    color: var(--nx-text-muted);
    font-size: 0.78rem;
    line-height: 1.7;
}


/* =========================================================
   FOOTER / CTA
   ========================================================= */

.nx-technology__footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.nx-technology__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--nx-text);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        color 220ms ease,
        gap 220ms ease;
}

.nx-technology__link i {
    color: var(--nx-primary);
    font-size: 0.7rem;
}

.nx-technology__link:hover {
    color: var(--nx-primary);
    gap: 14px;
}

.nx-technology__link:focus-visible {
    outline: 2px solid var(--nx-primary);
    outline-offset: 5px;
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .nx-technology {
        padding: 70px 0;
    }

    .nx-technology__container {
        width: min(100% - 48px, 900px);
    }

    .nx-technology__header {
        margin-bottom: 34px;
    }

    .nx-technology__title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }

    .nx-technology__intro {
        font-size: 0.86rem;
    }

    .nx-technology__visual {
        height: 330px;
    }

    .nx-technology__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nx-technology__feature {
        padding: 22px 20px;
    }

    .nx-technology__feature:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--nx-border);
    }

    .nx-technology__feature:nth-child(4) {
        border-top: 1px solid var(--nx-border);
    }

    .nx-technology__feature-content h3 {
        font-size: 1.05rem;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-technology {
        padding: 58px 0;
    }

    .nx-technology__container {
        width: calc(100% - 36px);
    }

    .nx-technology__header {
        margin-bottom: 30px;
    }

    .nx-technology__eyebrow {
        margin-bottom: 10px;
        font-size: 0.64rem;
        letter-spacing: 0.12em;
    }

    .nx-technology__title {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.14;
    }

    .nx-technology__intro {
        margin-top: 14px;
        font-size: 0.83rem;
        line-height: 1.7;
    }

    .nx-technology__visual {
        height: 250px;
        border-radius: 7px;
    }

    .nx-technology__features {
        grid-template-columns: 1fr;
        margin-top: 28px;
    }

    .nx-technology__feature {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 12px;
        padding: 19px 0;
    }

    .nx-technology__feature + .nx-technology__feature {
        border-top: 1px solid var(--nx-border);
        border-left: 0;
    }

    .nx-technology__feature-number {
        padding-top: 3px;
    }

    .nx-technology__feature-content h3 {
        font-size: 1.05rem;
    }

    .nx-technology__feature-content p {
        margin-top: 7px;
        font-size: 0.76rem;
        line-height: 1.65;
    }

    .nx-technology__footer {
        margin-top: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 359px) {

    .nx-technology {
        padding: 50px 0;
    }

    .nx-technology__container {
        width: calc(100% - 28px);
    }

    .nx-technology__title {
        font-size: 1.8rem;
    }

    .nx-technology__intro {
        font-size: 0.79rem;
    }

    .nx-technology__visual {
        height: 220px;
    }

    .nx-technology__feature-content h3 {
        font-size: 0.98rem;
    }

    .nx-technology__feature-content p {
        font-size: 0.73rem;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-technology__image,
    .nx-technology__link {
        transition: none;
    }

    .nx-technology__visual:hover .nx-technology__image {
        transform: none;
    }

}
/* =========================================================
   SECTION 04 — PATIENT JOURNEY
   ========================================================= */

.nx-patient-journey {
    position: relative;
    padding: 10px 0;
    background: var(--nx-surface);
    overflow: hidden;
}

.nx-patient-journey__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-patient-journey__header {
    max-width: 700px;
    margin: 0 auto 58px;
    text-align: center;
}

.nx-patient-journey__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 17px;

    color: var(--nx-primary);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.nx-patient-journey__eyebrow::before,
.nx-patient-journey__eyebrow::after {
    content: "";

    width: 24px;
    height: 2px;

    background: var(--nx-primary);
}

.nx-patient-journey__header h2 {
    margin: 0 0 18px;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.nx-patient-journey__header h2 span {
    color: var(--nx-primary);
}

.nx-patient-journey__header p {
    max-width: 610px;
    margin: 0 auto;

    color: var(--nx-text-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   STEPS
   ========================================================= */

.nx-patient-journey__steps {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.nx-patient-journey__steps::before {
    content: "";

    position: absolute;
    top: 29px;
    left: 11%;
    right: 11%;

    height: 1px;

    background: var(--nx-border);

    z-index: 0;
}


/* =========================================================
   STEP
   ========================================================= */

.nx-patient-journey__step {
    position: relative;
    z-index: 1;

    min-width: 0;

    padding: 26px 24px 28px;

    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: 14px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.nx-patient-journey__step:hover {
    transform: translateY(-5px);

    border-color: rgba(126, 145, 159, 0.55);

    box-shadow: 0 16px 35px rgba(25, 29, 35, 0.08);
}

.nx-patient-journey__step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 26px;
}

.nx-patient-journey__number {
    color: var(--nx-text-muted);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nx-patient-journey__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(87, 112, 122, 0.12);
    color: var(--nx-primary);

    font-size: 18px;
}

.nx-patient-journey__step-content h3 {
    margin: 0 0 9px;

    color: var(--nx-text);

    font-size: 17px;
    font-weight: 700;
}

.nx-patient-journey__step-content p {
    margin: 0;

    color: var(--nx-text-muted);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER LINK
   ========================================================= */

.nx-patient-journey__footer {
    margin-top: 34px;
    text-align: center;
}

.nx-patient-journey__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--nx-primary);

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: gap 0.25s ease;
}

.nx-patient-journey__link:hover {
    gap: 14px;
}

.nx-patient-journey__link i {
    transition: transform 0.25s ease;
}

.nx-patient-journey__link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.nx-patient-journey__header,
.nx-patient-journey__step,
.nx-patient-journey__footer {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}

.nx-patient-journey__step:nth-child(2) {
    transition-delay: 0.08s;
}

.nx-patient-journey__step:nth-child(3) {
    transition-delay: 0.16s;
}

.nx-patient-journey__step:nth-child(4) {
    transition-delay: 0.24s;
}

.nx-patient-journey__step:nth-child(5) {
    transition-delay: 0.32s;
}

.nx-patient-journey.is-visible
.nx-patient-journey__header,

.nx-patient-journey.is-visible
.nx-patient-journey__step,

.nx-patient-journey.is-visible
.nx-patient-journey__footer {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TABLET — 768px to 1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .nx-patient-journey {
        padding: 80px 0;
    }

    .nx-patient-journey__container {
        width: min(900px, calc(100% - 56px));
    }

    .nx-patient-journey__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nx-patient-journey__steps::before {
        display: none;
    }
}


/* =========================================================
   LARGE — 1024px to 1280px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

    .nx-patient-journey {
        padding: 90px 0;
    }

    .nx-patient-journey__container {
        width: min(1100px, calc(100% - 64px));
    }

    .nx-patient-journey__steps {
        gap: 18px;
    }

    .nx-patient-journey__step {
        padding: 23px 20px 25px;
    }
}


/* =========================================================
   MOBILE — 320px to 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-patient-journey {
        padding: 64px 0;
    }

    .nx-patient-journey__container {
        width: calc(100% - 32px);
    }

    .nx-patient-journey__header {
        margin-bottom: 38px;
    }

    .nx-patient-journey__eyebrow {
        font-size: 10px;
    }

    .nx-patient-journey__header h2 {
        font-size: clamp(32px, 9vw, 40px);
    }

    .nx-patient-journey__header p {
        font-size: 14px;
    }

    .nx-patient-journey__steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nx-patient-journey__steps::before {
        display: none;
    }

    .nx-patient-journey__step {
        padding: 20px;
    }

    .nx-patient-journey__step-top {
        margin-bottom: 20px;
    }

    .nx-patient-journey__step-content p {
        font-size: 12.5px;
    }
}


/* =========================================================
   VERY SMALL — 320px to 374px
   ========================================================= */

@media (max-width: 374px) {

    .nx-patient-journey__container {
        width: calc(100% - 24px);
    }
}

/* =========================================================
   SECTION 04 — PATIENT JOURNEY
   THEME COLOR UPDATE ONLY
   Design / Layout remains unchanged
   ========================================================= */

/* Main section background */
.nx-patient-journey {
    background: var(--nx-bg);
    color: var(--nx-text);
}


/* Header */
.nx-patient-journey__eyebrow {
    color: var(--nx-primary);
}

.nx-patient-journey__eyebrow::before,
.nx-patient-journey__eyebrow::after {
    background: var(--nx-primary);
}

.nx-patient-journey__header h2 {
    color: var(--nx-text);
}

.nx-patient-journey__header h2 span {
    color: var(--nx-primary);
}

.nx-patient-journey__header p {
    color: var(--nx-text-muted);
}


/* Journey cards */
.nx-patient-journey__step {
    background: var(--nx-surface);
    border-color: var(--nx-border);
}

.nx-patient-journey__step:hover {
    border-color: var(--nx-primary);
    box-shadow: var(--nx-shadow);
}


/* Step number */
.nx-patient-journey__number {
    color: var(--nx-text-muted);
}


/* Icons */
.nx-patient-journey__icon {
    background: color-mix(
        in srgb,
        var(--nx-primary) 12%,
        transparent
    );

    color: var(--nx-primary);
}


/* Step content */
.nx-patient-journey__step-content h3 {
    color: var(--nx-text);
}

.nx-patient-journey__step-content p {
    color: var(--nx-text-muted);
}


/* Connecting line */
.nx-patient-journey__steps::before {
    background: var(--nx-border);
}


/* CTA */
.nx-patient-journey__link {
    color: var(--nx-primary);
}

.nx-patient-journey__link i {
    color: var(--nx-primary);
}


/* Focus */
.nx-patient-journey__link:focus-visible {
    outline-color: var(--nx-primary);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-patient-journey__header,
    .nx-patient-journey__step,
    .nx-patient-journey__footer,
    .nx-patient-journey__link,
    .nx-patient-journey__step {
        transition: none;
    }

    .nx-patient-journey__header,
    .nx-patient-journey__step,
    .nx-patient-journey__footer {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   SECTION 05 — VISIT INFORMATION
   ========================================================= */

.nx-visit-info {
    position: relative;

    padding: 100px 0;

    background: var(--nx-surface-soft);

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-visit-info__container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);

    gap: 80px;

    align-items: center;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.nx-visit-info__content {
    max-width: 500px;
}

.nx-visit-info__eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--nx-primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nx-visit-info__content h2 {
    margin: 0 0 20px;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);

    font-size: clamp(38px, 4.2vw, 56px);

    font-weight: 700;
    line-height: 1.08;

    letter-spacing: -0.025em;
}

.nx-visit-info__content h2 span {
    display: block;

    color: var(--nx-primary);
}

.nx-visit-info__intro {
    max-width: 470px;

    margin: 0 0 30px;

    color: var(--nx-text-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   MAIN LINK
   ========================================================= */

.nx-visit-info__main-link {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    min-height: 44px;

    padding: 0 17px;

    background: var(--nx-primary);

    border: 1px solid var(--nx-primary);
    border-radius: 8px;

    color: var(--nx-on-primary);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.nx-visit-info__main-link:hover {
    background: var(--nx-primary-strong);
    border-color: var(--nx-primary-strong);

    color: var(--nx-on-primary);

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(25, 29, 35, 0.18);
}

.nx-visit-info__main-link i {
    font-size: 11px;

    transition: transform 0.25s ease;
}

.nx-visit-info__main-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   INFORMATION PANEL
   ========================================================= */

.nx-visit-info__panel {
    position: relative;

    background: var(--nx-surface);

    border: 1px solid var(--nx-border);
    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 12px 30px rgba(25, 29, 35, 0.06);
}


/* =========================================================
   INFORMATION ITEM
   ========================================================= */

.nx-visit-info__item {
    position: relative;

    display: grid;

    grid-template-columns: 46px minmax(0, 1fr) 32px;

    gap: 17px;

    align-items: center;

    padding: 25px 27px;

    background: var(--nx-surface);

    border-bottom: 1px solid var(--nx-border);

    color: inherit;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.nx-visit-info__item:last-child {
    border-bottom: 0;
}

.nx-visit-info__item:hover {
    background: var(--nx-surface-soft);
}


/* =========================================================
   ICON
   ========================================================= */

.nx-visit-info__item-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(87, 112, 122, 0.12);

    color: var(--nx-primary);

    font-size: 16px;
}


/* =========================================================
   ITEM CONTENT
   ========================================================= */

.nx-visit-info__item-number {
    display: block;

    margin-bottom: 5px;

    color: var(--nx-primary);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.nx-visit-info__item-content h3 {
    margin: 0 0 7px;

    color: var(--nx-text);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.35;
}

.nx-visit-info__item-content p {
    max-width: 560px;

    margin: 0;

    color: var(--nx-text-muted);

    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   ITEM ARROW
   ========================================================= */

.nx-visit-info__item-arrow {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--nx-border);
    border-radius: 50%;

    color: var(--nx-text-muted);

    font-size: 10px;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.nx-visit-info__item:hover .nx-visit-info__item-arrow {
    background: var(--nx-primary);
    border-color: var(--nx-primary);

    color: var(--nx-on-primary);

    transform: translateX(3px);
}


/* =========================================================
   TABLET — 768px TO 1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .nx-visit-info {
        padding: 78px 0;
    }

    .nx-visit-info__container {
        width: min(900px, calc(100% - 56px));

        grid-template-columns: 1fr;

        gap: 45px;
    }

    .nx-visit-info__content {
        max-width: 720px;
    }

    .nx-visit-info__content h2 {
        font-size: clamp(38px, 5vw, 50px);
    }
}


/* =========================================================
   LARGE — 1024px TO 1280px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

    .nx-visit-info {
        padding: 85px 0;
    }

    .nx-visit-info__container {
        width: min(1100px, calc(100% - 64px));

        gap: 55px;
    }

    .nx-visit-info__item {
        padding: 22px;
    }
}


/* =========================================================
   MOBILE — 320px TO 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-visit-info {
        padding: 64px 0;
    }

    .nx-visit-info__container {
        width: calc(100% - 32px);

        grid-template-columns: 1fr;

        gap: 38px;
    }

    .nx-visit-info__content h2 {
        font-size: clamp(34px, 9vw, 43px);
    }

    .nx-visit-info__intro {
        font-size: 14px;
        line-height: 1.75;
    }

    .nx-visit-info__panel {
        border-radius: 13px;
    }

    .nx-visit-info__item {
        grid-template-columns: 42px minmax(0, 1fr);

        gap: 13px;

        padding: 20px 17px;
    }

    .nx-visit-info__item-icon {
        width: 42px;
        height: 42px;

        font-size: 14px;
    }

    .nx-visit-info__item-arrow {
        display: none;
    }

    .nx-visit-info__item-content h3 {
        font-size: 14px;
    }

    .nx-visit-info__item-content p {
        font-size: 11px;
        line-height: 1.6;
    }
}


/* =========================================================
   VERY SMALL — 320px TO 374px
   ========================================================= */

@media (max-width: 374px) {

    .nx-visit-info__container {
        width: calc(100% - 24px);
    }

    .nx-visit-info__item {
        padding: 18px 14px;
    }
}

/* =========================================================
   SECTION 05 — VISIT INFORMATION
   THEME COLOR UPDATE ONLY
   DESIGN / LAYOUT UNCHANGED
   ========================================================= */

.nx-visit-info {
    background: var(--nx-bg);
    color: var(--nx-text);
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.nx-visit-info__eyebrow {
    color: var(--nx-primary);
}

.nx-visit-info__content h2 {
    color: var(--nx-text);
}

.nx-visit-info__content h2 span {
    color: var(--nx-primary);
}

.nx-visit-info__intro {
    color: var(--nx-text-muted);
}


/* =========================================================
   MAIN LINK
   ========================================================= */

.nx-visit-info__main-link {
    background: var(--nx-primary);
    border-color: var(--nx-primary);
    color: var(--nx-on-primary);
}

.nx-visit-info__main-link:hover {
    background: var(--nx-primary-strong);
    border-color: var(--nx-primary-strong);
    color: var(--nx-on-primary);

    box-shadow:
        0 6px 16px rgba(25, 29, 35, 0.14);
}


/* =========================================================
   INFORMATION PANEL
   ========================================================= */

.nx-visit-info__panel {
    background: var(--nx-surface);
    border-color: var(--nx-border);

    box-shadow:
        0 12px 30px rgba(25, 29, 35, 0.05);
}


/* =========================================================
   INFORMATION ITEMS
   ========================================================= */

.nx-visit-info__item {
    background: var(--nx-surface);
    border-bottom-color: var(--nx-border);
}

.nx-visit-info__item:hover {
    background: var(--nx-bg);
}


/* =========================================================
   ICON
   ========================================================= */

.nx-visit-info__item-icon {
    background: color-mix(
        in srgb,
        var(--nx-primary) 12%,
        transparent
    );

    color: var(--nx-primary);
}


/* =========================================================
   ITEM CONTENT
   ========================================================= */

.nx-visit-info__item-number {
    color: var(--nx-primary);
}

.nx-visit-info__item-content h3 {
    color: var(--nx-text);
}

.nx-visit-info__item-content p {
    color: var(--nx-text-muted);
}


/* =========================================================
   ITEM ARROW
   ========================================================= */

.nx-visit-info__item-arrow {
    border-color: var(--nx-border);
    color: var(--nx-text-muted);
}

.nx-visit-info__item:hover .nx-visit-info__item-arrow {
    background: var(--nx-primary);
    border-color: var(--nx-primary);
    color: var(--nx-on-primary);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-visit-info__main-link,
    .nx-visit-info__item,
    .nx-visit-info__item-arrow {
        transition: none;
    }
}


/* =========================================================
   NEXASCAN HOME 1 — SECTION 06
   IMAGING EXPERTISE
   LIGHT + DARK MODE VERSION
   ========================================================= */

.nx-imaging-expertise {
    --nx-imaging-text: #20272a;
    --nx-imaging-muted: rgba(32, 39, 42, 0.72);
    --nx-imaging-soft: rgba(32, 39, 42, 0.56);
    --nx-imaging-line: rgba(32, 39, 42, 0.20);
    --nx-imaging-hover: rgba(255, 255, 255, 0.48);
    --nx-imaging-overlay:
        linear-gradient(
            180deg,
            rgba(247, 248, 246, 0.72) 0%,
            rgba(247, 248, 246, 0.64) 48%,
            rgba(247, 248, 246, 0.82) 100%
        );

    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    overflow: hidden;

    color: var(--nx-imaging-text);
}


/* =========================================================
   DARK MODE
   Supports common theme implementations
   ========================================================= */

html.dark-mode .nx-imaging-expertise,
html[data-theme="dark"] .nx-imaging-expertise,
body.dark-mode .nx-imaging-expertise,
[data-theme="dark"] .nx-imaging-expertise {

    --nx-imaging-text: #f5f5f2;
    --nx-imaging-muted: rgba(255, 255, 255, 0.78);
    --nx-imaging-soft: rgba(255, 255, 255, 0.58);
    --nx-imaging-line: rgba(255, 255, 255, 0.25);
    --nx-imaging-hover: rgba(255, 255, 255, 0.09);

    --nx-imaging-overlay:
        linear-gradient(
            180deg,
            rgba(20, 27, 31, 0.58) 0%,
            rgba(20, 27, 31, 0.48) 45%,
            rgba(20, 27, 31, 0.78) 100%
        );
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.nx-imaging-expertise__background {
    position: absolute;
    inset: 0;

    z-index: 0;

    overflow: hidden;
}


.nx-imaging-expertise__background-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);

    transition:
        transform 1.2s cubic-bezier(0.2, 0.65, 0.25, 1);
}


.nx-imaging-expertise:hover
.nx-imaging-expertise__background-image {
    transform: scale(1.05);
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.nx-imaging-expertise__overlay {
    position: absolute;
    inset: 0;

    background: var(--nx-imaging-overlay);

    transition: background 0.35s ease;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-imaging-expertise__container {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-imaging-expertise__header {
    max-width: 780px;

    margin: 0 auto 52px;

    text-align: center;
}


.nx-imaging-expertise__eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--nx-primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.16em;
    line-height: 1.5;
}


.nx-imaging-expertise__title {
    margin: 0;

    color: var(--nx-imaging-text);

    font-family: var(--nx-font-heading);

    font-size: clamp(38px, 4.5vw, 58px);

    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -0.04em;

    text-wrap: balance;

    transition: color 0.3s ease;
}


.nx-imaging-expertise__title span {
    display: block;

    color: var(--nx-primary);
}


.nx-imaging-expertise__intro {
    max-width: 620px;

    margin: 18px auto 0;

    color: var(--nx-imaging-muted);

    font-size: 14px;
    line-height: 1.8;

    transition: color 0.3s ease;
}


/* =========================================================
   SERVICES
   ========================================================= */

.nx-imaging-expertise__services {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--nx-imaging-line);
    border-bottom: 1px solid var(--nx-imaging-line);

    transition: border-color 0.3s ease;
}


.nx-imaging-expertise__service {
    position: relative;

    display: grid;

    grid-template-columns: 32px minmax(0, 1fr) 32px;

    gap: 14px;

    align-items: center;

    min-width: 0;

    padding: 25px 22px;

    color: var(--nx-imaging-text);

    text-decoration: none;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}


.nx-imaging-expertise__service
+ .nx-imaging-expertise__service {
    border-left: 1px solid var(--nx-imaging-line);
}


.nx-imaging-expertise__service:hover {
    background: var(--nx-imaging-hover);
}


/* =========================================================
   NUMBER
   ========================================================= */

.nx-imaging-expertise__service-number {
    align-self: start;

    padding-top: 2px;

    color: var(--nx-imaging-soft);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.1em;

    transition: color 0.3s ease;
}


/* =========================================================
   CONTENT
   ========================================================= */

.nx-imaging-expertise__service-content {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.nx-imaging-expertise__service-label {
    display: block;

    margin-bottom: 6px;

    color: var(--nx-imaging-soft);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.1em;
    line-height: 1.5;

    transition: color 0.3s ease;
}


.nx-imaging-expertise__service-content strong {
    color: var(--nx-imaging-text);

    font-family: var(--nx-font-heading);

    font-size: 23px;
    font-weight: 600;

    line-height: 1.2;

    transition: color 0.3s ease;
}


/* =========================================================
   ARROW
   ========================================================= */

.nx-imaging-expertise__service-arrow {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--nx-imaging-line);
    border-radius: 50%;

    color: var(--nx-imaging-text);

    font-size: 9px;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.nx-imaging-expertise__service:hover
.nx-imaging-expertise__service-arrow {
    background: var(--nx-primary);

    border-color: var(--nx-primary);

    color: var(--nx-on-primary);

    transform: translateX(3px);
}


/* =========================================================
   FOOTER
   ========================================================= */

.nx-imaging-expertise__footer {
    display: flex;

    justify-content: center;

    margin-top: 32px;
}


.nx-imaging-expertise__footer-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--nx-imaging-text);

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.nx-imaging-expertise__footer-link i {
    color: var(--nx-primary);

    font-size: 10px;
}


.nx-imaging-expertise__footer-link:hover {
    color: var(--nx-primary);

    gap: 14px;
}


/* =========================================================
   FOCUS
   ========================================================= */

.nx-imaging-expertise__service:focus-visible,
.nx-imaging-expertise__footer-link:focus-visible {
    outline: 2px solid var(--nx-primary);
    outline-offset: 5px;
}


/* =========================================================
   TABLET
   768px — 1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .nx-imaging-expertise {
        min-height: auto;

        padding: 80px 0;
    }


    .nx-imaging-expertise__container {
        width: min(900px, calc(100% - 56px));
    }


    .nx-imaging-expertise__header {
        margin-bottom: 42px;
    }


    .nx-imaging-expertise__title {
        font-size: clamp(36px, 5vw, 50px);
    }


    .nx-imaging-expertise__intro {
        font-size: 13px;
    }


    .nx-imaging-expertise__service {
        grid-template-columns: 25px minmax(0, 1fr) 28px;

        gap: 10px;

        padding: 22px 17px;
    }


    .nx-imaging-expertise__service-label {
        font-size: 7px;
    }


    .nx-imaging-expertise__service-content strong {
        font-size: 20px;
    }
}


/* =========================================================
   LARGE
   1024px — 1280px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

    .nx-imaging-expertise {
        min-height: 600px;

        padding: 90px 0;
    }


    .nx-imaging-expertise__container {
        width: min(1100px, calc(100% - 64px));
    }


    .nx-imaging-expertise__header {
        margin-bottom: 46px;
    }


    .nx-imaging-expertise__service {
        padding: 23px 19px;
    }
}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-imaging-expertise {
        min-height: auto;

        padding: 68px 0;
    }


    .nx-imaging-expertise__container {
        width: calc(100% - 32px);
    }


    .nx-imaging-expertise__header {
        margin-bottom: 34px;
    }


    .nx-imaging-expertise__eyebrow {
        margin-bottom: 11px;

        font-size: 9px;

        letter-spacing: 0.13em;
    }


    .nx-imaging-expertise__title {
        font-size: clamp(31px, 8.5vw, 41px);

        line-height: 1.12;
    }


    .nx-imaging-expertise__intro {
        margin-top: 15px;

        font-size: 12.5px;
        line-height: 1.7;
    }


    /* Services become vertical list */

    .nx-imaging-expertise__services {
        grid-template-columns: 1fr;
    }


    .nx-imaging-expertise__service {
        grid-template-columns: 30px minmax(0, 1fr) 30px;

        gap: 12px;

        padding: 20px 4px;
    }


    .nx-imaging-expertise__service
    + .nx-imaging-expertise__service {
        border-top: 1px solid var(--nx-imaging-line);
        border-left: 0;
    }


    .nx-imaging-expertise__service-label {
        font-size: 7px;
    }


    .nx-imaging-expertise__service-content strong {
        font-size: 20px;
    }


    .nx-imaging-expertise__service-arrow {
        width: 28px;
        height: 28px;
    }


    .nx-imaging-expertise__footer {
        margin-top: 27px;
    }


    .nx-imaging-expertise__footer-link {
        font-size: 12px;
    }
}


/* =========================================================
   VERY SMALL
   320px — 374px
   ========================================================= */

@media (max-width: 374px) {

    .nx-imaging-expertise__container {
        width: calc(100% - 24px);
    }


    .nx-imaging-expertise {
        padding: 58px 0;
    }


    .nx-imaging-expertise__title {
        font-size: 29px;
    }


    .nx-imaging-expertise__intro {
        font-size: 11.5px;
    }


    .nx-imaging-expertise__service {
        padding: 18px 2px;
    }


    .nx-imaging-expertise__service-content strong {
        font-size: 18px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-imaging-expertise__background-image,
    .nx-imaging-expertise__service,
    .nx-imaging-expertise__service-arrow,
    .nx-imaging-expertise__footer-link,
    .nx-imaging-expertise__overlay {
        transition: none;
    }


    .nx-imaging-expertise:hover
    .nx-imaging-expertise__background-image {
        transform: scale(1.02);
    }
}

/* =========================================================
   NEXASCAN HOME 1 — SECTION 07
   PATIENT TESTIMONIALS
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.nx-testimonials {
    position: relative;

    width: 100%;

    padding: 100px 0;

    background: var(--nx-bg);
    color: var(--nx-text);

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-testimonials__container {
    width: min(1280px, calc(100% - 110px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-testimonials__header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 34px;
}


.nx-testimonials__heading {
    min-width: 0;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.nx-testimonials__eyebrow {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 14px;

    font-family: var(--nx-font-body);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    color: var(--nx-primary);
}


.nx-testimonials__eyebrow span {
    display: block;

    width: 14px;
    height: 2px;

    flex: 0 0 auto;

    background: var(--nx-primary);
}


/* =========================================================
   TITLE
   ========================================================= */

.nx-testimonials__title {
    margin: 0;

    font-family: var(--nx-font-heading);

    font-size: clamp(34px, 3.2vw, 44px);

    font-weight: 600;

    line-height: 1.08;

    letter-spacing: -0.035em;

    color: var(--nx-text);
}


/* =========================================================
   OVERALL RATING
   ========================================================= */

.nx-testimonials__rating {
    display: flex;

    align-items: center;

    gap: 11px;

    padding-bottom: 5px;

    font-family: var(--nx-font-body);

    font-size: 13px;

    font-weight: 500;

    line-height: 1.4;

    color: var(--nx-text-muted);

    white-space: nowrap;
}


.nx-testimonials__rating-stars {
    display: flex;

    align-items: center;

    gap: 3px;

    color: var(--nx-primary);
}


.nx-testimonials__rating-stars i {
    font-size: 12px;
}


/* =========================================================
   TESTIMONIAL GRID
   ========================================================= */

.nx-testimonials__grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */

.nx-testimonial {
    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 365px;

    padding: 34px 34px 30px;

    background: var(--nx-surface);

    border: 1px solid var(--nx-border);

    border-radius: 10px;

    box-shadow: var(--nx-shadow);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}


.nx-testimonial:hover {
    transform: translateY(-4px);

    border-color: var(--nx-primary);
}


/* =========================================================
   CARD TOP
   ========================================================= */

.nx-testimonial__top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 26px;
}


/* =========================================================
   STARS
   ========================================================= */

.nx-testimonial__stars {
    display: flex;

    align-items: center;

    gap: 3px;

    color: var(--nx-primary);
}


.nx-testimonial__stars i {
    font-size: 13px;
}


/* =========================================================
   QUOTE ICON
   ========================================================= */

.nx-testimonial__quote {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border: 1px solid var(--nx-border);

    border-radius: 50%;

    color: var(--nx-primary);

    transition:
        border-color 0.3s ease,
        background-color 0.3s ease;
}


.nx-testimonial__quote i {
    font-size: 12px;
}


.nx-testimonial:hover .nx-testimonial__quote {
    border-color: var(--nx-primary);

    background: var(--nx-surface-soft);
}


/* =========================================================
   TESTIMONIAL TEXT
   ========================================================= */

.nx-testimonial__text {
    margin: 0;

    font-family: var(--nx-font-body);

    font-size: 15px;

    font-weight: 500;

    font-style: italic;

    line-height: 1.85;

    letter-spacing: -0.01em;

    color: var(--nx-text);
}


/* =========================================================
   FOOTER
   ========================================================= */

.nx-testimonial__footer {
    margin-top: auto;

    padding-top: 26px;

    border-top: 1px solid var(--nx-border);
}


/* =========================================================
   PATIENT
   ========================================================= */

.nx-testimonial__patient {
    display: flex;

    align-items: center;

    gap: 13px;
}


/* =========================================================
   PROFILE IMAGE
   ========================================================= */

.nx-testimonial__avatar {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    overflow: hidden;

    border: 1px solid var(--nx-border);

    border-radius: 50%;

    background: var(--nx-surface-soft);
}


.nx-testimonial__avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.4s ease;
}


.nx-testimonial:hover
.nx-testimonial__avatar img {
    transform: scale(1.06);
}


/* =========================================================
   PATIENT DETAILS
   ========================================================= */

.nx-testimonial__details {
    display: flex;

    flex-direction: column;

    gap: 4px;

    min-width: 0;
}


.nx-testimonial__details strong {
    font-family: var(--nx-font-body);

    font-size: 13px;

    font-weight: 700;

    line-height: 1.3;

    color: var(--nx-text);
}


.nx-testimonial__details span {
    font-family: var(--nx-font-body);

    font-size: 11px;

    font-weight: 500;

    line-height: 1.4;

    color: var(--nx-text-muted);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .nx-testimonials {
    background: var(--nx-bg);

    color: var(--nx-text);
}


[data-theme="dark"] .nx-testimonial {
    background: var(--nx-surface);

    border-color: var(--nx-border);

    box-shadow: var(--nx-shadow);
}


[data-theme="dark"] .nx-testimonial:hover {
    border-color: var(--nx-primary);
}


[data-theme="dark"] .nx-testimonial__text {
    color: var(--nx-text);
}


[data-theme="dark"] .nx-testimonial__details strong {
    color: var(--nx-text);
}


[data-theme="dark"] .nx-testimonial__details span {
    color: var(--nx-text-muted);
}


/* =========================================================
   LARGE TABLET
   1024px — 1280px
   ========================================================= */

@media (min-width: 1024px)
       and (max-width: 1280px) {

    .nx-testimonials {
        padding: 90px 0;
    }


    .nx-testimonials__container {
        width: min(
            1160px,
            calc(100% - 70px)
        );
    }


    .nx-testimonials__grid {
        gap: 16px;
    }


    .nx-testimonial {
        min-height: 360px;

        padding: 30px 26px 28px;
    }


    .nx-testimonial__text {
        font-size: 14px;

        line-height: 1.78;
    }

}


/* =========================================================
   TABLET
   768px — 1023px
   ========================================================= */

@media (min-width: 768px)
       and (max-width: 1023px) {

    .nx-testimonials {
        padding: 80px 0;
    }


    .nx-testimonials__container {
        width: calc(100% - 48px);
    }


    .nx-testimonials__header {
        align-items: flex-start;

        gap: 25px;

        margin-bottom: 28px;
    }


    .nx-testimonials__title {
        font-size: 36px;
    }


    .nx-testimonials__rating {
        padding-top: 27px;
    }


    .nx-testimonials__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .nx-testimonial {
        min-height: 350px;

        padding: 28px 24px 26px;
    }


    .nx-testimonial:last-child {
        grid-column: 1 / -1;
    }


    .nx-testimonial__text {
        font-size: 14px;

        line-height: 1.75;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-testimonials {
        padding: 70px 0;
    }


    .nx-testimonials__container {
        width: calc(100% - 32px);
    }


    .nx-testimonials__header {
        display: block;

        margin-bottom: 28px;
    }


    .nx-testimonials__eyebrow {
        margin-bottom: 12px;

        font-size: 11px;
    }


    .nx-testimonials__title {
        font-size: 32px;

        line-height: 1.08;
    }


    .nx-testimonials__rating {
        margin-top: 18px;

        padding: 0;

        font-size: 11px;
    }


    .nx-testimonials__grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .nx-testimonial,
    .nx-testimonial:last-child {
        grid-column: auto;

        min-height: 0;

        padding: 26px 22px 24px;
    }


    .nx-testimonial__top {
        margin-bottom: 22px;
    }


    .nx-testimonial__text {
        font-size: 14px;

        line-height: 1.75;
    }


    .nx-testimonial__footer {
        margin-top: 28px;

        padding-top: 21px;
    }


    .nx-testimonial__avatar {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 374px) {

    .nx-testimonials {
        padding: 60px 0;
    }


    .nx-testimonials__container {
        width: calc(100% - 24px);
    }


    .nx-testimonials__title {
        font-size: 29px;
    }


    .nx-testimonial {
        padding: 23px 18px 22px;
    }


    .nx-testimonial__text {
        font-size: 13px;

        line-height: 1.72;
    }


    .nx-testimonial__details span {
        font-size: 10px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-testimonial,
    .nx-testimonial__quote,
    .nx-testimonial__avatar img {
        transition: none;
    }


    .nx-testimonial:hover {
        transform: none;
    }


    .nx-testimonial:hover
    .nx-testimonial__avatar img {
        transform: none;
    }

}
/* =========================================================
   NEXASCAN HOME 1 — SECTION 08
   SIMPLE FINAL CTA
   LIGHT + DARK MODE VISIBILITY FIX
   ========================================================= */

.nx-final-cta {
    position: relative;
    width: 100%;
    padding: 95px 0;

    /* Use strong theme color as CTA background */
    background: var(--nx-primary-strong);

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-final-cta__container {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   CONTENT
   ========================================================= */

.nx-final-cta__content {
    max-width: 800px;
    margin: 0 auto;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.nx-final-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 17px;

    font-family: var(--nx-font-body);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    color: #DEDCDC;
}


.nx-final-cta__eyebrow::before,
.nx-final-cta__eyebrow::after {
    content: "";

    display: block;

    width: 22px;
    height: 1px;

    background: #979DAB;

    opacity: 0.8;
}


/* =========================================================
   TITLE
   ========================================================= */

.nx-final-cta__title {
    max-width: 780px;

    margin: 0 auto;

    font-family: var(--nx-font-heading);

    font-size: clamp(40px, 5vw, 60px);

    font-weight: 600;

    line-height: 1.06;

    letter-spacing: -0.035em;

    color: #F8F8F8;
}


/* =========================================================
   TITLE SECOND LINE
   ========================================================= */

.nx-final-cta__title span {
    display: block;

    margin-top: 3px;

    color: #C5BAC4;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.nx-final-cta__description {
    max-width: 590px;

    margin: 22px auto 0;

    font-family: var(--nx-font-body);

    font-size: 14px;

    font-weight: 400;

    line-height: 1.8;

    color: #C5BAC4;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.nx-final-cta__actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 31px;
}


/* =========================================================
   BUTTON BASE
   ========================================================= */

.nx-final-cta__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 46px;

    padding: 0 21px;

    border-radius: 7px;

    font-family: var(--nx-font-body);

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


.nx-final-cta__button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.nx-final-cta__button--primary {
    background: #F8F8F8;

    border: 1px solid #F8F8F8;

    color: #191D23;
}


.nx-final-cta__button--primary:hover {
    background: #DEDCDC;

    border-color: #DEDCDC;

    color: #191D23;
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.nx-final-cta__button--secondary {
    background: transparent;

    border: 1px solid #979DAB;

    color: #F8F8F8;
}


.nx-final-cta__button--secondary:hover {
    background: #57707A;

    border-color: #57707A;

    color: #F8F8F8;
}


/* =========================================================
   ICON
   ========================================================= */

.nx-final-cta__button i {
    font-size: 11px;
}


/* =========================================================
   LIGHT MODE
   ========================================================= */

[data-theme="light"] .nx-final-cta,
:root .nx-final-cta {
    background: #57707A;
}


[data-theme="light"] .nx-final-cta__eyebrow,
:root .nx-final-cta__eyebrow {
    color: #F8F8F8;
}


[data-theme="light"] .nx-final-cta__title,
:root .nx-final-cta__title {
    color: #F8F8F8;
}


[data-theme="light"] .nx-final-cta__title span,
:root .nx-final-cta__title span {
    color: #DEDCDC;
}


[data-theme="light"] .nx-final-cta__description,
:root .nx-final-cta__description {
    color: #DEDCDC;
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .nx-final-cta {
    background: #2F3940;
}


[data-theme="dark"] .nx-final-cta__eyebrow {
    color: #DEDCDC;
}


[data-theme="dark"] .nx-final-cta__eyebrow::before,
[data-theme="dark"] .nx-final-cta__eyebrow::after {
    background: #7E919F;
}


[data-theme="dark"] .nx-final-cta__title {
    color: #F8F8F8;
}


[data-theme="dark"] .nx-final-cta__title span {
    color: #C5BAC4;
}


[data-theme="dark"] .nx-final-cta__description {
    color: #C5BAC4;
}


[data-theme="dark"] .nx-final-cta__button--primary {
    background: #DEDCDC;

    border-color: #DEDCDC;

    color: #191D23;
}


[data-theme="dark"] .nx-final-cta__button--primary:hover {
    background: #F8F8F8;

    border-color: #F8F8F8;

    color: #191D23;
}


[data-theme="dark"] .nx-final-cta__button--secondary {
    background: transparent;

    border-color: #979DAB;

    color: #F8F8F8;
}


[data-theme="dark"] .nx-final-cta__button--secondary:hover {
    background: #57707A;

    border-color: #7E919F;

    color: #F8F8F8;
}


/* =========================================================
   TABLET
   768px — 1023px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .nx-final-cta {
        padding: 80px 0;
    }


    .nx-final-cta__container {
        width: calc(100% - 56px);
    }


    .nx-final-cta__title {
        font-size: 48px;
    }

}


/* =========================================================
   LARGE
   1024px — 1280px
   ========================================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

    .nx-final-cta {
        padding: 90px 0;
    }


    .nx-final-cta__title {
        font-size: 54px;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-final-cta {
        padding: 68px 0;
    }


    .nx-final-cta__container {
        width: calc(100% - 32px);
    }


    .nx-final-cta__eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
    }


    .nx-final-cta__eyebrow::before,
    .nx-final-cta__eyebrow::after {
        width: 16px;
    }


    .nx-final-cta__title {
        font-size: clamp(33px, 9vw, 43px);

        line-height: 1.08;
    }


    .nx-final-cta__description {
        margin-top: 18px;

        font-size: 13px;

        line-height: 1.75;
    }


    .nx-final-cta__actions {
        flex-direction: column;

        align-items: stretch;

        gap: 9px;

        margin-top: 25px;
    }


    .nx-final-cta__button {
        width: 100%;

        min-height: 45px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 374px) {

    .nx-final-cta {
        padding: 60px 0;
    }


    .nx-final-cta__container {
        width: calc(100% - 24px);
    }


    .nx-final-cta__title {
        font-size: 31px;
    }


    .nx-final-cta__description {
        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .nx-final-cta__button {
        transition: none;
    }


    .nx-final-cta__button:hover {
        transform: none;
    }

}


/* =========================================================
   NEXASCAN — SIMPLE FOOTER
   ========================================================= */

.scan-footer {
  width: 100%;
  background: var(--nx-surface);
  color: var(--nx-text);
  border-top: 1px solid var(--nx-border);
  font-family: var(--nx-font-body);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.scan-footer__container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.scan-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 45px;

  padding: 55px 0 45px;
}


/* =========================================================
   BRAND
   ========================================================= */

.scan-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* =========================================================
   LOGO
   ========================================================= */

.scan-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--nx-text);
  text-decoration: none;
}


.scan-footer__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  color: var(--nx-on-primary);
  background: var(--nx-primary);

  font-size: 16px;
}


.scan-footer__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}


.scan-footer__logo-text strong {
  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}


.scan-footer__logo-text small {
  color: var(--nx-text-muted);

  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.scan-footer__description {
  max-width: 320px;

  margin: 20px 0;

  color: var(--nx-text-muted);

  font-size: 0.82rem;
  line-height: 1.65;
}


/* =========================================================
   NEXASCAN — FOOTER BUTTON & ICON STYLE ONLY
   Existing footer layout / spacing remains unchanged
   ========================================================= */


/* =========================================================
   APPOINTMENT BUTTON
   ========================================================= */

.scan-footer__appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 40px;
  padding: 0 16px;

  color: var(--nx-on-primary);
  background: var(--nx-primary);

  border: 1px solid var(--nx-primary);
  border-radius: 4px;

  text-decoration: none;

  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.scan-footer__appointment i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 14px;
  height: 14px;

  font-size: 0.65rem;
  line-height: 1;
}

.scan-footer__appointment:hover {
  color: var(--nx-on-primary);
  background: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);

  transform: translateY(-1px);
}

.scan-footer__appointment:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 3px;
}


/* =========================================================
   FOOTER LOGO ICON
   ========================================================= */

.scan-footer__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  color: var(--nx-on-primary);
  background: var(--nx-primary);

  border-radius: 8px;

  font-size: 16px;
  line-height: 1;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.scan-footer__logo:hover .scan-footer__logo-icon {
  background: var(--nx-primary-strong);
  transform: translateY(-1px);
}


/* =========================================================
   CONTACT ICONS
   ========================================================= */

.scan-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  color: var(--nx-primary);

  border-radius: 3px;

  font-size: 0.68rem;
  line-height: 1;
}


/* =========================================================
   SOCIAL ICON BUTTONS
   ========================================================= */

.scan-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  flex: 0 0 32px;

  color: var(--nx-text-muted);
  background: transparent;

  border: 1px solid var(--nx-border);
  border-radius: 4px;

  text-decoration: none;

  font-size: 0.7rem;
  line-height: 1;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.scan-footer__social-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
}

.scan-footer__social-link:hover {
  color: var(--nx-on-primary);
  background: var(--nx-primary);
  border-color: var(--nx-primary);

  transform: translateY(-2px);
}

.scan-footer__social-link:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 3px;
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 479px) {

  .scan-footer__logo-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .scan-footer__social-link {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

}

/* =========================================================
   COLUMN HEADINGS
   ========================================================= */

.scan-footer__heading {
  margin: 2px 0 18px;

  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
}


/* =========================================================
   LINKS
   ========================================================= */

.scan-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.scan-footer__links a {
  color: var(--nx-text-muted);

  text-decoration: none;

  font-size: 0.78rem;
  line-height: 1.5;

  transition: color 0.2s ease;
}


.scan-footer__links a:hover {
  color: var(--nx-primary);
}


/* =========================================================
   CONTACT
   ========================================================= */

.scan-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.scan-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  color: var(--nx-text-muted);

  font-size: 0.76rem;
  line-height: 1.55;
}


.scan-footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  flex: 0 0 22px;

  color: var(--nx-primary);

  font-size: 0.68rem;
}


.scan-footer__contact-list a {
  color: var(--nx-text-muted);
  text-decoration: none;

  transition: color 0.2s ease;
}


.scan-footer__contact-list a:hover {
  color: var(--nx-primary);
}


/* =========================================================
   SOCIAL
   ========================================================= */

.scan-footer__social {
  display: flex;
  gap: 7px;

  margin-top: 18px;
}


.scan-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  color: var(--nx-text-muted);

  border: 1px solid var(--nx-border);

  text-decoration: none;

  font-size: 0.68rem;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}


.scan-footer__social-link:hover {
  color: var(--nx-on-primary);
  background: var(--nx-primary);
  border-color: var(--nx-primary);
}


/* =========================================================
   BOTTOM
   ========================================================= */

.scan-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 58px;

  border-top: 1px solid var(--nx-border);
}


.scan-footer__copyright {
  margin: 0;

  color: var(--nx-text-muted);

  font-size: 0.68rem;
  line-height: 1.5;
}


.scan-footer__legal {
  display: flex;
  align-items: center;
  gap: 9px;

  font-size: 0.68rem;
}


.scan-footer__legal span {
  color: var(--nx-border);
}


.scan-footer__legal a {
  color: var(--nx-text-muted);

  text-decoration: none;

  transition: color 0.2s ease;
}


.scan-footer__legal a:hover {
  color: var(--nx-primary);
}


/* =========================================================
   TABLET
   768px — 1023px
   ========================================================= */

@media (max-width: 1023px) {

  .scan-footer__main {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 35px;

    padding: 48px 0 40px;
  }


  .scan-footer__brand {
    grid-column: span 3;
  }


  .scan-footer__description {
    max-width: 520px;
  }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .scan-footer__container {
    width: calc(100% - 32px);
  }


  .scan-footer__main {
    grid-template-columns: 1fr;
    gap: 30px;

    padding: 40px 0 35px;
  }


  .scan-footer__brand {
    grid-column: auto;
  }


  .scan-footer__description {
    max-width: 100%;
    margin: 17px 0 20px;

    font-size: 0.8rem;
  }


  .scan-footer__heading {
    margin-bottom: 14px;
  }


  .scan-footer__links {
    gap: 9px;
  }


  .scan-footer__contact-list {
    gap: 11px;
  }


  .scan-footer__social {
    margin-top: 15px;
  }


  .scan-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 10px;

    padding: 17px 0;
  }


  .scan-footer__legal {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

}


/* =========================================================
   SMALL MOBILE
   320px — 479px
   ========================================================= */

@media (max-width: 479px) {

  .scan-footer__container {
    width: calc(100% - 28px);
  }


  .scan-footer__main {
    gap: 27px;
    padding: 35px 0 30px;
  }


  .scan-footer__appointment {
    width: auto;
  }


  .scan-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }


  .scan-footer__legal span {
    display: none;
  }

}


/* =========================================================
   RTL
   ========================================================= */

html[dir="rtl"] .scan-footer__bottom {
  direction: rtl;
}


html[dir="rtl"] .scan-footer__appointment i {
  transform: rotate(180deg);
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .scan-footer *,
  .scan-footer *::before,
  .scan-footer *::after {
    transition: none !important;
  }

}


/* =========================================================
   NEXASCAN — SECTION DIVIDERS
   ========================================================= */

.nx-hero,
.nx-services-overview,
.nx-technology,
.nx-patient-journey {
  position: relative;
}

.nx-hero::after,
.nx-services-overview::after,
.nx-technology::after,
.nx-patient-journey::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 90px auto 0;
  background: #c7cdd3;
}

/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .nx-hero::after,
html[data-theme="dark"] .nx-services-overview::after,
html[data-theme="dark"] .nx-technology::after,
html[data-theme="dark"] .nx-patient-journey::after {
  background: #3a3f45;
}

/* =========================================================
   NEXASCAN HOME 2
   HERO — FULL WIDTH EDITORIAL IMAGE
   ========================================================= */

.nx-home2-hero {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: var(--nx-bg);
  color: var(--nx-text);
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.nx-home2-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.nx-home2-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.nx-home2-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(15, 20, 25, 0.88) 0%,
      rgba(15, 20, 25, 0.68) 42%,
      rgba(15, 20, 25, 0.28) 72%,
      rgba(15, 20, 25, 0.12) 100%
    );
}


/* =========================================================
   CONTENT
   ========================================================= */

.nx-home2-hero__container {
  width: min(1380px, calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;

  display: flex;
  align-items: center;
}

.nx-home2-hero__content {
  width: min(650px, 100%);
  padding: 90px 0 150px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.nx-home2-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 22px;

  color: #ffffff;
  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-home2-hero__eyebrow i {
  color: var(--nx-primary);
  font-size: 14px;
}


/* =========================================================
   TITLE
   ========================================================= */

.nx-home2-hero__title {
  max-width: 650px;
  margin: 0;

  color: #ffffff;
  font-family: var(--nx-font-heading);
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.nx-home2-hero__title span {
  display: block;
  color: var(--nx-primary);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.nx-home2-hero__description {
  max-width: 560px;
  margin: 26px 0 0;

  color: rgba(255, 255, 255, 0.82);
  font-family: var(--nx-font-body);
  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.nx-home2-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 32px;
}

.nx-home2-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 50px;
  padding: 0 21px;

  border: 1px solid transparent;
  border-radius: 4px;

  font-family: var(--nx-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}


/* Primary */

.nx-home2-hero__button--primary {
  color: var(--nx-on-primary);
  background: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);
}

.nx-home2-hero__button--primary:hover {
  background: var(--nx-primary);
  border-color: var(--nx-primary);
  transform: translateY(-1px);
}


/* Secondary */

.nx-home2-hero__button--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.45);
}

.nx-home2-hero__button--secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}


/* =========================================================
   BOTTOM FACTS
   ========================================================= */

.nx-home2-hero__facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.nx-home2-hero__fact {
  min-height: 82px;
  padding: 18px 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.nx-home2-hero__fact:first-child {
  padding-left: 0;
}

.nx-home2-hero__fact:last-child {
  border-right: 0;
}

.nx-home2-hero__fact strong {
  color: #ffffff;
  font-family: var(--nx-font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.nx-home2-hero__fact span {
  margin-top: 3px;

  color: rgba(255, 255, 255, 0.68);
  font-family: var(--nx-font-body);
  font-size: 11px;
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .nx-home2-hero {
    min-height: 650px;
  }

  .nx-home2-hero__container {
    width: calc(100% - 64px);
    min-height: 650px;
  }

  .nx-home2-hero__content {
    max-width: 590px;
    padding-bottom: 135px;
  }

  .nx-home2-hero__title {
    font-size: clamp(46px, 7vw, 68px);
  }

  .nx-home2-hero__description {
    max-width: 500px;
  }

  .nx-home2-hero__facts {
    width: calc(100% - 64px);
  }

  .nx-home2-hero__fact {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .nx-home2-hero {
    min-height: 680px;
  }

  .nx-home2-hero__media {
    position: absolute;
  }

  .nx-home2-hero__image {
    object-position: 62% center;
  }

  .nx-home2-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 20, 25, 0.48) 0%,
        rgba(15, 20, 25, 0.72) 42%,
        rgba(15, 20, 25, 0.94) 100%
      );
  }

  .nx-home2-hero__container {
    width: 100%;
    min-height: 680px;
    padding: 0 20px;
  }

  .nx-home2-hero__content {
    width: 100%;
    padding: 75px 0 155px;
  }

  .nx-home2-hero__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .nx-home2-hero__title {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .nx-home2-hero__description {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.75;
  }

  .nx-home2-hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }

  .nx-home2-hero__button {
    width: 100%;
    min-height: 48px;
  }

  .nx-home2-hero__facts {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;

    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .nx-home2-hero__fact {
    min-height: auto;
    padding: 10px 0;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nx-home2-hero__fact:first-child {
    padding-left: 0;
  }

  .nx-home2-hero__fact:last-child {
    border-bottom: 0;
  }

  .nx-home2-hero__fact strong {
    font-size: 15px;
  }

  .nx-home2-hero__fact span {
    margin-top: 0;
    font-size: 10px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 359px) {

  .nx-home2-hero {
    min-height: 650px;
  }

  .nx-home2-hero__container {
    min-height: 650px;
    padding: 0 15px;
  }

  .nx-home2-hero__content {
    padding-top: 62px;
    padding-bottom: 145px;
  }

  .nx-home2-hero__title {
    font-size: 39px;
  }

  .nx-home2-hero__description {
    font-size: 13px;
  }

  .nx-home2-hero__facts {
    width: calc(100% - 30px);
  }

  .nx-home2-hero__fact strong {
    font-size: 14px;
  }
}


/* =========================================================
   NEXASCAN HOME 2
   SECTION 02 — IMAGING AT A GLANCE
   ========================================================= */

.nx-home2-imaging {
  width: 100%;
  background: var(--nx-bg);
  color: var(--nx-text);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-home2-imaging__container {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 110px 0;
}


/* =========================================================
   CENTERED SECTION INTRO
   ========================================================= */

.nx-home2-imaging__header {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 65px;

  text-align: center;
}

.nx-home2-imaging__eyebrow {
  display: block;
  margin-bottom: 16px;

  color: var(--nx-primary);

  font-family: var(--nx-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.nx-home2-imaging__title {
  margin: 0 auto;

  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;

  text-align: center;
}

.nx-home2-imaging__title span {
  display: block;
  color: var(--nx-primary);
}

.nx-home2-imaging__intro {
  max-width: 560px;
  margin: 22px auto 0;

  color: var(--nx-text-muted);

  font-family: var(--nx-font-body);
  font-size: 15px;
  line-height: 1.8;

  text-align: center;
}


/* =========================================================
   SERVICE LIST
   ========================================================= */

.nx-home2-imaging__list {
  width: 100%;
  border-top: 1px solid var(--nx-border);
}


/* =========================================================
   SERVICE ITEM
   ========================================================= */

.nx-home2-imaging__item {
  position: relative;

  display: grid;
  grid-template-columns:
    70px
    minmax(230px, 1fr)
    minmax(280px, 0.9fr)
    50px;

  align-items: center;
  gap: 30px;

  min-height: 150px;
  padding: 25px 0;

  border-bottom: 1px solid var(--nx-border);

  color: inherit;
  text-decoration: none;

  transition:
    padding 0.25s ease,
    background-color 0.25s ease;
}

.nx-home2-imaging__item:hover {
  padding-left: 18px;
  padding-right: 18px;

  background: var(--nx-surface);
}


/* =========================================================
   NUMBER
   ========================================================= */

.nx-home2-imaging__number {
  color: var(--nx-primary);

  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}


/* =========================================================
   SERVICE NAME
   ========================================================= */

.nx-home2-imaging__main {
  min-width: 0;
}

.nx-home2-imaging__category {
  display: block;
  margin-bottom: 7px;

  color: var(--nx-text-muted);

  font-family: var(--nx-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.nx-home2-imaging__service {
  margin: 0;

  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.nx-home2-imaging__description {
  max-width: 420px;
  margin: 0;

  color: var(--nx-text-muted);

  font-family: var(--nx-font-body);
  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   ARROW
   ========================================================= */

.nx-home2-imaging__arrow {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--nx-text);

  border: 1px solid var(--nx-border);
  border-radius: 50%;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.nx-home2-imaging__item:hover .nx-home2-imaging__arrow {
  color: var(--nx-on-primary);
  background: var(--nx-primary);
  border-color: var(--nx-primary);

  transform: translateX(3px);
}


/* =========================================================
   ALL SERVICES
   ========================================================= */

.nx-home2-imaging__all {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 28px;

  color: var(--nx-text);

  font-family: var(--nx-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.2s ease;
}

.nx-home2-imaging__all:hover {
  color: var(--nx-primary);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .nx-home2-imaging {
  background: #191D23;
}

[data-theme="dark"] .nx-home2-imaging__item:hover {
  background: #20252C;
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .nx-home2-imaging__container {
    width: calc(100% - 64px);
    padding: 85px 0;
  }

  .nx-home2-imaging__header {
    margin-bottom: 50px;
  }

  .nx-home2-imaging__item {
    grid-template-columns:
      50px
      minmax(190px, 1fr)
      minmax(220px, 0.9fr)
      45px;

    gap: 20px;
    min-height: 135px;
  }

  .nx-home2-imaging__service {
    font-size: 26px;
  }

  .nx-home2-imaging__description {
    font-size: 12px;
  }
}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .nx-home2-imaging__container {
    width: calc(100% - 40px);
    padding: 75px 0;
  }


  /* CENTERED INTRO */

  .nx-home2-imaging__header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 42px;

    text-align: center;
  }

  .nx-home2-imaging__eyebrow,
  .nx-home2-imaging__title,
  .nx-home2-imaging__intro {
    text-align: center;
  }

  .nx-home2-imaging__title {
    font-size: clamp(38px, 10vw, 50px);
  }

  .nx-home2-imaging__intro {
    margin: 18px auto 0;
    font-size: 14px;
  }


  /* SERVICE ITEM */

  .nx-home2-imaging__item {
    grid-template-columns:
      38px
      minmax(0, 1fr)
      40px;

    gap: 12px;

    min-height: auto;
    padding: 25px 0;
  }

  .nx-home2-imaging__item:hover {
    padding-left: 10px;
    padding-right: 10px;
  }

  .nx-home2-imaging__main {
    min-width: 0;
  }

  .nx-home2-imaging__category {
    margin-bottom: 6px;

    font-size: 9px;
    line-height: 1.4;
  }

  .nx-home2-imaging__service {
    font-size: 24px;
  }


  /* DESCRIPTION */

  .nx-home2-imaging__description {
    grid-column: 2 / 3;

    max-width: none;
    margin-top: 7px;

    font-size: 12px;
    line-height: 1.65;
  }


  /* ARROW */

  .nx-home2-imaging__arrow {
    grid-column: 3;
    grid-row: 1;

    width: 36px;
    height: 36px;
  }


  /* ALL SERVICES */

  .nx-home2-imaging__all {
    margin-top: 24px;
    font-size: 12px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 359px) {

  .nx-home2-imaging__container {
    width: calc(100% - 30px);
    padding: 65px 0;
  }

  .nx-home2-imaging__title {
    font-size: 36px;
  }

  .nx-home2-imaging__item {
    grid-template-columns:
      32px
      minmax(0, 1fr)
      36px;

    gap: 9px;
  }

  .nx-home2-imaging__service {
    font-size: 22px;
  }

  .nx-home2-imaging__description {
    font-size: 11px;
  }
}


/* =========================================================
   NEXASCAN HOME 2
   SECTION 03 — TECHNOLOGY & PATIENT CARE
   ========================================================= */

.nx-home2-precision {
  width: 100%;
  background: var(--nx-bg);
  color: var(--nx-text);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-home2-precision__container {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
  padding: 110px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-home2-precision__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;

  margin-bottom: 55px;
}

.nx-home2-precision__eyebrow {
  display: block;
  margin-bottom: 16px;

  color: var(--nx-primary);

  font-family: var(--nx-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nx-home2-precision__title {
  max-width: 650px;
  margin: 0;

  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.nx-home2-precision__title span {
  display: block;
  color: var(--nx-primary);
}

.nx-home2-precision__intro {
  max-width: 480px;
  margin: 0;

  color: var(--nx-text-muted);

  font-family: var(--nx-font-body);
  font-size: 14px;
  line-height: 1.8;
}


/* =========================================================
   IMAGE GRID
   ========================================================= */

.nx-home2-precision__grid {
  display: grid;

  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, 255px);

  gap: 12px;

  width: 100%;
}


/* =========================================================
   IMAGE
   ========================================================= */

.nx-home2-precision__image {
  position: relative;
  overflow: hidden;

  min-width: 0;
  min-height: 0;
border-radius: 16px;
  background: var(--nx-surface);
}

.nx-home2-precision__image--large {
  grid-row: 1 / 3;
  
}

.nx-home2-precision__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
border-radius: 16px;
  transition: transform 0.5s ease;
}

.nx-home2-precision__image:hover img {
  transform: scale(1.025);
}


/* =========================================================
   IMAGE LABEL
   ========================================================= */

.nx-home2-precision__image-label {
  position: absolute;
  right: 16px;
  bottom: 16px;

  padding: 8px 11px;

  color: #ffffff;
  background: rgba(20, 25, 30, 0.72);
  
  font-family: var(--nx-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* =========================================================
   FEATURES
   ========================================================= */

.nx-home2-precision__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 45px;

  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
}

.nx-home2-precision__feature {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 18px;

  min-width: 0;
  padding: 28px 25px 30px;

  border-right: 1px solid var(--nx-border);
}

.nx-home2-precision__feature:first-child {
  padding-left: 0;
}

.nx-home2-precision__feature:last-child {
  border-right: 0;
}

.nx-home2-precision__number {
  color: var(--nx-primary);

  font-family: var(--nx-font-body);
  font-size: 11px;
  font-weight: 700;
}

.nx-home2-precision__feature h3 {
  margin: 0;

  color: var(--nx-text);

  font-family: var(--nx-font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.nx-home2-precision__feature p {
  margin: 10px 0 0;

  color: var(--nx-text-muted);

  font-family: var(--nx-font-body);
  font-size: 12px;
  line-height: 1.7;
}


/* =========================================================
   FOOTER LINK
   ========================================================= */

.nx-home2-precision__footer {
  display: flex;
  justify-content: flex-end;

  margin-top: 28px;
}

.nx-home2-precision__link {
  display: inline-flex;
  align-items: center;
  gap: 11px;

  color: var(--nx-text);

  font-family: var(--nx-font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: color 0.2s ease;
}

.nx-home2-precision__link:hover {
  color: var(--nx-primary);
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .nx-home2-precision {
  background: #191D23;
}

[data-theme="dark"] .nx-home2-precision__image-label {
  background: rgba(15, 19, 24, 0.78);
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .nx-home2-precision__container {
    width: calc(100% - 64px);
    padding: 85px 0;
  }

  .nx-home2-precision__header {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
    margin-bottom: 45px;
  }

  .nx-home2-precision__title {
    font-size: clamp(40px, 5.5vw, 56px);
  }

  .nx-home2-precision__grid {
    grid-template-rows: repeat(2, 205px);
  }

  .nx-home2-precision__features {
    grid-template-columns: repeat(3, 1fr);
  }

  .nx-home2-precision__feature {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 18px;
  }

  .nx-home2-precision__feature:first-child {
    padding-left: 0;
  }

  .nx-home2-precision__feature h3 {
    font-size: 19px;
  }
}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .nx-home2-precision__container {
    width: calc(100% - 40px);
    padding: 75px 0;
  }


  /* HEADER */

  .nx-home2-precision__header {
    display: block;
    margin-bottom: 38px;
    text-align: center;
  }

  .nx-home2-precision__eyebrow {
    font-size: 10px;
  }

  .nx-home2-precision__title {
    max-width: none;
    font-size: clamp(38px, 10vw, 50px);
  }

  .nx-home2-precision__intro {
    max-width: 550px;
    margin: 18px auto 0;
    font-size: 14px;
  }


  /* IMAGE GRID */

  .nx-home2-precision__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px;
    gap: 8px;
  }

  .nx-home2-precision__image--large {
    grid-row: 1 / 3;
  }

  .nx-home2-precision__image-label {
    right: 9px;
    bottom: 9px;

    padding: 6px 8px;
    font-size: 8px;
  }


  /* FEATURES */

  .nx-home2-precision__features {
    grid-template-columns: 1fr;

    margin-top: 35px;
  }

  .nx-home2-precision__feature {
    grid-template-columns: 35px 1fr;

    padding: 22px 0;

    border-right: 0;
    border-bottom: 1px solid var(--nx-border);
  }

  .nx-home2-precision__feature:last-child {
    border-bottom: 0;
  }

  .nx-home2-precision__feature h3 {
    font-size: 21px;
  }

  .nx-home2-precision__feature p {
    font-size: 12px;
  }


  /* FOOTER */

  .nx-home2-precision__footer {
    justify-content: center;
    margin-top: 25px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 359px) {

  .nx-home2-precision__container {
    width: calc(100% - 30px);
    padding: 65px 0;
  }

  .nx-home2-precision__title {
    font-size: 36px;
  }

  .nx-home2-precision__grid {
    grid-template-rows: 220px 155px;
    gap: 7px;
  }

  .nx-home2-precision__feature h3 {
    font-size: 19px;
  }
}

/* =========================================================
   MOBILE — STACK IMAGES VERTICALLY
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

  .nx-home2-precision__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .nx-home2-precision__image {
    grid-row: auto;
    min-height: 220px;
  }

  .nx-home2-precision__image--large {
    grid-row: auto;
    min-height: 260px;
  }

}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 359px) {

  .nx-home2-precision__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }

  .nx-home2-precision__image,
  .nx-home2-precision__image--large {
    grid-row: auto;
    min-height: 210px;
  }

}
/* =========================================================
   NEXASCAN HOME 2 — SECTION 04
   WHAT HAPPENS DURING YOUR VISIT
   ========================================================= */

.nx-home2-visit {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--nx-bg-soft, var(--nx-bg));
    color: var(--nx-text);
    overflow: hidden;
}

.nx-home2-visit__container {
    width: min(1280px, calc(100% - 80px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.nx-home2-visit__header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.nx-home2-visit__eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--nx-primary);
    font-family: var(--nx-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
}

.nx-home2-visit__title {
    margin: 0;
    color: var(--nx-text);
    font-family: var(--nx-font-heading);
    font-size: clamp(40px, 4.8vw, 62px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.nx-home2-visit__title span {
    display: block;
    color: var(--nx-primary);
}

.nx-home2-visit__intro {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--nx-text-muted);
    font-family: var(--nx-font-body);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.nx-home2-visit__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 65px;
    align-items: stretch;
}


/* =========================================================
   VISUAL
   ========================================================= */

.nx-home2-visit__visual {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.nx-home2-visit__image {
    display: block;
    width: 100%;
    height: 82%;
    min-height: 540px;
    object-fit: cover;
    border-radius: 16px;
}


/* =========================================================
   IMAGE CAPTION
   DARK MODE SAFE
   ========================================================= */

.nx-home2-visit__visual-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 80px;
    padding: 20px 22px;

    background: var(--nx-surface);
    color: var(--nx-text);

    border: 1px solid var(--nx-border);
border-radius: 16px;
    box-shadow: var(--nx-shadow-subtle, none);
}

.nx-home2-visit__visual-caption span {
    display: block;
    margin-bottom: 7px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4;
}

.nx-home2-visit__visual-caption strong {
    display: block;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.2;
}


/* =========================================================
   JOURNEY
   ========================================================= */

.nx-home2-visit__journey {
    display: flex;
    flex-direction: column;
}

.nx-home2-visit__item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 22px;

    padding: 0 0 25px;
    margin-bottom: 25px;

    border-bottom: 1px solid var(--nx-border);
}

.nx-home2-visit__item-number {
    color: var(--nx-primary);

    font-family: var(--nx-font-heading);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.2;
}

.nx-home2-visit__item-content > span {
    display: block;
    margin-bottom: 7px;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
}

.nx-home2-visit__item-content h3 {
    margin: 0 0 8px;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.15;
}

.nx-home2-visit__item-content p {
    max-width: 500px;
    margin: 0;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER
   ========================================================= */

.nx-home2-visit__footer {
    padding-top: 2px;
}

.nx-home2-visit__link {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--nx-text);

    font-family: var(--nx-font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.nx-home2-visit__link i {
    font-size: 11px;
}

.nx-home2-visit__link:hover {
    gap: 16px;
    color: var(--nx-primary);
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (max-width: 1024px) {

    .nx-home2-visit {
        min-height: auto;
    }

    .nx-home2-visit__container {
        width: min(100% - 64px, 900px);
        min-height: auto;
        padding: 90px 0;
    }

    .nx-home2-visit__header {
        margin-bottom: 50px;
    }

    .nx-home2-visit__layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 42px;
    }

    .nx-home2-visit__visual,
    .nx-home2-visit__image {
        min-height: 540px;
    }

    .nx-home2-visit__item {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 17px;
        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .nx-home2-visit__item-content h3 {
        font-size: 26px;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-home2-visit {
        min-height: auto;
    }

    .nx-home2-visit__container {
        width: calc(100% - 40px);
        min-height: auto;
        padding: 70px 0;
    }

    .nx-home2-visit__header {
        margin-bottom: 40px;
        text-align: center;
    }

    .nx-home2-visit__eyebrow {
        font-size: 10px;
    }

    .nx-home2-visit__title {
        font-size: clamp(35px, 9.5vw, 47px);
        line-height: 1.08;
    }

    .nx-home2-visit__intro {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.7;
    }


    /* Visual */

    .nx-home2-visit__layout {
        display: block;
    }

    .nx-home2-visit__visual {
        min-height: 360px;
        margin-bottom: 42px;
    }

    .nx-home2-visit__image {
        min-height: 360px;
    }

    .nx-home2-visit__visual-caption {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 16px 17px;
    }

    .nx-home2-visit__visual-caption strong {
        font-size: 20px;
    }


    /* Journey */

    .nx-home2-visit__item {
        grid-template-columns: 35px minmax(0, 1fr);
        gap: 14px;

        padding-bottom: 22px;
        margin-bottom: 22px;
    }

    .nx-home2-visit__item-number {
        font-size: 18px;
    }

    .nx-home2-visit__item-content > span {
        font-size: 9px;
    }

    .nx-home2-visit__item-content h3 {
        margin-bottom: 7px;
        font-size: 25px;
    }

    .nx-home2-visit__item-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .nx-home2-visit__link {
        font-size: 13px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-home2-visit__container {
        width: calc(100% - 30px);
        padding: 60px 0;
    }

    .nx-home2-visit__visual,
    .nx-home2-visit__image {
        min-height: 315px;
    }

    .nx-home2-visit__visual-caption {
        left: 11px;
        right: 11px;
        bottom: 11px;
    }

    .nx-home2-visit__item {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 11px;
    }

}

/* =========================================================
   NEXASCAN HOME 2 — SECTION 05
   BEFORE YOUR SCAN
   ========================================================= */

.nx-home2-preparation {
    position: relative;
    width: 100%;

    /*
     * IMPORTANT:
     * Use the SAME background variable as the other
     * normal Home 2 sections.
     *
     * DO NOT use --nx-cta-bg here.
     */
    background: var(--nx-bg);

    color: var(--nx-text);

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-home2-preparation__container {
    position: relative;

    width: min(1280px, calc(100% - 80px));

    margin: 0 auto;

    padding: 120px 0 105px;
}


/* =========================================================
   INTRO
   ========================================================= */

.nx-home2-preparation__intro {
    position: relative;
    z-index: 2;

    width: 100%;

    margin: 0 auto 58px;

    text-align: center;
}


.nx-home2-preparation__eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}


.nx-home2-preparation__title {
    max-width: 950px;

    margin: 0 auto;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: clamp(50px, 5.8vw, 78px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}


.nx-home2-preparation__title span {
    display: block;

    color: var(--nx-primary);
}


/* =========================================================
   VISUAL AREA
   ========================================================= */

.nx-home2-preparation__visual {
    position: relative;

    width: min(850px, 72%);

    min-height: 650px;

    margin: 0 auto;
}


/* =========================================================
   IMAGE
   ========================================================= */

.nx-home2-preparation__image-wrap {
    position: relative;

    width: 100%;
    height: 650px;

    overflow: hidden;
    border-radius: 16px;
    background: var(--nx-surface);

    border: 1px solid var(--nx-border);
}


.nx-home2-preparation__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}


.nx-home2-preparation__visual:hover
.nx-home2-preparation__image {
    transform: scale(1.02);
}


/* =========================================================
   FLOATING CARDS
   ========================================================= */

.nx-home2-preparation__card {
    position: absolute;

    z-index: 5;

    width: 325px;

    padding: 29px 26px 24px;

    /*
     * Theme-aware card background.
     */
    background: var(--nx-surface);

    color: var(--nx-text);

    border: 1px solid var(--nx-border);

    box-shadow: var(--nx-shadow);
border-radius: 16px;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================================
   LEFT CARD
   ========================================================= */

.nx-home2-preparation__card--left {
    left: -180px;
    top: 105px;
}


/* =========================================================
   RIGHT CARD
   ========================================================= */

.nx-home2-preparation__card--right {
    right: -180px;
    bottom: 25px;
}


/* =========================================================
   CARD HOVER
   ========================================================= */

.nx-home2-preparation__card--left:hover {
    transform: translateX(7px);

    border-color: var(--nx-primary);
}


.nx-home2-preparation__card--right:hover {
    transform: translateX(-7px);

    border-color: var(--nx-primary);
}


/* =========================================================
   CARD LABEL
   ========================================================= */

.nx-home2-preparation__card-label {
    display: block;

    margin-bottom: 17px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}


/* =========================================================
   CARD TITLE
   ========================================================= */

.nx-home2-preparation__card h3 {
    margin: 0;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.025em;
}


/* =========================================================
   CARD LIST
   ========================================================= */

.nx-home2-preparation__card-list {
    margin-top: 22px;
}


.nx-home2-preparation__card-item {
    display: grid;

    grid-template-columns: 27px minmax(0, 1fr);

    gap: 8px;

    padding: 10px 0;

    border-top: 1px solid var(--nx-border);
}


.nx-home2-preparation__card-item:last-child {
    border-bottom: 1px solid var(--nx-border);
}


.nx-home2-preparation__card-item span {
    padding-top: 1px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);
    font-size: 9px;
    font-weight: 700;
}


.nx-home2-preparation__card-item p {
    margin: 0;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   FOOTER
   ========================================================= */

.nx-home2-preparation__footer {
    width: min(850px, 72%);

    margin: 58px auto 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


.nx-home2-preparation__footer p {
    max-width: 500px;

    margin: 0;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   LINK
   ========================================================= */

.nx-home2-preparation__link {
    display: inline-flex;

    flex-shrink: 0;

    align-items: center;

    gap: 11px;

    color: var(--nx-text);

    font-family: var(--nx-font-body);
    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.nx-home2-preparation__link i {
    font-size: 9px;
}


.nx-home2-preparation__link:hover {
    gap: 16px;

    color: var(--nx-primary);
}


/* =========================================================
   TABLET
   768px — 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .nx-home2-preparation__container {
        width: min(100% - 64px, 950px);

        padding: 100px 0 90px;
    }


    .nx-home2-preparation__title {
        font-size: clamp(46px, 6vw, 68px);
    }


    .nx-home2-preparation__visual {
        width: 72%;

        min-height: 570px;
    }


    .nx-home2-preparation__image-wrap {
        height: 570px;
    }


    .nx-home2-preparation__card {
        width: 280px;

        padding: 25px 22px 21px;
    }


    .nx-home2-preparation__card--left {
        left: -145px;

        top: 85px;
    }


    .nx-home2-preparation__card--right {
        right: -145px;

        bottom: 20px;
    }


    .nx-home2-preparation__card h3 {
        font-size: 26px;
    }


    .nx-home2-preparation__footer {
        width: 72%;
    }

}


/* =========================================================
   TABLET
   768px — 900px
   ========================================================= */

@media (max-width: 900px) {

    .nx-home2-preparation__visual {
        width: 76%;
    }


    .nx-home2-preparation__card {
        width: 255px;
    }


    .nx-home2-preparation__card--left {
        left: -120px;
    }


    .nx-home2-preparation__card--right {
        right: -120px;
    }


    .nx-home2-preparation__card h3 {
        font-size: 24px;
    }


    .nx-home2-preparation__footer {
        width: 76%;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-home2-preparation__container {
        width: calc(100% - 36px);

        padding: 75px 0 70px;
    }


    /* -----------------------------------------
       INTRO
       ----------------------------------------- */

    .nx-home2-preparation__intro {
        margin-bottom: 38px;
    }


    .nx-home2-preparation__eyebrow {
        margin-bottom: 13px;

        font-size: 9px;
    }


    .nx-home2-preparation__title {
        font-size: clamp(37px, 9.5vw, 52px);

        line-height: 1.05;
    }


    /* -----------------------------------------
       VISUAL
       ----------------------------------------- */

    .nx-home2-preparation__visual {
        width: 100%;

        min-height: auto;
    }


    .nx-home2-preparation__image-wrap {
        width: 100%;

        height: 420px;
    }


    /* -----------------------------------------
       CARDS
       ----------------------------------------- */

    .nx-home2-preparation__card {
        position: relative;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: calc(100% - 26px);

        margin: -52px auto 0;

        padding: 24px 20px 20px;

        transform: none !important;
    }


    .nx-home2-preparation__card
    + .nx-home2-preparation__card {
        margin-top: 17px;
    }


    .nx-home2-preparation__card-label {
        margin-bottom: 14px;

        font-size: 8px;
    }


    .nx-home2-preparation__card h3 {
        font-size: 23px;
    }


    .nx-home2-preparation__card-list {
        margin-top: 18px;
    }


    .nx-home2-preparation__card-item {
        padding: 9px 0;
    }


    .nx-home2-preparation__card-item p {
        font-size: 10.5px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .nx-home2-preparation__footer {
        width: 100%;

        margin-top: 40px;

        display: block;

        text-align: center;
    }


    .nx-home2-preparation__footer p {
        max-width: 460px;

        margin: 0 auto;

        font-size: 12px;
    }


    .nx-home2-preparation__link {
        margin-top: 21px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-home2-preparation__container {
        width: calc(100% - 28px);

        padding: 65px 0 60px;
    }


    .nx-home2-preparation__title {
        font-size: 35px;
    }


    .nx-home2-preparation__image-wrap {
        height: 350px;
    }


    .nx-home2-preparation__card {
        width: calc(100% - 18px);

        margin-top: -43px;

        padding: 21px 17px 18px;
    }


    .nx-home2-preparation__card
    + .nx-home2-preparation__card {
        margin-top: 14px;
    }


    .nx-home2-preparation__card h3 {
        font-size: 21px;
    }


    .nx-home2-preparation__card-item {
        grid-template-columns: 24px minmax(0, 1fr);

        gap: 6px;
    }


    .nx-home2-preparation__card-item p {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .nx-home2-preparation__title {
        font-size: 32px;
    }


    .nx-home2-preparation__image-wrap {
        height: 315px;
    }


    .nx-home2-preparation__card h3 {
        font-size: 19px;
    }

}


/* =========================================================
   NEXASCAN HOME 2 — SECTION 07
   QUESTIONS & ANSWERS
   ========================================================= */

.nx-home2-faq {
    position: relative;
    width: 100%;
    min-height: 100vh;

    background: var(--nx-bg);
    color: var(--nx-text);

    overflow: hidden;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-home2-faq__container {
    width: min(1180px, calc(100% - 80px));
    min-height: 100vh;

    margin: 0 auto;
    padding: 95px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================================
   HEADER
   ========================================================= */

.nx-home2-faq__header {
    max-width: 820px;

    margin: 0 auto 55px;

    text-align: center;
}


.nx-home2-faq__eyebrow {
    display: block;

    margin-bottom: 16px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.16em;
    line-height: 1.4;

    text-transform: uppercase;
}


.nx-home2-faq__title {
    margin: 0;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);
    font-size: clamp(44px, 5vw, 66px);
    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -0.035em;
}


.nx-home2-faq__title span {
    display: block;

    color: var(--nx-primary);
}


.nx-home2-faq__intro {
    max-width: 560px;

    margin: 20px auto 0;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);
    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.nx-home2-faq__list {
    width: 100%;
}


/* =========================================================
   FAQ ITEM
   ========================================================= */

.nx-home2-faq__item {
    border-top: 1px solid var(--nx-border);
}


.nx-home2-faq__item:last-child {
    border-bottom: 1px solid var(--nx-border);
}


/* =========================================================
   QUESTION
   ========================================================= */

.nx-home2-faq__question {
    width: 100%;

    min-height: 82px;

    padding: 20px 0;

    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr)
        42px;

    gap: 25px;

    align-items: center;

    border: 0;

    background: transparent;

    color: var(--nx-text);

    font-family: inherit;

    text-align: left;

    cursor: pointer;
}


/* =========================================================
   NUMBER
   ========================================================= */

.nx-home2-faq__number {
    color: var(--nx-primary);

    font-family: var(--nx-font-body);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.05em;
}


/* =========================================================
   QUESTION TEXT
   ========================================================= */

.nx-home2-faq__question-text {
    color: var(--nx-text);

    font-family: var(--nx-font-heading);

    font-size: 24px;
    font-weight: 500;

    line-height: 1.3;

    letter-spacing: -0.015em;

    transition: color 0.25s ease;
}


.nx-home2-faq__question:hover
.nx-home2-faq__question-text {
    color: var(--nx-primary);
}


/* =========================================================
   TOGGLE
   ========================================================= */

.nx-home2-faq__toggle {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--nx-border);
    border-radius: 50%;

    color: var(--nx-text);

    font-size: 9px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.3s ease;
}


.nx-home2-faq__question:hover
.nx-home2-faq__toggle {
    border-color: var(--nx-primary);
    color: var(--nx-primary);
}


/* =========================================================
   ANSWER
   ========================================================= */

.nx-home2-faq__answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease;
}


.nx-home2-faq__answer-inner {
    min-height: 0;

    overflow: hidden;
}


.nx-home2-faq__answer p {
    max-width: 650px;

    margin: 0;

    padding:
        0
        70px
        0
        80px;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);

    font-size: 13px;

    line-height: 1.8;

    opacity: 0;

    transform: translateY(-8px);

    transition:
        opacity 0.25s ease,
        transform 0.3s ease,
        padding 0.35s ease;
}


/* =========================================================
   OPEN STATE
   ========================================================= */

.nx-home2-faq__item.is-open
.nx-home2-faq__answer {
    grid-template-rows: 1fr;
}


.nx-home2-faq__item.is-open
.nx-home2-faq__answer p {
    padding:
        0
        70px
        27px
        80px;

    opacity: 1;

    transform: translateY(0);
}


.nx-home2-faq__item.is-open
.nx-home2-faq__toggle {
    background: var(--nx-primary);

    border-color: var(--nx-primary);

    color: var(--nx-on-primary);

    transform: rotate(45deg);
}


/* =========================================================
   FOOTER
   ========================================================= */

.nx-home2-faq__footer {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 18px;

    padding-top: 25px;
}


.nx-home2-faq__footer-text {
    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);

    font-size: 12px;
}


.nx-home2-faq__footer-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--nx-text);

    font-family: var(--nx-font-body);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        gap 0.25s ease;
}


.nx-home2-faq__footer-link i {
    font-size: 9px;
}


.nx-home2-faq__footer-link:hover {
    gap: 15px;

    color: var(--nx-primary);
}


/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (max-width: 1024px) {

    .nx-home2-faq {
        min-height: auto;
    }


    .nx-home2-faq__container {
        width: min(100% - 64px, 900px);

        min-height: auto;

        padding: 90px 0;
    }


    .nx-home2-faq__header {
        margin-bottom: 48px;
    }


    .nx-home2-faq__title {
        font-size: clamp(42px, 5.5vw, 58px);
    }


    .nx-home2-faq__question {
        grid-template-columns:
            45px
            minmax(0, 1fr)
            40px;

        gap: 18px;

        min-height: 76px;
    }


    .nx-home2-faq__question-text {
        font-size: 22px;
    }


    .nx-home2-faq__answer p {
        padding-left: 63px;
        padding-right: 50px;
    }


    .nx-home2-faq__item.is-open
    .nx-home2-faq__answer p {
        padding-left: 63px;
        padding-right: 50px;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-home2-faq {
        min-height: auto;
    }


    .nx-home2-faq__container {
        width: calc(100% - 40px);

        min-height: auto;

        padding: 72px 0 65px;
    }


    /* HEADER */

    .nx-home2-faq__header {
        max-width: 600px;

        margin-bottom: 42px;
    }


    .nx-home2-faq__eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
    }


    .nx-home2-faq__title {
        font-size: clamp(37px, 9.5vw, 50px);

        line-height: 1.06;
    }


    .nx-home2-faq__intro {
        margin-top: 18px;

        font-size: 13px;

        line-height: 1.7;
    }


    /* QUESTION */

    .nx-home2-faq__question {
        grid-template-columns:
            28px
            minmax(0, 1fr)
            32px;

        gap: 11px;

        min-height: 70px;

        padding: 18px 0;
    }


    .nx-home2-faq__number {
        font-size: 9px;
    }


    .nx-home2-faq__question-text {
        font-size: 18px;

        line-height: 1.3;
    }


    .nx-home2-faq__toggle {
        width: 29px;
        height: 29px;

        font-size: 8px;
    }


    /* ANSWER */

    .nx-home2-faq__answer p {
        padding:
            0
            35px
            0
            39px;

        font-size: 12px;

        line-height: 1.75;
    }


    .nx-home2-faq__item.is-open
    .nx-home2-faq__answer p {
        padding:
            0
            35px
            23px
            39px;
    }


    /* FOOTER */

    .nx-home2-faq__footer {
        justify-content: center;

        flex-wrap: wrap;

        gap: 8px;

        padding-top: 23px;

        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-home2-faq__container {
        width: calc(100% - 30px);

        padding: 62px 0 55px;
    }


    .nx-home2-faq__header {
        margin-bottom: 35px;
    }


    .nx-home2-faq__title {
        font-size: 34px;
    }


    .nx-home2-faq__question {
        grid-template-columns:
            23px
            minmax(0, 1fr)
            28px;

        gap: 8px;

        min-height: 64px;

        padding: 16px 0;
    }


    .nx-home2-faq__question-text {
        font-size: 16px;
    }


    .nx-home2-faq__toggle {
        width: 27px;
        height: 27px;
    }


    .nx-home2-faq__answer p {
        padding-left: 31px;
        padding-right: 30px;

        font-size: 11px;
    }


    .nx-home2-faq__item.is-open
    .nx-home2-faq__answer p {
        padding-left: 31px;
        padding-right: 30px;
    }


    .nx-home2-faq__footer {
        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .nx-home2-faq__title {
        font-size: 31px;
    }


    .nx-home2-faq__question-text {
        font-size: 15px;
    }

}

/* =========================================================
   NEXASCAN HOME 2 — FINAL CTA
   MEDIUM CTA SECTION
   ========================================================= */

.nx-home2-final-cta {
    position: relative;

    width: 100%;

    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--nx-bg);
    color: var(--nx-text);

    overflow: hidden;

    isolation: isolate;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.nx-home2-final-cta__container {
    position: relative;

    z-index: 3;

    width: min(850px, calc(100% - 80px));

    margin: 0 auto;

    padding: 75px 0;

    text-align: center;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.nx-home2-final-cta__eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--nx-primary);

    font-family: var(--nx-font-body);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.16em;

    line-height: 1.4;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.nx-home2-final-cta__title {
    max-width: 750px;

    margin: 0 auto;

    color: var(--nx-text);

    font-family: var(--nx-font-heading);

    font-size: clamp(48px, 6vw, 72px);

    font-weight: 500;

    line-height: 1;

    letter-spacing: -0.045em;
}


.nx-home2-final-cta__title span {
    display: block;

    color: var(--nx-primary);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.nx-home2-final-cta__description {
    max-width: 540px;

    margin: 21px auto 0;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);

    font-size: 12px;

    line-height: 1.75;
}


/* =========================================================
   CTA ACTIONS
   ========================================================= */

.nx-home2-final-cta__actions {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 27px;
}


/* =========================================================
   BASE BUTTON
   ========================================================= */

.nx-home2-final-cta__button {
    min-width: 198px;

    height: 50px;

    padding: 0 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 3px;

    font-family: var(--nx-font-body);

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        gap 0.25s ease;
}


.nx-home2-final-cta__button i {
    font-size: 10px;

    transition:
        transform 0.25s ease;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.nx-home2-final-cta__button--primary {
    background: var(--nx-accent);

    color: var(--nx-primary-strong);

    border: 1px solid var(--nx-accent);
}


.nx-home2-final-cta__button--primary:hover {
    background: var(--nx-primary);

    color: var(--nx-on-primary);

    border-color: var(--nx-primary);

    transform: translateY(-1px);
}


.nx-home2-final-cta__button--primary:hover i {
    transform: translateX(3px);
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.nx-home2-final-cta__button--secondary {
    background: transparent;

    color: var(--nx-text);

    border: 1px solid var(--nx-border);
}


.nx-home2-final-cta__button--secondary:hover {
    background: var(--nx-surface);

    color: var(--nx-primary);

    border-color: var(--nx-primary);

    transform: translateY(-1px);
}


/* =========================================================
   TRUST LINE
   ========================================================= */

.nx-home2-final-cta__trust {
    margin-top: 31px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    color: var(--nx-text-muted);

    font-family: var(--nx-font-body);

    font-size: 9px;

    line-height: 1.5;

    letter-spacing: 0.02em;
}


.nx-home2-final-cta__dot {
    width: 3px;
    height: 3px;

    flex: 0 0 3px;

    background: var(--nx-primary);

    border-radius: 50%;
}


/* =========================================================
   BACKGROUND ORBS
   ========================================================= */

.nx-home2-final-cta__orb {
    position: absolute;

    z-index: 1;

    border-radius: 50%;

    pointer-events: none;

    opacity: 0.10;

    filter: blur(2px);
}


/* =========================================================
   LEFT ORB
   ========================================================= */

.nx-home2-final-cta__orb--one {
    width: 360px;
    height: 360px;

    left: -220px;
    top: 50%;

    transform: translateY(-50%);

    background:
        radial-gradient(
            circle,
            var(--nx-primary) 0%,
            transparent 68%
        );
}


/* =========================================================
   RIGHT ORB
   ========================================================= */

.nx-home2-final-cta__orb--two {
    width: 400px;
    height: 400px;

    right: -240px;
    bottom: -230px;

    background:
        radial-gradient(
            circle,
            var(--nx-primary) 0%,
            transparent 68%
        );
}




/* =========================================================
   TABLET
   768px — 1024px
   ========================================================= */

@media (max-width: 1024px) {

    .nx-home2-final-cta {
        min-height: 450px;
    }


    .nx-home2-final-cta__container {
        width: min(760px, calc(100% - 64px));

        padding: 70px 0;
    }


    .nx-home2-final-cta__title {
        font-size: clamp(44px, 6vw, 64px);
    }


    .nx-home2-final-cta__description {
        max-width: 500px;

        font-size: 11px;
    }

}


/* =========================================================
   MOBILE
   320px — 767px
   ========================================================= */

@media (max-width: 767px) {

    .nx-home2-final-cta {
        min-height: auto;
    }


    .nx-home2-final-cta__container {
        width: calc(100% - 40px);

        padding: 65px 0;
    }


    .nx-home2-final-cta__eyebrow {
        margin-bottom: 12px;

        font-size: 8px;
    }


    .nx-home2-final-cta__title {
        font-size: clamp(40px, 10vw, 54px);

        line-height: 1.02;
    }


    .nx-home2-final-cta__description {
        max-width: 440px;

        margin-top: 19px;

        font-size: 11px;

        line-height: 1.7;
    }


    /* ---------------------------------------------
       BUTTONS
       --------------------------------------------- */

    .nx-home2-final-cta__actions {
        width: 100%;

        margin-top: 25px;

        flex-direction: column;

        gap: 9px;
    }


    .nx-home2-final-cta__button {
        width: min(100%, 300px);

        min-width: 0;

        height: 48px;
    }


    /* ---------------------------------------------
       TRUST
       --------------------------------------------- */

    .nx-home2-final-cta__trust {
        max-width: 340px;

        margin: 29px auto 0;

        gap: 8px;

        font-size: 8px;
    }


    /* ---------------------------------------------
       BACKGROUND
       --------------------------------------------- */

    .nx-home2-final-cta__orb--one {
        width: 280px;
        height: 280px;

        left: -190px;
    }


    .nx-home2-final-cta__orb--two {
        width: 320px;
        height: 320px;

        right: -210px;
        bottom: -210px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-home2-final-cta__container {
        width: calc(100% - 30px);

        padding: 58px 0;
    }


    .nx-home2-final-cta__title {
        font-size: 38px;
    }


    .nx-home2-final-cta__description {
        font-size: 10.5px;
    }


    .nx-home2-final-cta__button {
        width: 100%;

        height: 47px;

        padding: 0 16px;

        font-size: 11px;
    }


    .nx-home2-final-cta__trust {
        max-width: 280px;

        line-height: 1.6;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .nx-home2-final-cta__container {
        padding-top: 52px;
        padding-bottom: 52px;
    }


    .nx-home2-final-cta__title {
        font-size: 35px;
    }


    .nx-home2-final-cta__button {
        height: 45px;
    }

}
/* =========================================================
   HOME 2 — CTA BUTTONS
   MATCHING REFERENCE STYLE
   ========================================================= */

.nx-home2-final-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 35px;
}


/* =========================================================
   BASE BUTTON
   ========================================================= */

.nx-home2-final-cta__button {
    min-width: 198px;
    height: 50px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 3px;

    font-family: var(--nx-font-body);
    font-size: 12px;
    font-weight: 700;

    line-height: 1;
    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        gap 0.25s ease;
}


.nx-home2-final-cta__button i {
    font-size: 11px;

    transition:
        transform 0.25s ease;
}


/* =========================================================
   PRIMARY
   BOOK AN APPOINTMENT
   ========================================================= */

.nx-home2-final-cta__button--primary {
    background: var(--nx-primary-strong);

    color: var(--nx-on-primary);

    border: 1px solid var(--nx-primary-strong);
}


.nx-home2-final-cta__button--primary:hover {
    background: var(--nx-primary);

    color: var(--nx-on-primary);

    border-color: var(--nx-primary);

    transform: translateY(-1px);
}


.nx-home2-final-cta__button--primary:hover i {
    transform: translateX(3px);
}


/* =========================================================
   SECONDARY
   VIEW OUR IMAGING SERVICES
   ========================================================= */

.nx-home2-final-cta__button--secondary {
    background: transparent;

    color: var(--nx-text);

    border: 1px solid var(--nx-border);
}


.nx-home2-final-cta__button--secondary:hover {
    background: var(--nx-surface);

    color: var(--nx-primary);

    border-color: var(--nx-primary);

    transform: translateY(-1px);
}


.nx-home2-final-cta__button--secondary:hover i {
    transform: translateX(3px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .nx-home2-final-cta__actions {
        flex-direction: column;

        width: 100%;

        gap: 10px;

        margin-top: 30px;
    }


    .nx-home2-final-cta__button {
        width: min(100%, 300px);

        min-width: 0;

        height: 48px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-home2-final-cta__button {
        width: 100%;

        height: 47px;

        padding: 0 17px;

        font-size: 11px;
    }

}
.nx-home2-imaging{
  position: relative;
}

/* =========================================================
   NEXASCAN — SECTION DIVIDERS
   ========================================================= */

.nx-home2-imaging,
.nx-home2-precision,
.nx-home2-visit,
.nx-home2-preparation,
.nx-home2-faq {
  position: relative;
}

.nx-home2-imaging::after,
.nx-home2-precision::after,
.nx-home2-visit::after,
.nx-home2-preparation::after,
.nx-home2-faq::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 24px auto 0;
  background: #c7cdd3;
}

/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] .nx-home2-imaging::after,
html[data-theme="dark"] .nx-home2-precision::after,
html[data-theme="dark"] .nx-home2-visit::after,
html[data-theme="dark"] .nx-home2-preparation::after,
html[data-theme="dark"] .nx-home2-faq::after {
  background: #3a3f45;
}


/* =========================================================
   NEXASCAN — BACK TO TOP
   Same styling as navbar action buttons
   ========================================================= */

.nx-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  width: 40px;
  height: 40px;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  color: var(--nx-on-primary);
  background-color: var(--nx-primary);
  border: 1px solid var(--nx-primary);
  border-radius: 8px;

  cursor: pointer;
  box-shadow: 0 2px 4px rgba(25, 29, 35, 0.15);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

/* Visible State */
.nx-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Light Mode Hover — Match Navbar */
html[data-theme="light"] .nx-back-to-top:hover {
  background-color: var(--nx-primary-strong);
  border-color: var(--nx-primary-strong);
  color: var(--nx-on-primary);

  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(25, 29, 35, 0.20);
}

/* Active State */
.nx-back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(25, 29, 35, 0.18);
}

/* Keyboard Focus */
.nx-back-to-top:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 2px;
}

/* Dark Mode — Match Navbar */
html[data-theme="dark"] .nx-back-to-top {
  color: var(--nx-on-primary);
  background-color: var(--nx-primary);
  border-color: var(--nx-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.30);
}

html[data-theme="dark"] .nx-back-to-top:hover {
  background-color: var(--nx-primary-hover);
  border-color: var(--nx-primary-hover);
  color: var(--nx-on-primary);

  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.40);
}

html[data-theme="dark"] .nx-back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.30);
}

html[data-theme="dark"] .nx-back-to-top:focus-visible {
  outline: 2px solid #C5BAC4;
  outline-offset: 2px;
}

/* Mobile */
@media (max-width: 767px) {
  .nx-back-to-top {
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 359px) {
  .nx-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
}
/* =========================================================
   NEXASCAN ABOUT PAGE — MAIN CONTENT ONLY
   Hero: unchanged. Story sections + CTA: redesigned.
   ========================================================= */


/* ============================ GLOBAL ============================ */

.nx-about-page {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--nx-bg);
    color: var(--nx-text);
}

.nx-about-page img {
    display: block;
    width: 100%;
}

.nx-about-page a {
    text-decoration: none;
}


/* ============================ BUTTONS ============================ */

.nx-about-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border-radius: 5px;
    font-family: var(--nx-font-body);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.nx-about-btn i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.nx-about-btn--primary {
    background: #AEB6C5;
    color: #191D23;
    border: 1px solid #AEB6C5;
}

.nx-about-btn--primary:hover {
    background: var(--nx-text);
    border-color: var(--nx-text);
    color: var(--nx-bg);
}

.nx-about-btn--primary:hover i {
    transform: translateX(4px);
}

.nx-about-btn--outline {
    background: transparent;
    color: var(--nx-text);
    border: 1px solid var(--nx-border);
}

.nx-about-btn--outline:hover {
    background: var(--nx-text);
    border-color: var(--nx-text);
    color: var(--nx-bg);
}

.nx-about-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   HERO — UNCHANGED
   ========================================================= */

.nx-about-hero {
    position: relative;
    min-height: 100vh;
    padding: 70px 0;
    background: var(--nx-bg);
    overflow: hidden;
}

.nx-about-hero__container {
    width: min(1320px, calc(100% - 80px));
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 70px;
    align-items: center;
}

.nx-about-hero__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.nx-about-hero__eyebrow {
    display: block;
    margin-bottom: 22px;
    color: var(--nx-primary);
    font-family: var(--nx-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.nx-about-hero__title {
    margin: 0;
    font-family: var(--nx-font-heading);
    font-size: clamp(58px, 6.3vw, 94px);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--nx-text);
}

.nx-about-hero__title span {
    display: block;
    color: var(--nx-primary);
}

.nx-about-hero__description {
    max-width: 570px;
    margin: 30px 0 0;
    color: var(--nx-text-muted);
    font-family: var(--nx-font-body);
    font-size: 16px;
    line-height: 1.8;
}

.nx-about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.nx-about-hero__visual {
    position: relative;
    height: 570px;
}

.nx-about-hero__image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow);
}

.nx-about-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nx-about-hero__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 29, 35, 0.02) 40%, rgba(25, 29, 35, 0.55) 100%);
    pointer-events: none;
}

.nx-about-hero__image-label {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 23px;
    min-width: 220px;
    background: rgba(25, 29, 35, 0.86);
    border: 1px solid rgba(222, 220, 220, 0.18);
    border-radius: 12px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.nx-about-hero__image-label span {
    color: var(--nx-primary);
    font-family: var(--nx-font-heading);
    font-size: 17px;
    font-weight: 600;
}

.nx-about-hero__image-label p {
    margin: 0;
    color: #fff;
    font-family: var(--nx-font-body);
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   STORY SECTIONS
   ========================================================= */

.nx-about-story {
    position: relative;
    padding: 120px 0;
    background: var(--nx-bg);
    border-top: 1px solid rgba(151, 157, 171, 0.18);
    overflow: hidden;
}

/* big background number — right / left / right */

.nx-about-story__number {
    position: absolute;
    top: 20px;
    right: -15px;
    z-index: 0;
    font-family: var(--nx-font-heading);
    font-size: clamp(220px, 30vw, 470px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(87, 112, 122, 0.16);
    user-select: none;
    pointer-events: none;
}

.nx-about-story--two .nx-about-story__number {
    right: auto;
    left: -15px;
}

.nx-about-story__container {
    position: relative;
    z-index: 2;
    width: min(1260px, calc(100% - 80px));
    margin: 0 auto;
}


/* ---------- centered heading ---------- */

.nx-about-story__heading {
    max-width: 850px;
    margin: 0 auto 64px;
    text-align: center;
}

.nx-about-story__eyebrow {
    display: block;
    margin-bottom: 17px;
    color: var(--nx-primary);
    font-family: var(--nx-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.nx-about-story__heading h2 {
    margin: 0;
    font-family: var(--nx-font-heading);
    font-size: clamp(44px, 5.2vw, 72px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--nx-text);
}

.nx-about-story__heading h2 span {
    display: block;
    color: var(--nx-primary);
}


/* ---------- equal 50 / 50 content (same as hero feel) ---------- */

.nx-about-story__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

/* sections 01 + 03: image stretches to match the text height */

.nx-about-story--one .nx-about-story__content,
.nx-about-story--three .nx-about-story__content {
    align-items: stretch;
}

.nx-about-story--one .nx-about-story__text,
.nx-about-story--three .nx-about-story__text {
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nx-about-story--one .nx-about-story__visual,
.nx-about-story--three .nx-about-story__visual {
    display: flex;
    min-height: 460px;
}

.nx-about-story--one .nx-about-story__visual img,
.nx-about-story--three .nx-about-story__visual img {
    flex: 1;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

.nx-about-story--three .nx-about-story__link {
    align-self: flex-start;
}

/* section 02: image on the left */

.nx-about-story--two .nx-about-story__visual {
    order: -1;
}


/* ---------- text ---------- */

.nx-about-story__text {
    max-width: 540px;
}

.nx-about-story__text p {
    margin: 0 0 22px;
    color: var(--nx-text-muted);
    font-family: var(--nx-font-body);
    font-size: 15px;
    line-height: 1.85;
}

.nx-about-story__text p:last-child {
    margin-bottom: 0;
}

.nx-about-story__text .nx-about-story__lead {
    margin-bottom: 22px;
    color: var(--nx-text);
    font-family: var(--nx-font-heading);
    font-size: 25px;
    line-height: 1.45;
    letter-spacing: -0.02em;
}


/* ---------- image ---------- */

.nx-about-story__visual {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow);
}

.nx-about-story__visual img {
    width: 100%;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.nx-about-story__visual:hover img {
    transform: scale(1.025);
}


/* ---------- section 02: points ---------- */

.nx-about-story__points {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--nx-border);
}

.nx-about-story__points li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--nx-border);
}

.nx-about-story__points i {
    flex: 0 0 22px;
    margin-top: 3px;
    color: var(--nx-primary);
    font-size: 16px;
    text-align: center;
}

.nx-about-story__points strong {
    display: block;
    margin-bottom: 4px;
    color: var(--nx-text);
    font-family: var(--nx-font-heading);
    font-size: 16px;
    font-weight: 600;
}

.nx-about-story__points span {
    display: block;
    color: var(--nx-text-muted);
    font-family: var(--nx-font-body);
    font-size: 14px;
    line-height: 1.6;
}


/* ---------- section 03: link + image label ---------- */

.nx-about-story__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--nx-primary);
    font-family: var(--nx-font-body);
    font-size: 14px;
    font-weight: 700;
}

.nx-about-story__link i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.nx-about-story__link:hover i {
    transform: translateX(5px);
}

.nx-about-story__label {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    max-width: calc(100% - 44px);
    padding: 16px 20px;
    background: rgba(25, 29, 35, 0.86);
    border: 1px solid rgba(222, 220, 220, 0.18);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.nx-about-story__label span {
    display: block;
    margin-bottom: 4px;
    color: var(--nx-primary);
    font-family: var(--nx-font-heading);
    font-size: 15px;
    font-weight: 600;
}

.nx-about-story__label p {
    margin: 0;
    color: #fff;
    font-family: var(--nx-font-body);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   CTA — CENTERED, SIMPLE
   ========================================================= */

.nx-about-cta {
    padding: 100px 0;
    background: #43535d;
    background: color-mix(in srgb, var(--nx-primary) 58%, #000);
    color: #fff;
    text-align: center;
}

.nx-about-cta__container {
    width: min(820px, calc(100% - 80px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nx-about-cta__eyebrow {
    display: block;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--nx-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.nx-about-cta h2 {
    margin: 0;
    color: #fff;
    font-family: var(--nx-font-heading);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.nx-about-cta h2 span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
}

.nx-about-cta p {
    max-width: 560px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--nx-font-body);
    font-size: 15px;
    line-height: 1.8;
}

.nx-about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-top: 34px;
}

.nx-about-cta .nx-about-btn--primary {
    background: #AEB6C5;
    border-color: #AEB6C5;
    color: #191D23;
}

.nx-about-cta .nx-about-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.nx-about-cta .nx-about-btn--outline:hover {
    background: #fff;
    border-color: #fff;
    color: #191D23;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .nx-about-hero {
        min-height: auto;
        padding-top: 55px;
    }

    .nx-about-hero__container {
        width: min(100% - 60px, 900px);
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
        min-height: 540px;
    }

    .nx-about-hero__title {
        font-size: clamp(50px, 6vw, 70px);
    }

    .nx-about-hero__visual {
        height: 480px;
    }

    .nx-about-story {
        padding: 100px 0;
    }

    .nx-about-story__container {
        width: min(100% - 60px, 900px);
    }

    .nx-about-story__content {
        gap: 44px;
    }

    .nx-about-story__heading {
        margin-bottom: 52px;
    }

    .nx-about-story__heading h2 {
        font-size: clamp(40px, 5.5vw, 58px);
    }

    .nx-about-story__text .nx-about-story__lead {
        font-size: 21px;
    }

    .nx-about-cta__container {
        width: min(100% - 60px, 820px);
    }
}


/* =========================================================
   MOBILE — content first, then image
   ========================================================= */

@media (max-width: 767px) {

    .nx-about-btn {
        min-height: 49px;
        padding: 0 18px;
        font-size: 13px;
        width: 100%;
    }

    /* hero */

    .nx-about-hero {
        padding: 45px 0;
    }

    .nx-about-hero__container {
        width: calc(100% - 40px);
        display: flex;
        flex-direction: column;
        gap: 42px;
        min-height: auto;
        align-items: stretch;
    }

    .nx-about-hero__content {
        max-width: none;
    }

    .nx-about-hero__eyebrow {
        font-size: 10px;
    }

    .nx-about-hero__title {
        font-size: clamp(48px, 13vw, 64px);
        line-height: 0.98;
    }

    .nx-about-hero__description {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.75;
    }

    .nx-about-hero__actions {
        margin-top: 28px;
        flex-direction: column;
        align-items: stretch;
    }

    .nx-about-hero__visual {
        height: 420px;
    }

    .nx-about-hero__image-wrap {
        border-radius: 22px;
    }

    .nx-about-hero__image-label {
        left: 18px;
        bottom: 18px;
        padding: 16px 18px;
        min-width: 190px;
    }

    /* story */

    .nx-about-story {
        padding: 80px 0;
    }

    .nx-about-story__number {
        top: 25px;
        right: -15px;
        font-size: 190px;
    }

    .nx-about-story--two .nx-about-story__number {
        right: auto;
        left: -15px;
    }

    .nx-about-story__container {
        width: calc(100% - 40px);
    }

    .nx-about-story__heading {
        margin-bottom: 40px;
    }

    .nx-about-story__eyebrow {
        font-size: 10px;
    }

    .nx-about-story__heading h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .nx-about-story__content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 34px;
    }

    .nx-about-story--two .nx-about-story__visual {
        order: initial;
    }

    .nx-about-story__text {
        max-width: none;
    }

    .nx-about-story__text .nx-about-story__lead {
        font-size: 20px;
        line-height: 1.45;
    }

    .nx-about-story__text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .nx-about-story__visual {
        border-radius: 19px;
    }

    .nx-about-story--one .nx-about-story__visual,
    .nx-about-story--three .nx-about-story__visual {
        min-height: 0;
    }

    .nx-about-story--one .nx-about-story__visual img,
    .nx-about-story--three .nx-about-story__visual img,
    .nx-about-story__visual img {
        flex: none;
        height: auto;
        aspect-ratio: 1.2 / 1;
    }

    .nx-about-story__label {
        left: 14px;
        bottom: 14px;
        padding: 13px 16px;
    }

    /* cta */

    .nx-about-cta {
        padding: 75px 0;
    }

    .nx-about-cta__container {
        width: calc(100% - 40px);
    }

    .nx-about-cta h2 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .nx-about-cta p {
        font-size: 14px;
        line-height: 1.75;
    }

    .nx-about-cta__actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 30px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .nx-about-hero__container,
    .nx-about-story__container,
    .nx-about-cta__container {
        width: calc(100% - 30px);
    }

    .nx-about-hero__title {
        font-size: 45px;
    }

    .nx-about-hero__visual {
        height: 360px;
    }

    .nx-about-story {
        padding: 70px 0;
    }

    .nx-about-story__heading h2 {
        font-size: 36px;
    }

    .nx-about-story__number {
        font-size: 155px;
    }

    .nx-about-story__text .nx-about-story__lead {
        font-size: 19px;
    }

    .nx-about-cta h2 {
        font-size: 36px;
    }
}



/* =========================================================
   NEXASCAN – SERVICES PAGE (MRI / CT / ULTRASOUND)
   REPLACE the old block from the top of the file down to
   (but NOT including) the "PREPARE FOR YOUR SCAN PAGE" block.
   Uses theme.css variables, so light/dark works automatically.
   Logical properties keep RTL working.
   All rules are scoped under .nx-services to avoid clashes.
   ========================================================= */

.nx-services {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--nx-font-body);
}

.nx-services .nx-service[hidden] { display: none !important; }

.nx-services h1,
.nx-services h2,
.nx-services h3 {
  margin: 0;
  font-family: var(--nx-font-heading);
  color: var(--nx-text);
  line-height: 1.2;
}

.nx-services p { margin: 0; color: var(--nx-text-muted); line-height: 1.8; }

.nx-services img { display: block; width: 100%; }


/* ---------- Shared container (same as About page) ---------- */

.nx-services .nx-svc-container,
.nx-services .nx-breadcrumb {
  width: min(1260px, calc(100% - 80px));
  margin-inline: auto;
}


/* ---------- Breadcrumb ---------- */

.nx-services .nx-breadcrumb { padding-block: 28px 0; }

.nx-services .nx-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
}

.nx-services .nx-breadcrumb__list li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: var(--nx-border);
}

.nx-services .nx-breadcrumb__list a {
  color: var(--nx-text-muted);
  text-decoration: none;
  transition: color .2s ease;
}

.nx-services .nx-breadcrumb__list a:hover { color: var(--nx-text); }
.nx-services .nx-breadcrumb__list [aria-current] { color: var(--nx-text); font-weight: 600; }


/* ---------- Buttons (same look as About page) ---------- */

.nx-services .nx-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 5px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.nx-services .nx-btn i { font-size: 12px; transition: transform .25s ease; }
.nx-services .nx-btn:hover { transform: translateY(-2px); }
.nx-services .nx-btn:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 3px; }

.nx-services .nx-btn--primary {
  background: #AEB6C5;
  border-color: #AEB6C5;
  color: #191D23;
}

.nx-services .nx-btn--primary:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

.nx-services .nx-btn--primary:hover i { transform: translateX(4px); }

.nx-services .nx-btn--outline {
  background: transparent;
  color: var(--nx-text);
  border-color: var(--nx-border);
}

.nx-services .nx-btn--outline:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

[dir="rtl"] .nx-services .nx-btn .fa-arrow-right { transform: scaleX(-1); }


/* ---------- Blocks + big background icon ---------- */

.nx-services .nx-svc-block {
  position: relative;
  padding-block: 110px;
  border-top: 1px solid rgba(151, 157, 171, 0.18);
  overflow: hidden;
}

.nx-services .nx-svc-bgicon {
  position: absolute;
  top: 40px;
  inset-inline-end: -20px;
  z-index: 0;
  font-size: clamp(200px, 26vw, 400px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(87, 112, 122, 0.16);
  user-select: none;
  pointer-events: none;
}

.nx-services .nx-svc-block--left .nx-svc-bgicon {
  inset-inline-end: auto;
  inset-inline-start: -20px;
}

.nx-services .nx-svc-container { position: relative; z-index: 2; }


/* ---------- Centered section heading ---------- */

.nx-services .nx-svc-heading {
  max-width: 850px;
  margin: 0 auto 64px;
  text-align: center;
}

.nx-services .nx-svc-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--nx-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nx-services .nx-svc-heading h2 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}


/* ---------- Hero (50 / 50, like About hero) ---------- */

.nx-services .nx-svc-hero {
  border-top: 0;
  padding-block: 50px 100px;
}

.nx-services .nx-svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.nx-services .nx-svc-hero h1 {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}

.nx-services .nx-svc-hero__text p {
  max-width: 560px;
  font-size: 16px;
}

.nx-services .nx-svc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.nx-services .nx-svc-hero__media {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow);
}

.nx-services .nx-svc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-services .nx-svc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 29, 35, 0.02) 40%, rgba(25, 29, 35, 0.55) 100%);
  pointer-events: none;
}

.nx-services .nx-svc-hero__label {
  position: absolute;
  inset-inline-start: 26px;
  bottom: 26px;
  z-index: 2;
  padding: 16px 20px;
  background: rgba(25, 29, 35, 0.86);
  border: 1px solid rgba(222, 220, 220, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.nx-services .nx-svc-hero__label span {
  display: block;
  margin-bottom: 4px;
  color: var(--nx-primary);
  font-family: var(--nx-font-heading);
  font-size: 15px;
  font-weight: 600;
}

.nx-services .nx-svc-hero__label p { color: #fff; font-size: 13px; line-height: 1.5; }


/* ---------- About + At a glance (50 / 50) ---------- */

.nx-services .nx-svc-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

.nx-services .nx-svc-about__text { display: flex; flex-direction: column; justify-content: center; }
.nx-services .nx-svc-about__text p { margin-bottom: 20px; font-size: 15px; }
.nx-services .nx-svc-about__text p:last-child { margin-bottom: 0; }

.nx-services .nx-svc-about__text .nx-svc-lead {
  margin-bottom: 24px;
  color: var(--nx-text);
  font-family: var(--nx-font-heading);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.nx-services .nx-glance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 24px;
  box-shadow: var(--nx-shadow);
}

.nx-services .nx-glance h3 { margin-bottom: 22px; font-size: 1.25rem; font-weight: 600; }

.nx-services .nx-glance ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.nx-services .nx-glance li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
  border-top: 1px solid var(--nx-border);
}

.nx-services .nx-glance li > i {
  flex: 0 0 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface-soft);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.125rem;
}

.nx-services .nx-glance small {
  display: block;
  margin-bottom: 3px;
  color: var(--nx-text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nx-services .nx-glance span { color: var(--nx-text); font-size: 1rem; }


/* ---------- Help list: 4 centered columns ---------- */

.nx-services .nx-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 36px;
}

.nx-services .nx-help-list li { text-align: center; }

.nx-services .nx-help-list i {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.75rem;
  box-shadow: var(--nx-shadow);
}

.nx-services .nx-help-list h3 { margin-bottom: 10px; font-size: 1.125rem; font-weight: 600; }
.nx-services .nx-help-list p { font-size: 14px; line-height: 1.7; }


/* ---------- Steps: image background, everything centered ---------- */
/* Light and dark mode look different: the overlay uses the theme background,
   and the image gets its own filter per theme. */

.nx-services .nx-svc-steps {
  padding-block: 120px;
  background: var(--nx-bg);
  color: var(--nx-text);
}

.nx-services .nx-svc-steps__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nx-services .nx-svc-steps__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: brightness(1.1) saturate(1.05);              /* light mode: bright, airy */
}

/* theme overlay keeps the text readable in both modes */
.nx-services .nx-svc-steps__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nx-bg);
  opacity: 0.82;                                        /* light mode */
}

/* dark mode: deeper and moodier */
[data-theme="dark"] .nx-services .nx-svc-steps__bg img {
  opacity: 0.6;
  filter: grayscale(0.35) brightness(0.7) contrast(1.05);
}

[data-theme="dark"] .nx-services .nx-svc-steps__bg::after {
  opacity: 0.78;
}

.nx-services .nx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.nx-services .nx-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.nx-services .nx-steps b {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--nx-bg);
  border: 1px solid var(--nx-primary);
  color: var(--nx-primary);
  font-family: var(--nx-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

/* line from circle to circle */
.nx-services .nx-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 26px;
  inset-inline-start: calc(50% + 34px);
  inset-inline-end: calc(-50% + 6px);
  height: 1px;
  background: var(--nx-border);
}

.nx-services .nx-steps strong { color: var(--nx-text); font-size: 1.0625rem; font-weight: 600; }
.nx-services .nx-steps small { color: var(--nx-primary); font-size: 0.8125rem; }
.nx-services .nx-steps p { max-width: 230px; margin-top: 8px; color: var(--nx-text-muted); font-size: 14px; line-height: 1.7; }


/* ---------- Good to know: 2 x 2 list ---------- */

.nx-services .nx-good-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
}

.nx-services .nx-good-list li {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-block: 32px;
  border-top: 1px solid var(--nx-border);
}

.nx-services .nx-good-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--nx-border); }

.nx-services .nx-good-list i {
  flex: 0 0 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.25rem;
}

.nx-services .nx-good-list h3 { margin-bottom: 8px; font-size: 1.125rem; font-weight: 600; }
.nx-services .nx-good-list p { font-size: 14px; line-height: 1.75; }


/* ---------- CTA ---------- */

.nx-services .nx-svc-ctawrap { padding-block: 100px 110px; }

.nx-services .nx-service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding: 64px 60px;
  background: var(--nx-surface-soft);
  border: 1px solid var(--nx-border);
  border-radius: 28px;
}

.nx-services .nx-service-cta h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nx-services .nx-service-cta .nx-svc-actions { margin-top: 0; }


/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .nx-services .nx-svc-container,
  .nx-services .nx-breadcrumb { width: min(100% - 60px, 900px); }

  .nx-services .nx-svc-block { padding-block: 90px; }
  .nx-services .nx-svc-steps { padding-block: 100px; }
  .nx-services .nx-svc-hero { padding-block: 40px 80px; }
  .nx-services .nx-svc-hero__grid { gap: 40px; }
  .nx-services .nx-svc-hero__media { height: 460px; }
  .nx-services .nx-svc-heading { margin-bottom: 52px; }
  .nx-services .nx-svc-about__grid { gap: 44px; }
  .nx-services .nx-help-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-services .nx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .nx-services .nx-steps li::after { display: none; }
  .nx-services .nx-good-list { column-gap: 44px; }
  .nx-services .nx-service-cta { padding: 48px 40px; }
}


/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .nx-services .nx-svc-container,
  .nx-services .nx-breadcrumb { width: calc(100% - 40px); }

  .nx-services .nx-svc-block { padding-block: 70px; }
  .nx-services .nx-svc-steps { padding-block: 80px; }
  .nx-services .nx-svc-hero { padding-block: 30px 60px; }

  .nx-services .nx-svc-hero__grid,
  .nx-services .nx-svc-about__grid { display: flex; flex-direction: column; gap: 36px; align-items: stretch; }

  .nx-services .nx-svc-hero__media { height: 380px; border-radius: 22px; }
  .nx-services .nx-svc-hero__label { inset-inline-start: 16px; bottom: 16px; padding: 14px 16px; }
  .nx-services .nx-svc-heading { margin-bottom: 40px; }
  .nx-services .nx-svc-heading h2 { font-size: clamp(34px, 9.5vw, 46px); }
  .nx-services .nx-svc-bgicon { font-size: 190px; top: 30px; }
  .nx-services .nx-svc-about__text .nx-svc-lead { font-size: 19px; }
  .nx-services .nx-glance { padding: 24px 20px; border-radius: 20px; }

  .nx-services .nx-help-list { grid-template-columns: 1fr; gap: 36px; }
  .nx-services .nx-steps { grid-template-columns: 1fr; gap: 30px; }

  .nx-services .nx-good-list { grid-template-columns: 1fr; }
  .nx-services .nx-good-list li { padding-block: 24px; }
  .nx-services .nx-good-list li:nth-last-child(2) { border-bottom: 0; }

  .nx-services .nx-svc-ctawrap { padding-block: 70px 80px; }
  .nx-services .nx-service-cta { flex-direction: column; align-items: flex-start; gap: 30px; padding: 32px 22px; border-radius: 22px; }
  .nx-services .nx-svc-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .nx-services .nx-btn { width: 100%; }
}


/* ---------- Small mobile ---------- */

@media (max-width: 480px) {
  .nx-services .nx-svc-container,
  .nx-services .nx-breadcrumb { width: calc(100% - 30px); }

  .nx-services .nx-svc-hero__media { height: 330px; }
  .nx-services .nx-svc-bgicon { font-size: 150px; }
}


/* =========================================================
   NEXASCAN — PREPARE FOR YOUR SCAN
   REPLACE BOTH old "PREPARE FOR YOUR SCAN" blocks in your CSS
   file with this one (the two old blocks conflict with each other).
   Prefix: nx-prepare-   |   Scoped under .nx-prepare-page
   ========================================================= */

.nx-prepare-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--nx-font-body);
}

.nx-prepare-page h1,
.nx-prepare-page h2,
.nx-prepare-page h3 {
  margin: 0;
  font-family: var(--nx-font-heading);
  color: var(--nx-text);
  line-height: 1.2;
}

.nx-prepare-page p { margin: 0; color: var(--nx-text-muted); line-height: 1.8; }
.nx-prepare-page ul,
.nx-prepare-page ol { list-style: none; margin: 0; padding: 0; }
.nx-prepare-page img { display: block; width: 100%; }

.nx-prepare-page .nx-prepare-container {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 80px));
  margin-inline: auto;
}


/* ---------- Eyebrow ---------- */

.nx-prepare-page .nx-prepare-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--nx-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}


/* ---------- Buttons (identical to About + Services buttons) ---------- */

.nx-prepare-page a { text-decoration: none; }

.nx-prepare-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 5px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.nx-prepare-btn i { font-size: 12px; transition: transform 0.25s ease; }

.nx-prepare-btn--primary {
  background: #AEB6C5;
  color: #191D23;
  border: 1px solid #AEB6C5;
}

.nx-prepare-btn--primary:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

.nx-prepare-btn--primary:hover i { transform: translateX(4px); }

.nx-prepare-btn--outline {
  background: transparent;
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
}

.nx-prepare-btn--outline:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

.nx-prepare-btn:hover { transform: translateY(-2px); }
.nx-prepare-btn:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 3px; }

[dir="rtl"] .nx-prepare-page .nx-flip { transform: scaleX(-1); }

.nx-prepare-page .nx-prepare-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 34px;
}


/* ---------- Blocks + big background icon ---------- */

.nx-prepare-page .nx-prepare-block {
  position: relative;
  padding-block: 110px;
  border-top: 1px solid rgba(151, 157, 171, 0.18);
  overflow: hidden;
}

.nx-prepare-page .nx-prepare-bgicon {
  position: absolute;
  top: 40px;
  inset-inline-end: -20px;
  z-index: 0;
  font-size: clamp(200px, 26vw, 400px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(87, 112, 122, 0.16);
  user-select: none;
  pointer-events: none;
}

.nx-prepare-page .nx-prepare-bgicon--left {
  inset-inline-end: auto;
  inset-inline-start: -20px;
}


/* ---------- Centered section heading ---------- */

.nx-prepare-page .nx-prepare-heading {
  max-width: 850px;
  margin: 0 auto 64px;
  text-align: center;
}

.nx-prepare-page .nx-prepare-heading h2 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.nx-prepare-page .nx-prepare-heading p {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 15px;
}


/* =========================================================
   01 — HERO (centered, image background)
   ========================================================= */

.nx-prepare-page .nx-prepare-hero {
  position: relative;
  padding-block: 120px 0;
  overflow: hidden;
  text-align: center;
}

.nx-prepare-page .nx-prepare-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nx-prepare-page .nx-prepare-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: brightness(1.1) saturate(1.05);               /* light mode */
}

.nx-prepare-page .nx-prepare-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nx-bg);
  opacity: 0.8;                                          /* light mode */
}

/* dark mode: deeper and moodier */
[data-theme="dark"] .nx-prepare-page .nx-prepare-hero__bg img {
  opacity: 0.6;
  filter: grayscale(0.35) brightness(0.7) contrast(1.05);
}

[data-theme="dark"] .nx-prepare-page .nx-prepare-hero__bg::after { opacity: 0.74; }

.nx-prepare-page .nx-prepare-hero__title {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(46px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.nx-prepare-page .nx-prepare-hero__title span { display: block; color: var(--nx-primary); }

.nx-prepare-page .nx-prepare-hero__text {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: 16px;
}

.nx-prepare-page .nx-prepare-hero__links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 90px;
  border-top: 1px solid var(--nx-border);
}

.nx-prepare-page .nx-prepare-hero__links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 12px 30px;
  border-inline-end: 1px solid var(--nx-border);
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.nx-prepare-page .nx-prepare-hero__links a:last-child { border-inline-end: 0; }
.nx-prepare-page .nx-prepare-hero__links i { color: var(--nx-primary); font-size: 20px; }
.nx-prepare-page .nx-prepare-hero__links a:hover { background: var(--nx-surface); color: var(--nx-primary); }


/* =========================================================
   SPLIT LAYOUT (02 and 05): equal 50 / 50
   ========================================================= */

.nx-prepare-page .nx-prepare-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}

.nx-prepare-page .nx-prepare-visual {
  position: relative;
  display: flex;
  min-height: 480px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow);
}

.nx-prepare-page .nx-prepare-visual img {
  flex: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .7s ease;
}

.nx-prepare-page .nx-prepare-visual:hover img { transform: scale(1.025); }

/* 02: image on the left */
.nx-prepare-page .nx-prepare-before .nx-prepare-visual { order: -1; }


/* ---------- 02: points ---------- */

.nx-prepare-page .nx-prepare-points { border-top: 1px solid var(--nx-border); align-self: center; }

.nx-prepare-page .nx-prepare-points li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-prepare-page .nx-prepare-points li > i {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1rem;
}

.nx-prepare-page .nx-prepare-points h3 { margin-bottom: 5px; font-size: 1.0625rem; font-weight: 600; }
.nx-prepare-page .nx-prepare-points p { font-size: 14px; line-height: 1.7; }
.nx-prepare-page .nx-prepare-points a { color: var(--nx-primary); font-weight: 700; text-underline-offset: 3px; }
.nx-prepare-page .nx-prepare-points a:hover { color: var(--nx-text); }


/* =========================================================
   03 — THREE SCAN COLUMNS
   ========================================================= */

.nx-prepare-page .nx-prepare-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nx-prepare-page .nx-prepare-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline: 44px;
  border-inline-start: 1px solid var(--nx-border);
}

.nx-prepare-page .nx-prepare-type:first-child { padding-inline-start: 0; border-inline-start: 0; }
.nx-prepare-page .nx-prepare-type:last-child { padding-inline-end: 0; }

.nx-prepare-page .nx-prepare-type__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.75rem;
  box-shadow: var(--nx-shadow);
}

.nx-prepare-page .nx-prepare-type h3 { margin-bottom: 14px; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.nx-prepare-page .nx-prepare-type > p { margin-bottom: 24px; font-size: 14.5px; }

.nx-prepare-page .nx-prepare-type ul { width: 100%; margin-bottom: 28px; border-top: 1px solid var(--nx-border); }

.nx-prepare-page .nx-prepare-type li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--nx-border);
  color: var(--nx-text);
  font-size: 14px;
  line-height: 1.6;
}

.nx-prepare-page .nx-prepare-type li i { flex: 0 0 auto; margin-top: 5px; color: var(--nx-primary); font-size: 12px; }

.nx-prepare-page .nx-prepare-type__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--nx-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nx-prepare-page .nx-prepare-type__link i { font-size: 12px; transition: transform .25s ease; }
.nx-prepare-page .nx-prepare-type__link:hover i { transform: translateX(5px); }


/* =========================================================
   04 — THREE CHECKLISTS
   ========================================================= */

.nx-prepare-page .nx-prepare-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}

.nx-prepare-page .nx-prepare-list h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--nx-primary);
  font-size: 1.375rem;
  font-weight: 600;
}

.nx-prepare-page .nx-prepare-list h3 i { color: var(--nx-primary); font-size: 1.125rem; }

.nx-prepare-page .nx-prepare-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 17px;
  border-bottom: 1px solid var(--nx-border);
  color: var(--nx-text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.nx-prepare-page .nx-prepare-list li i { flex: 0 0 auto; margin-top: 5px; color: var(--nx-primary); font-size: 12px; }


/* =========================================================
   05 — TIMELINE
   ========================================================= */

.nx-prepare-page .nx-prepare-timeline { position: relative; align-self: center; }

.nx-prepare-page .nx-prepare-timeline::before {
  content: "";
  position: absolute;
  inset-block: 28px;
  inset-inline-start: 25px;
  width: 1px;
  background: var(--nx-border);
}

.nx-prepare-page .nx-prepare-timeline li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-block: 16px;
}

.nx-prepare-page .nx-prepare-timeline__number {
  position: relative;
  z-index: 1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-bg);
  border: 1px solid var(--nx-primary);
  color: var(--nx-primary);
  font-family: var(--nx-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.nx-prepare-page .nx-prepare-timeline h3 { margin: 4px 0 6px; font-size: 1.1875rem; font-weight: 600; }
.nx-prepare-page .nx-prepare-timeline p { font-size: 14.5px; line-height: 1.7; }


/* =========================================================
   06 — AFTER YOUR SCAN (rows)
   ========================================================= */

.nx-prepare-page .nx-prepare-rows {
  max-width: 1000px;
  margin-inline: auto;
  border-top: 1px solid var(--nx-border);
}

.nx-prepare-page .nx-prepare-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 34px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-prepare-page .nx-prepare-row__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.625rem;
  box-shadow: var(--nx-shadow);
}

.nx-prepare-page .nx-prepare-row h3 { margin-bottom: 8px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.nx-prepare-page .nx-prepare-row p { max-width: 560px; font-size: 14.5px; line-height: 1.75; }

.nx-prepare-page .nx-prepare-row__tag {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 210px;              /* same width for every tag, even if the text changes */
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--nx-border);
  border-radius: 999px;
  color: var(--nx-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
}

.nx-prepare-page .nx-prepare-row__tag--link {
  color: var(--nx-primary);
  border-color: var(--nx-primary);
  transition: background .25s ease, color .25s ease;
}

.nx-prepare-page .nx-prepare-row__tag--link:hover { background: var(--nx-primary); color: var(--nx-on-primary, #fff); }


/* =========================================================
   07 — FINAL CTA (centered)
   ========================================================= */

.nx-prepare-page .nx-prepare-final-cta { padding-block: 100px 110px; }

.nx-prepare-page .nx-prepare-final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 60px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 28px;
  text-align: center;
}

.nx-prepare-page .nx-prepare-final-cta__title {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.nx-prepare-page .nx-prepare-final-cta__text { max-width: 560px; margin-top: 20px; font-size: 15px; }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .nx-prepare-page .nx-prepare-container { width: min(100% - 60px, 900px); }
  .nx-prepare-page .nx-prepare-block { padding-block: 90px; }
  .nx-prepare-page .nx-prepare-heading { margin-bottom: 52px; }

  .nx-prepare-page .nx-prepare-hero { padding-top: 90px; }
  .nx-prepare-page .nx-prepare-hero__links { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 70px; }
  .nx-prepare-page .nx-prepare-hero__links a:nth-child(3) { border-inline-end: 0; }
  .nx-prepare-page .nx-prepare-hero__links a:nth-child(n+4) { border-top: 1px solid var(--nx-border); }

  .nx-prepare-page .nx-prepare-split { gap: 44px; }
  .nx-prepare-page .nx-prepare-visual { min-height: 420px; }

  .nx-prepare-page .nx-prepare-types { grid-template-columns: 1fr; gap: 0; }
  .nx-prepare-page .nx-prepare-type,
  .nx-prepare-page .nx-prepare-type:first-child,
  .nx-prepare-page .nx-prepare-type:last-child { padding: 44px 0; border-inline-start: 0; border-top: 1px solid var(--nx-border); }
  .nx-prepare-page .nx-prepare-type:first-child { border-top: 0; padding-top: 0; }

  .nx-prepare-page .nx-prepare-lists { grid-template-columns: 1fr; gap: 44px; }
  .nx-prepare-page .nx-prepare-final-cta__inner { padding: 56px 36px; }
}


/* =========================================================
   MOBILE — content first, then image
   ========================================================= */

@media (max-width: 767px) {
  .nx-prepare-page .nx-prepare-container { width: calc(100% - 40px); }
  .nx-prepare-page .nx-prepare-block { padding-block: 70px; }
  .nx-prepare-page .nx-prepare-heading { margin-bottom: 40px; }
  .nx-prepare-page .nx-prepare-heading h2 { font-size: clamp(34px, 9.5vw, 46px); }
  .nx-prepare-page .nx-prepare-bgicon { font-size: 190px; top: 30px; }

  .nx-prepare-btn { width: 100%; min-height: 49px; padding: 0 18px; font-size: 13px; }
  .nx-prepare-page .nx-prepare-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }

  .nx-prepare-page .nx-prepare-hero { padding-top: 64px; }
  .nx-prepare-page .nx-prepare-hero__title { font-size: clamp(40px, 11.5vw, 56px); }
  .nx-prepare-page .nx-prepare-hero__text { margin-top: 22px; font-size: 14px; }
  .nx-prepare-page .nx-prepare-hero__links { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .nx-prepare-page .nx-prepare-hero__links a { border-inline-end: 0; border-top: 1px solid var(--nx-border); padding: 20px 8px; }
  .nx-prepare-page .nx-prepare-hero__links a:first-child { border-top: 0; }
  .nx-prepare-page .nx-prepare-hero__links a:nth-child(2) { border-top: 0; }
  .nx-prepare-page .nx-prepare-hero__links a:nth-child(odd) { border-inline-end: 1px solid var(--nx-border); }
  .nx-prepare-page .nx-prepare-hero__links a:last-child:nth-child(odd) { grid-column: 1 / -1; border-inline-end: 0; }

  .nx-prepare-page .nx-prepare-split { display: flex; flex-direction: column; gap: 36px; }
  .nx-prepare-page .nx-prepare-before .nx-prepare-visual { order: initial; }
  .nx-prepare-page .nx-prepare-visual { min-height: 0; border-radius: 19px; }
  .nx-prepare-page .nx-prepare-visual img { flex: none; height: auto; aspect-ratio: 1.2 / 1; }

  .nx-prepare-page .nx-prepare-timeline li { gap: 18px; }

  .nx-prepare-page .nx-prepare-row { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 18px; padding-block: 26px; }
  .nx-prepare-page .nx-prepare-row__icon { width: 56px; height: 56px; font-size: 1.25rem; }
  .nx-prepare-page .nx-prepare-row h3 { font-size: 1.1875rem; }
  .nx-prepare-page .nx-prepare-row__tag { grid-column: 2; justify-self: start; width: min(100%, 210px); }

  .nx-prepare-page .nx-prepare-final-cta { padding-block: 70px 80px; }
  .nx-prepare-page .nx-prepare-final-cta__inner { padding: 40px 22px; border-radius: 22px; }
  .nx-prepare-page .nx-prepare-final-cta__inner .nx-prepare-actions { width: 100%; }
}

@media (max-width: 480px) {
  .nx-prepare-page .nx-prepare-container { width: calc(100% - 30px); }
  .nx-prepare-page .nx-prepare-bgicon { font-size: 150px; }
}

/* =========================================================
   NEXASCAN — CONTACT PAGE
   Prefix: nx-contact-   |   Scoped under .nx-contact-page
   Hero, details, form, scans, address + map, final CTA
   ========================================================= */

.nx-contact-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--nx-font-body);
}

.nx-contact-page h1,
.nx-contact-page h2,
.nx-contact-page h3 {
  margin: 0;
  font-family: var(--nx-font-heading);
  color: var(--nx-text);
  line-height: 1.2;
}

.nx-contact-page p { margin: 0; color: var(--nx-text-muted); line-height: 1.8; }
.nx-contact-page ul,
.nx-contact-page ol { list-style: none; margin: 0; padding: 0; }
.nx-contact-page a { text-decoration: none; }

.nx-contact-page .nx-contact-container {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 80px));
  margin-inline: auto;
}

.nx-contact-page .nx-contact-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--nx-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}


/* ---------- Buttons (identical to About / Services / Prepare) ---------- */

.nx-contact-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 5px;
  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.nx-contact-btn i { font-size: 12px; transition: transform 0.25s ease; }

.nx-contact-btn--primary {
  background: #AEB6C5;
  color: #191D23;
  border: 1px solid #AEB6C5;
}

.nx-contact-btn--primary:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

.nx-contact-btn--primary:hover i { transform: translateX(4px); }

.nx-contact-btn--outline {
  background: transparent;
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
}

.nx-contact-btn--outline:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}

.nx-contact-btn:hover { transform: translateY(-2px); }
.nx-contact-btn:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 3px; }

[dir="rtl"] .nx-contact-page .nx-flip { transform: scaleX(-1); }

.nx-contact-page .nx-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 34px;
}

.nx-contact-page .nx-contact-actions--left { justify-content: flex-start; }


/* ---------- Blocks + big background icon ---------- */

.nx-contact-page .nx-contact-block {
  position: relative;
  padding-block: 110px;
  border-top: 1px solid rgba(151, 157, 171, 0.18);
  overflow: hidden;
}

.nx-contact-page .nx-contact-bgicon {
  position: absolute;
  top: 40px;
  inset-inline-end: -20px;
  z-index: 0;
  font-size: clamp(200px, 26vw, 400px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(87, 112, 122, 0.16);
  user-select: none;
  pointer-events: none;
}

.nx-contact-page .nx-contact-bgicon--left {
  inset-inline-end: auto;
  inset-inline-start: -20px;
}


/* ---------- Centered heading ---------- */

.nx-contact-page .nx-contact-heading {
  max-width: 850px;
  margin: 0 auto 64px;
  text-align: center;
}

.nx-contact-page .nx-contact-heading h2 {
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.nx-contact-page .nx-contact-heading p {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 15px;
}


/* =========================================================
   01 — HERO (centered, image background)
   ========================================================= */

.nx-contact-page .nx-contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-block: 140px;
  overflow: hidden;
  text-align: center;
}

.nx-contact-page .nx-contact-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nx-contact-page .nx-contact-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: brightness(1.1) saturate(1.05);               /* light mode */
}

.nx-contact-page .nx-contact-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nx-bg);
  opacity: 0.78;                                         /* light mode */
}

/* dark mode: deeper and moodier */
[data-theme="dark"] .nx-contact-page .nx-contact-hero__bg img {
  opacity: 0.6;
  filter: grayscale(0.35) brightness(0.7) contrast(1.05);
}

[data-theme="dark"] .nx-contact-page .nx-contact-hero__bg::after { opacity: 0.72; }

.nx-contact-page .nx-contact-hero__inner { width: min(1000px, calc(100% - 80px)); }

.nx-contact-page .nx-contact-hero__title {
  font-size: clamp(46px, 6.6vw, 94px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.nx-contact-page .nx-contact-hero__title span { display: block; color: var(--nx-primary); }

.nx-contact-page .nx-contact-hero__text {
  max-width: 600px;
  margin: 30px auto 0;
  font-size: 16px;
}


/* =========================================================
   02 — CONTACT DETAILS (3-cell panel)
   ========================================================= */

.nx-contact-page .nx-contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-top: 3px solid var(--nx-primary);
  border-radius: 24px;
  box-shadow: var(--nx-shadow);
}

.nx-contact-page .nx-contact-panel__cell {
  display: flex;
  flex-direction: column;
  padding: 44px 40px;
}

.nx-contact-page .nx-contact-panel__cell + .nx-contact-panel__cell { border-inline-start: 1px solid var(--nx-border); }

.nx-contact-page .nx-contact-panel__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.5rem;
}

.nx-contact-page .nx-contact-panel h3 { margin-bottom: 12px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.nx-contact-page .nx-contact-panel__cell > p { margin-bottom: 26px; font-size: 14.5px; }

.nx-contact-page .nx-contact-panel ul {
  margin-top: auto;
  border-top: 1px solid var(--nx-border);
}

.nx-contact-page .nx-contact-panel li {
  padding-block: 14px;
  border-bottom: 1px solid var(--nx-border);
  color: var(--nx-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.nx-contact-page .nx-contact-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.nx-contact-page .nx-contact-panel strong { color: var(--nx-text); font-weight: 700; }
.nx-contact-page .nx-contact-panel a { color: var(--nx-primary); font-weight: 700; text-underline-offset: 3px; }
.nx-contact-page .nx-contact-panel a:hover { color: var(--nx-text); text-decoration: underline; }


/* =========================================================
   SPLIT LAYOUT (form + map): equal 50 / 50
   ========================================================= */

.nx-contact-page .nx-contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: stretch;
}


/* =========================================================
   03 — FORM
   ========================================================= */

.nx-contact-page .nx-contact-next { display: flex; flex-direction: column; justify-content: center; }

.nx-contact-page .nx-contact-next__lead {
  margin-bottom: 30px;
  color: var(--nx-text);
  font-family: var(--nx-font-heading);
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.nx-contact-page .nx-contact-next__list { position: relative; margin-bottom: 30px; }

.nx-contact-page .nx-contact-next__list::before {
  content: "";
  position: absolute;
  inset-block: 28px;
  inset-inline-start: 25px;
  width: 1px;
  background: var(--nx-border);
}

.nx-contact-page .nx-contact-next__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-block: 14px;
}

.nx-contact-page .nx-contact-next__num {
  position: relative;
  z-index: 1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-bg);
  border: 1px solid var(--nx-primary);
  color: var(--nx-primary);
  font-family: var(--nx-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
}

.nx-contact-page .nx-contact-next h3 { margin: 4px 0 5px; font-size: 1.125rem; font-weight: 600; }
.nx-contact-page .nx-contact-next li p { font-size: 14.5px; line-height: 1.7; }

.nx-contact-page .nx-contact-next__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--nx-primary);
  font-size: 14px;
  font-weight: 700;
}

.nx-contact-page .nx-contact-next__link i { font-size: 12px; transition: transform .25s ease; }
.nx-contact-page .nx-contact-next__link:hover i { transform: translateX(5px); }

.nx-contact-page .nx-contact-form {
  display: grid;
  gap: 22px;
  padding: 44px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 24px;
  box-shadow: var(--nx-shadow);
}

.nx-contact-page .nx-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.nx-contact-page .nx-contact-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

.nx-contact-page .nx-contact-field label {
  color: var(--nx-text);
  font-size: 13px;
  font-weight: 700;
}

.nx-contact-page .nx-contact-field label span { color: var(--nx-primary); }

.nx-contact-page .nx-contact-field input,
.nx-contact-page .nx-contact-field select,
.nx-contact-page .nx-contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 0 16px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  color: var(--nx-text);
  font-family: var(--nx-font-body);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nx-contact-page .nx-contact-field textarea {
  min-height: 140px;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}

.nx-contact-page .nx-contact-field input::placeholder,
.nx-contact-page .nx-contact-field textarea::placeholder { color: var(--nx-text-muted); opacity: 0.8; }

.nx-contact-page .nx-contact-field input:focus,
.nx-contact-page .nx-contact-field select:focus,
.nx-contact-page .nx-contact-field textarea:focus {
  outline: none;
  border-color: var(--nx-primary);
  box-shadow: 0 0 0 3px rgba(87, 112, 122, 0.25);
}

[data-theme="dark"] .nx-contact-page .nx-contact-field input[type="date"] { color-scheme: dark; }

.nx-contact-page .nx-contact-select { position: relative; display: block; }

.nx-contact-page .nx-contact-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  cursor: pointer;
}

.nx-contact-page .nx-contact-select i {
  position: absolute;
  top: 50%;
  inset-inline-end: 18px;
  transform: translateY(-50%);
  color: var(--nx-primary);
  font-size: 12px;
  pointer-events: none;
}

.nx-contact-page .nx-contact-form__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 4px;
}

.nx-contact-page .nx-contact-form__footer p { font-size: 13px; line-height: 1.6; }


/* =========================================================
   04 — CHOOSE YOUR SCAN (rows)
   ========================================================= */

.nx-contact-page .nx-contact-rows {
  max-width: 1000px;
  margin-inline: auto;
  border-top: 1px solid var(--nx-border);
}

.nx-contact-page .nx-contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 34px;
  border-bottom: 1px solid var(--nx-border);
}

.nx-contact-page .nx-contact-row__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1.625rem;
  box-shadow: var(--nx-shadow);
}

.nx-contact-page .nx-contact-row h3 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.nx-contact-page .nx-contact-row p { max-width: 520px; font-size: 14.5px; line-height: 1.75; }

.nx-contact-page .nx-contact-row__links { display: flex; gap: 10px; }

.nx-contact-page .nx-contact-row__links a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;                 /* same size for every link */
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--nx-border);
  border-radius: 999px;
  color: var(--nx-text);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.nx-contact-page .nx-contact-row__links a:first-child { border-color: var(--nx-primary); color: var(--nx-primary); }

.nx-contact-page .nx-contact-row__links a:hover {
  background: var(--nx-text);
  border-color: var(--nx-text);
  color: var(--nx-bg);
}


/* =========================================================
   05 — ADDRESS & MAP
   ========================================================= */

.nx-contact-page .nx-contact-location__details { display: flex; flex-direction: column; justify-content: center; }

.nx-contact-page .nx-contact-location__info { border-top: 1px solid var(--nx-border); }

.nx-contact-page .nx-contact-location__info li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--nx-border);
  color: var(--nx-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.nx-contact-page .nx-contact-location__info address { margin: 0; font-style: normal; }
.nx-contact-page .nx-contact-location__info strong { color: var(--nx-text); font-family: var(--nx-font-heading); font-weight: 600; }
.nx-contact-page .nx-contact-location__info a { color: var(--nx-text); font-weight: 600; }
.nx-contact-page .nx-contact-location__info a:hover { color: var(--nx-primary); }

.nx-contact-page .nx-contact-location__icon {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  color: var(--nx-primary);
  font-size: 1rem;
}

/* decorative map */

.nx-contact-page .nx-contact-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 24px;
  box-shadow: var(--nx-shadow);
  color: var(--nx-border);
}

.nx-contact-page .nx-contact-map__roads { position: absolute; inset: 0; width: 100%; height: 100%; }

.nx-contact-page .nx-contact-map__pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 10px;
  color: var(--nx-text);
  font-size: 12px;
  font-weight: 700;
}

.nx-contact-page .nx-contact-map__pin i { color: var(--nx-primary); font-size: 14px; }
.nx-contact-page .nx-contact-map__pin em { font-style: normal; }

.nx-contact-page .nx-contact-map__pin--a { top: 12%; inset-inline-start: 9%; }
.nx-contact-page .nx-contact-map__pin--b { top: 18%; inset-inline-end: 8%; }
.nx-contact-page .nx-contact-map__pin--c { bottom: 12%; inset-inline-start: 14%; }

.nx-contact-page .nx-contact-map__center {
  position: absolute;
  top: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  min-width: 230px;
  padding: 26px 28px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: 18px;
  box-shadow: var(--nx-shadow);
  text-align: center;
}

[dir="rtl"] .nx-contact-page .nx-contact-map__center { transform: translate(50%, -50%); }

.nx-contact-page .nx-contact-map__center-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--nx-primary);
  color: #fff;
  font-size: 1.25rem;
}

.nx-contact-page .nx-contact-map__center strong { display: block; color: var(--nx-text); font-family: var(--nx-font-heading); font-size: 1.25rem; font-weight: 600; }
.nx-contact-page .nx-contact-map__center small { display: block; margin-top: 4px; color: var(--nx-text-muted); font-size: 12.5px; }

.nx-contact-page .nx-contact-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 20px 26px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 14px;
  font-size: 14.5px;
}

.nx-contact-page .nx-contact-note i { color: var(--nx-primary); font-size: 1.125rem; }


/* =========================================================
   06 — FINAL CTA (centered)
   ========================================================= */

.nx-contact-page .nx-contact-final-cta { padding-block: 100px 110px; }

.nx-contact-page .nx-contact-final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 60px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 28px;
  text-align: center;
}

.nx-contact-page .nx-contact-final-cta__title {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.nx-contact-page .nx-contact-final-cta__text { max-width: 560px; margin-top: 20px; font-size: 15px; }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  .nx-contact-page .nx-contact-container { width: min(100% - 60px, 900px); }
  .nx-contact-page .nx-contact-hero__inner { width: min(100% - 60px, 900px); }
  .nx-contact-page .nx-contact-block { padding-block: 90px; }
  .nx-contact-page .nx-contact-heading { margin-bottom: 52px; }

  .nx-contact-page .nx-contact-hero { min-height: 100vh; padding-block: 110px; }

  .nx-contact-page .nx-contact-panel { grid-template-columns: 1fr; }
  .nx-contact-page .nx-contact-panel__cell { padding: 36px 32px; }
  .nx-contact-page .nx-contact-panel__cell + .nx-contact-panel__cell { border-inline-start: 0; border-top: 1px solid var(--nx-border); }

  .nx-contact-page .nx-contact-split { gap: 44px; }
  .nx-contact-page .nx-contact-form { padding: 34px; }
  .nx-contact-page .nx-contact-next__lead { font-size: 21px; }

  .nx-contact-page .nx-contact-row { grid-template-columns: 64px minmax(0, 1fr); gap: 18px 24px; }
  .nx-contact-page .nx-contact-row__icon { width: 64px; height: 64px; font-size: 1.375rem; }
  .nx-contact-page .nx-contact-row__links { grid-column: 2; }

  .nx-contact-page .nx-contact-map { min-height: 440px; }
  .nx-contact-page .nx-contact-final-cta__inner { padding: 56px 36px; }
}


/* =========================================================
   MOBILE — content first
   ========================================================= */

@media (max-width: 767px) {
  .nx-contact-page .nx-contact-container,
  .nx-contact-page .nx-contact-hero__inner { width: calc(100% - 40px); }

  .nx-contact-page .nx-contact-block { padding-block: 70px; }
  .nx-contact-page .nx-contact-heading { margin-bottom: 40px; }
  .nx-contact-page .nx-contact-heading h2 { font-size: clamp(34px, 9.5vw, 46px); }
  .nx-contact-page .nx-contact-bgicon { font-size: 190px; top: 30px; }

  .nx-contact-btn { width: 100%; min-height: 49px; padding: 0 18px; font-size: 13px; }
  .nx-contact-page .nx-contact-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }

  .nx-contact-page .nx-contact-hero { padding-block: 80px; }
  .nx-contact-page .nx-contact-hero__title { font-size: clamp(40px, 11.5vw, 56px); }
  .nx-contact-page .nx-contact-hero__text { margin-top: 22px; font-size: 14px; }

  .nx-contact-page .nx-contact-panel { border-radius: 20px; }
  .nx-contact-page .nx-contact-panel__cell { padding: 30px 22px; }

  .nx-contact-page .nx-contact-split { display: flex; flex-direction: column; gap: 36px; }
  .nx-contact-page .nx-contact-next__lead { font-size: 19px; }
  .nx-contact-page .nx-contact-form { padding: 26px 20px; border-radius: 20px; }
  .nx-contact-page .nx-contact-form__row { grid-template-columns: 1fr; gap: 22px; }

  .nx-contact-page .nx-contact-row { grid-template-columns: 56px minmax(0, 1fr); gap: 16px 18px; padding-block: 26px; }
  .nx-contact-page .nx-contact-row__icon { width: 56px; height: 56px; font-size: 1.25rem; }
  .nx-contact-page .nx-contact-row h3 { font-size: 1.1875rem; }
  .nx-contact-page .nx-contact-row__links { flex-direction: column; }
  .nx-contact-page .nx-contact-row__links a { width: min(100%, 200px); }

  .nx-contact-page .nx-contact-map { min-height: 400px; border-radius: 20px; }
  .nx-contact-page .nx-contact-map__center { min-width: 0; width: 62%; padding: 20px 16px; }
  .nx-contact-page .nx-contact-map__pin { padding: 6px 10px; font-size: 11px; }
  .nx-contact-page .nx-contact-note { align-items: flex-start; padding: 18px 20px; }

  .nx-contact-page .nx-contact-final-cta { padding-block: 70px 80px; }
  .nx-contact-page .nx-contact-final-cta__inner { padding: 40px 22px; border-radius: 22px; }
  .nx-contact-page .nx-contact-final-cta__inner .nx-contact-actions { width: 100%; }
}

@media (max-width: 480px) {
  .nx-contact-page .nx-contact-container,
  .nx-contact-page .nx-contact-hero__inner { width: calc(100% - 30px); }
  .nx-contact-page .nx-contact-bgicon { font-size: 150px; }
}


/* FIX: Final CTA secondary button hover — Light Mode */
[data-theme="light"] .nx-final-cta__button--secondary:hover,
[data-theme="light"] .nx-final-cta__button--secondary:focus-visible {
    border: 1px solid #ffffff;
    outline: 2px solid transparent;
    outline-offset: 2px;
}


/* =========================================================
   NEXASCAN — HOME 2 HERO CTA
   Fix Primary Button Visibility in Light Mode
   ========================================================= */

html[data-theme="light"] .nx-home2-hero__button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background-color: #587581;
    color: #ffffff;
    border: 1px solid #587581;

    opacity: 1;
    visibility: visible;
    text-decoration: none;
}

/* Hover */
html[data-theme="light"] .nx-home2-hero__button--primary:hover {
    background-color: #405d69;
    color: #ffffff;
    border-color: #405d69;
}

/* Keyboard Focus */
html[data-theme="light"] .nx-home2-hero__button--primary:focus-visible {
    outline: 2px solid #587581;
    outline-offset: 3px;
}


/* CT Scan CTA — Light Mode Background Only */
html[data-theme="light"] .nx-svc-ctawrap .nx-service-cta {
    background-color: #F1F5F8;
}
/* =========================================================
   READABLE BODY COPY
   Shared by all pages; keep heading styles separate.
   ========================================================= */

p {
  font-size: max(14px, 1em) !important;
  font-weight: 500 !important;
}


/* =========================================================
   HOME 2 SECTION SPACING
   Keep the hero and final CTA spacing unchanged.
   ========================================================= */

.nx-home2-imaging__container,
.nx-home2-precision__container,
.nx-home2-visit__container,
.nx-home2-preparation__container,
.nx-home2-faq__container {
  padding-top: 72px;
  padding-bottom: 48px;
}

.nx-home2-visit,
.nx-home2-visit__container,
.nx-home2-faq,
.nx-home2-faq__container {
  min-height: auto;
}

@media (max-width: 1024px) {
  .nx-home2-imaging__container,
  .nx-home2-precision__container,
  .nx-home2-visit__container,
  .nx-home2-preparation__container,
  .nx-home2-faq__container {
    padding-top: 56px;
    padding-bottom: 36px;
  }
}

@media (max-width: 767px) {
  .nx-home2-imaging__container,
  .nx-home2-precision__container,
  .nx-home2-visit__container,
  .nx-home2-preparation__container,
  .nx-home2-faq__container {
    padding-top: 44px;
    padding-bottom: 28px;
  }
}

/* Tighten the bottom edge of the Home 2 visit section. */
.nx-home2-visit__container {
  padding-bottom: 16px;
}

.nx-home2-visit::after {
  margin-top: 0;
}





/* Keep desktop navigation items evenly spaced across every page. */
@media (min-width: 1024px) {
  .scan-navigation__list {
    gap: clamp(10px, 1vw, 14px);
  }
}

/* Preparation arrival section: balanced title and equal checklist columns. */
.nx-prepare-page #nxPrepareArrival .nx-prepare-heading {
  max-width: 1100px;
}

@media (min-width: 1025px) {
  .nx-prepare-page #nxPrepareArrival .nx-prepare-lists {
    align-items: stretch;
  }

  .nx-prepare-page #nxPrepareArrival .nx-prepare-list {
    display: flex;
    flex-direction: column;
  }

  .nx-prepare-page #nxPrepareArrival .nx-prepare-list ul {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .nx-prepare-page #nxPrepareArrival .nx-prepare-list li {
    flex: 1;
  }
}


/* =========================================================
   NEXASCAN — 404 PAGE (pages/404.html)
   Paste at the VERY END of style.css. Nothing above is edited.
   ========================================================= */

.nx-404 {
  position: relative;
  overflow: hidden;
  padding: 72px 0 72px;
  background: var(--nx-bg);
  color: var(--nx-text);
}

.nx-404__container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* ---------- 404 visual ---------- */

.nx-404__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 0 0.1em;

  font-family: var(--nx-font-heading);
  font-size: clamp(110px, 22vw, 240px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  direction: ltr;
}

/* both 4s share the same box width, so the ring is exactly centered */
.nx-404__digit {
  width: 0.66em;
  display: block;
  text-align: center;
  letter-spacing: 0;
  color: color-mix(in srgb, var(--nx-primary) 22%, transparent);
}

.nx-404__zero {
  position: relative;
  width: 0.72em;
  height: 0.72em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.08em solid var(--nx-primary);
  border-radius: 50%;
  color: var(--nx-primary);
  font-size: inherit;
  letter-spacing: 0;
}

/* icon centered exactly inside the ring */
.nx-404__zero i {
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0.3em;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

/* scan line sweeping over the digits */
.nx-404__visual::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--nx-accent),
    transparent
  );
  box-shadow: 0 0 14px var(--nx-accent);
  animation: nx404Scan 3.8s ease-in-out infinite;
}

@keyframes nx404Scan {
  0%   { top: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* soft pulse ring on the zero */
.nx-404__zero::after {
  content: "";
  position: absolute;
  inset: -0.08em;
  border: 2px solid var(--nx-primary);
  border-radius: 50%;
  opacity: 0;
  animation: nx404Ring 3.8s ease-out infinite;
}

@keyframes nx404Ring {
  0%   { opacity: 0.5; scale: 1; }
  60%, 100% { opacity: 0; scale: 1.28; }
}


/* ---------- content ---------- */

.nx-404__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nx-404__eyebrow {
  margin-bottom: 14px;
  color: var(--nx-primary);
  font-family: var(--nx-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

[dir="rtl"] .nx-404__eyebrow {
  letter-spacing: 0;
}

.nx-404__title {
  margin: 0 0 16px;
  color: var(--nx-text);
  font-family: var(--nx-font-heading);
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.nx-404__title span {
  display: block;
  color: var(--nx-primary);
}

.nx-404__text {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--nx-text-muted);
  font-family: var(--nx-font-body);
  line-height: 1.7;
}

.nx-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.nx-404__button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;

  border: 1px solid transparent;
  border-radius: 8px;

  font-family: var(--nx-font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.nx-404__button--primary {
  background: var(--nx-cta-bg);
  color: var(--nx-on-primary);
}

.nx-404__button--primary:hover {
  background: var(--nx-primary);
}

.nx-404__button--secondary {
  background: transparent;
  color: var(--nx-text);
  border-color: var(--nx-border);
}

.nx-404__button--secondary:hover {
  border-color: var(--nx-primary);
  color: var(--nx-primary);
}

.nx-404__button:focus-visible,
.nx-404__link:focus-visible {
  outline: 2px solid var(--nx-primary);
  outline-offset: 3px;
}


/* ---------- helpful links ---------- */

.nx-404__links {
  width: 100%;
  margin-top: 56px;
  padding-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--nx-border);
  text-align: start;
}

.nx-404__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;

  background: var(--nx-surface);
  border: 1px solid var(--nx-border);
  border-radius: 8px;

  color: var(--nx-text);
  text-decoration: none;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.nx-404__link:hover {
  border-color: var(--nx-primary);
  box-shadow: var(--nx-shadow);
}

.nx-404__link-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--nx-primary) 12%, transparent);
  color: var(--nx-primary);
  font-size: 17px;
}

.nx-404__link-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-404__link-text strong {
  font-family: var(--nx-font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.nx-404__link-text small {
  color: var(--nx-text-muted);
  font-family: var(--nx-font-body);
  font-size: 12.5px;
  line-height: 1.4;
}

.nx-404__link-arrow {
  flex: 0 0 auto;
  color: var(--nx-primary);
  font-size: 13px;
  transition: translate 0.25s ease;
}

.nx-404__link:hover .nx-404__link-arrow {
  translate: 4px 0;
}

[dir="rtl"] .nx-404__link:hover .nx-404__link-arrow {
  translate: -4px 0;
}


/* ---------- load-in ---------- */

@keyframes nx404In {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: 0 0; }
}

.nx-404__visual  { animation: nx404In 0.7s ease 0s backwards; }
.nx-404__content { animation: nx404In 0.7s ease 0.12s backwards; }
.nx-404__links   { animation: nx404In 0.7s ease 0.24s backwards; }


/* ---------- responsive ---------- */

@media (max-width: 1023px) {

  .nx-404 {
    padding: 56px 0 60px;
  }

  .nx-404__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 767px) {

  .nx-404 {
    padding: 44px 0 52px;
  }

  .nx-404__container {
    width: calc(100% - 32px);
  }

  .nx-404__links {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .nx-404__actions,
  .nx-404__button {
    width: 100%;
  }

}


/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

  .nx-404__visual,
  .nx-404__content,
  .nx-404__links,
  .nx-404__visual::after,
  .nx-404__zero::after {
    animation: none;
  }

  .nx-404__visual::after,
  .nx-404__zero::after {
    display: none;
  }

}
/* =========================================================
   HOME 1 SCROLL REVEALS
   ========================================================= */

body.nx-home1-aos [data-aos] {
  opacity: 0;
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

body.nx-home1-aos [data-aos].aos-animate,
body.nx-home1-aos [data-aos].nx-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
body.nx-home1-aos [data-aos="fade-up"] {
  transform: translate3d(0, 20px, 0);
}

body.nx-home1-aos [data-aos="fade-down"] {
  transform: translate3d(0, -20px, 0);
}

body.nx-home1-aos [data-aos="fade-left"] {
  transform: translate3d(20px, 0, 0);
}

body.nx-home1-aos [data-aos="fade-right"] {
  transform: translate3d(-20px, 0, 0);
}

body.nx-home1-aos [data-aos].aos-animate,
body.nx-home1-aos [data-aos].nx-revealed {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  body.nx-home1-aos [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   HOME 2 SCROLL REVEALS
   Scoped to the Home 2 page body class added by its local initializer.
   ========================================================= */

body.nx-home2-aos [data-aos] {
  opacity: 0;
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

body.nx-home2-aos [data-aos="fade-up"] {
  transform: translate3d(0, 20px, 0);
}

body.nx-home2-aos [data-aos="fade-down"] {
  transform: translate3d(0, -20px, 0);
}

body.nx-home2-aos [data-aos="fade-left"] {
  transform: translate3d(20px, 0, 0);
}

body.nx-home2-aos [data-aos="fade-right"] {
  transform: translate3d(-20px, 0, 0);
}

body.nx-home2-aos [data-aos].aos-animate,
body.nx-home2-aos [data-aos].nx-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  body.nx-home2-aos [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
