/**
 * Integration layer: ns-lm kit ↔ UMI modern templates
 */
body.ns-skin {
  font-family: var(--ns-font);
  color: var(--ns-ink);
  background: var(--ns-surface);
  margin: 0;
}

body.ns-skin .ns-container,
body.ns-skin .ns-header .container,
body.ns-skin .ns-footer .container,
body.ns-skin.ns-home .container,
body.ns-skin.ns-page .container,
body.ns-skin .ns-home-hero .container,
body.ns-skin .ns-section .container {
  max-width: var(--ns-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Keep existing Drop menu inside clinical header */
body.ns-skin .ns-header .main-menu-container,
body.ns-skin .ns-header .main-menu {
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

/* Top nav stretched across full header width */
body.ns-skin .ns-header .ns-nav {
  width: 100%;
}

body.ns-skin .ns-header .ns-nav__row,
body.ns-skin .ns-header .ns-nav__row > nav,
body.ns-skin .ns-header .ns-main-menu {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body.ns-skin .ns-brand {
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 0;
}

body.ns-skin .ns-brand__logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

body.ns-skin .ns-brand__logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
}

body.ns-skin .ns-brand__tag {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--ns-accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #174e0d;
  white-space: nowrap;
}

body.ns-skin .ns-header .menu.level-1 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.ns-skin .ns-header .menu.level-1 > li {
  flex: 0 0 auto;
}

body.ns-skin .ns-header .menu.level-1 > li.callback_item {
  margin-left: 0;
}

body.ns-skin .ns-header .menu.level-1 > li > a {
  color: var(--ns-ink-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

body.ns-skin .ns-header .menu.level-1 > li.active > a,
body.ns-skin .ns-header .menu.level-1 > li > a:hover {
  color: var(--ns-accent);
}

body.ns-skin .ns-header .callback.button,
body.ns-skin .ns-header a.ns-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--ns-radius-btn-sm);
  background: var(--ns-accent);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

body.ns-skin .ns-header .callback.button:hover {
  background: var(--ns-accent-hover);
}

/* Mobile header bar: logo | phone + hamburger */
body.ns-skin .ns-mobile-bar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 0;
}

body.ns-skin .ns-mobile-bar__phone {
  display: inline-flex;
  align-items: center;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ns-ink-strong);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

body.ns-skin .ns-mobile-bar__toggle {
  flex: 0 0 auto;
  padding: 8px 6px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

body.ns-skin .ns-mobile-bar__toggle:hover {
  opacity: 1;
}

body.ns-skin .ns-mobile-bar__toggle .hamburger-inner,
body.ns-skin .ns-mobile-bar__toggle .hamburger-inner::before,
body.ns-skin .ns-mobile-bar__toggle .hamburger-inner::after {
  background-color: var(--ns-ink-strong);
}

body.ns-skin .ns-mobile-bar__toggle.is-active .hamburger-inner,
body.ns-skin .ns-mobile-bar__toggle.is-active .hamburger-inner::before,
body.ns-skin .ns-mobile-bar__toggle.is-active .hamburger-inner::after {
  background-color: var(--ns-accent);
}

body.ns-skin .ns-mobile-nav-meta {
  display: none;
}

@media (max-width: 768px) {
  body.ns-skin .ns-header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
  }

  body.ns-skin .ns-brand__logo img {
    height: 40px;
    max-width: 150px;
  }

  body.ns-skin .ns-mobile-bar {
    display: inline-flex;
  }

  /* Neutralize legacy absolute mobile-panel if any leftover markup */
  body.ns-skin .ns-header .mobile-panel {
    position: static;
    width: auto;
    left: auto;
    top: auto;
  }

  body.ns-skin .ns-header .ns-nav {
    display: none;
    border-top: 1px solid var(--ns-line);
  }

  body.ns-skin.mobile-menu-open {
    overflow: hidden;
  }

  /* Full-viewport mobile drawer */
  body.ns-skin.mobile-menu-open .ns-header {
    position: fixed;
    inset: 0;
    z-index: 400;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
  }

  body.ns-skin.mobile-menu-open .ns-header > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  body.ns-skin.mobile-menu-open .ns-header-top {
    flex: 0 0 auto;
  }

  /* No logo inside the open drawer — only phone + close */
  body.ns-skin.mobile-menu-open .ns-brand {
    display: none;
  }

  body.ns-skin.mobile-menu-open .ns-header .ns-nav {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  body.ns-skin .ns-header .ns-nav__row,
  body.ns-skin .ns-header .ns-main-menu {
    width: 100%;
  }

  body.ns-skin.mobile-menu-open .ns-header .ns-nav__row {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 8px;
  }

  body.ns-skin .ns-header .menu.level-1 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 0 4px;
  }

  body.ns-skin .ns-header .menu.level-1 > li {
    flex: none;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--ns-line);
  }

  body.ns-skin .ns-header .menu.level-1 > li:last-child {
    border-bottom: 0;
  }

  body.ns-skin .ns-header .menu.level-1 > li > a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ns-ink-strong);
    text-transform: none;
  }

  body.ns-skin .ns-header .menu.level-1 > li.active > a,
  body.ns-skin .ns-header .menu.level-1 > li > a:hover {
    color: var(--ns-accent);
  }

  /* Organized tree: show desktop submenu items inline */
  body.ns-skin .ns-header .submenu.level-2,
  body.ns-skin .ns-header .submenu.level-2.is-hidden,
  body.ns-skin .ns-header .submenu.level-3,
  body.ns-skin .ns-header .submenu.level-3.is-hidden {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    left: auto !important;
    top: auto !important;
    min-width: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 0 0 12px !important;
    list-style: none;
    background: transparent !important;
    border-radius: 0 !important;
    filter: none !important;
    box-shadow: none !important;
    transition: none !important;
  }

  body.ns-skin .ns-header .submenu.level-2 > li > a,
  body.ns-skin .ns-header .submenu.level-3 > li > a {
    display: block;
    padding: 8px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ns-ink-muted);
    text-decoration: none;
  }

  body.ns-skin .ns-header .submenu.level-2 > li.active > a,
  body.ns-skin .ns-header .submenu.level-2 > li > a:hover,
  body.ns-skin .ns-header .submenu.level-3 > li.active > a,
  body.ns-skin .ns-header .submenu.level-3 > li > a:hover {
    color: var(--ns-accent);
  }

  body.ns-skin .ns-header .submenu.level-3 {
    padding-left: 14px !important;
    margin-bottom: 4px !important;
  }

  body.ns-skin .ns-header .menu.level-1 > li.callback_item {
    margin-top: 12px;
    padding-top: 4px;
    border-bottom: 0;
  }

  body.ns-skin .ns-header .menu.level-1 > li.callback_item .callback.button {
    width: 100%;
    min-height: 48px;
  }

  body.ns-skin.mobile-menu-open .ns-mobile-nav-meta {
    display: block;
    flex: 0 0 auto;
    margin-top: auto;
    padding: 16px 4px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ns-line);
    background: var(--ns-panel, #f6f8f3);
  }

  body.ns-skin .ns-mobile-nav-meta__hours {
    margin: 0 0 6px;
    color: var(--ns-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
  }

  body.ns-skin .ns-mobile-nav-meta__address {
    margin: 0 0 10px;
    color: var(--ns-ink-muted);
    font-size: 13px;
    line-height: 1.4;
  }

  body.ns-skin .ns-mobile-nav-meta__phone {
    display: inline-block;
    margin: 0;
    color: var(--ns-ink-strong);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  /* Drop.js portals are desktop-only */
  body.ns-skin .drop-element {
    display: none !important;
  }
}

@media (min-width: 769px) {
  body.ns-skin .ns-mobile-bar,
  body.ns-skin .ns-mobile-nav-meta {
    display: none !important;
  }

  body.ns-skin.mobile-menu-open .ns-header .ns-nav {
    display: block;
  }
}

/* Footer */
.ns-footer {
  background: var(--ns-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
  margin-top: 0;
}

.ns-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.ns-footer a:hover {
  color: var(--ns-accent);
}

.ns-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .ns-footer__grid {
    grid-template-columns: 1fr;
  }
}

.ns-footer__title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

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

.ns-footer .footer-menu li {
  margin: 0 0 8px;
}

.ns-footer__phone {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: inline-block;
  margin: 10px 0;
}

.ns-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 13px;
  opacity: 0.7;
}

.ns-footer .is-brand img {
  max-height: 40px;
  filter: brightness(0) invert(1);
}

/* Home sections */
.ns-home-hero {
  padding: 40px 0 48px;
  background: var(--ns-panel);
}

.ns-home-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .ns-home-hero__inner {
    grid-template-columns: 1fr;
  }
}

.ns-home-hero h1 {
  margin: 0 0 12px;
  color: var(--ns-accent);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}

.ns-home-hero__lead {
  margin: 0 0 24px;
  color: var(--ns-ink);
  font-size: 18px;
  line-height: 1.45;
}

.ns-home-hero__video {
  border-radius: var(--ns-radius-media);
  overflow: hidden;
  box-shadow: var(--ns-shadow);
  background: #000;
}

.ns-home-hero__video video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.ns-section {
  padding: 64px 0;
}

.ns-section--panel {
  background: var(--ns-panel);
}

.ns-section__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--ns-ink-strong);
}

.ns-section__lead {
  margin: 0 0 28px;
  color: var(--ns-ink-muted);
  max-width: 40em;
}

.ns-home .button,
.ns-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--ns-radius-btn);
  background: var(--ns-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

.ns-home .button:hover,
.ns-page .button:hover {
  background: var(--ns-accent-hover);
  color: #fff;
}

/* Service page */
.ns-page .ns-layout-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  margin-top: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ns-page .ns-layout-inner > .ns-sidebar {
  min-width: 0;
}

.ns-page .body-text {
  margin-bottom: 32px;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .ns-page .ns-layout-inner {
    grid-template-columns: 1fr;
  }
}

.ns-price-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #e0ebd6;
  border-radius: 10px;
  padding: 14px 20px;
  margin: 20px 0 28px;
  background: #fff;
}

.ns-price-simple__label {
  color: var(--ns-ink-strong);
  font-size: 17px;
}

.ns-price-simple__value {
  color: var(--ns-accent);
  font-size: 18px;
  white-space: nowrap;
}

.ns-page .ns-cta {
  margin-top: 40px;
}

.ns-page .ns-cta input,
.ns-page .ns-cta select {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: var(--ns-radius-btn-sm);
  padding: 10px 14px;
  box-sizing: border-box;
  font-family: var(--ns-font);
}

.ns-page .ns-cta .button {
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--ns-radius-btn);
  background: #fff;
  color: var(--ns-accent);
  font-weight: 600;
  cursor: pointer;
}

.ns-page .ns-cta .button:hover {
  background: #fff;
  color: var(--ns-accent-hover);
}

.ns-page .ns-cta .agreement,
.ns-page .ns-cta .agreement a {
  color: rgba(255, 255, 255, 0.9);
}

/* Home / page Q&A dialogue */
.ns-qa-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(136, 189, 36, 0.14), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(64, 135, 69, 0.1), transparent 46%),
    linear-gradient(180deg, #f7fbf3 0%, #ffffff 58%);
}

.ns-qa-section__head {
  max-width: 40em;
  margin-bottom: 28px;
}

.ns-qa-section__head .ns-section__lead {
  margin-bottom: 0;
}

.ns-qa {
  margin: 0 auto;
}

.ns-qa__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Homepage accordion */
.ns-qa--accordion .ns-qa__item {
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius-card);
  background: var(--ns-surface);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ns-qa--accordion .ns-qa__item:hover {
  border-color: rgba(136, 189, 36, 0.45);
}

.ns-qa--accordion .ns-qa__item.is-open {
  border-color: rgba(136, 189, 36, 0.65);
  box-shadow: 0 10px 28px rgba(64, 135, 69, 0.1);
}

.ns-qa__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 16px 18px;
  margin: 0;
  border: 0;
  background: var(--ns-surface);
  color: var(--ns-ink-strong);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.ns-qa__q-text {
  display: block;
  flex: 1;
  min-width: 0;
}

.ns-qa__q-text > *:first-child {
  margin-top: 0;
}

.ns-qa__q-text > *:last-child {
  margin-bottom: 0;
}

.ns-qa__q-text p {
  margin: 0;
}

.ns-qa__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ns-accent);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background-color 0.2s ease, transform 0.25s ease;
}

.ns-qa__icon::before,
.ns-qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ns-accent);
  transform: translate(-50%, -50%);
}

.ns-qa__icon::after {
  width: 2px;
  height: 12px;
}

.ns-qa__item.is-open .ns-qa__icon {
  background: var(--ns-accent);
  transform: rotate(180deg);
}

.ns-qa__item.is-open .ns-qa__icon::before,
.ns-qa__item.is-open .ns-qa__icon::after {
  background: #fff;
}

.ns-qa__item.is-open .ns-qa__icon::after {
  opacity: 0;
}

.ns-qa--accordion .ns-qa__answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--ns-ink-muted);
  line-height: 1.55;
}

.ns-qa--accordion .ns-qa__item.is-open .ns-qa__answer {
  display: block;
}

.ns-qa--accordion .ns-qa__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.ns-qa--accordion .ns-qa__reply > *:first-child {
  margin-top: 0;
}

.ns-qa--accordion .ns-qa__reply > *:last-child {
  margin-bottom: 0;
}

.ns-qa__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ns-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ns-qa__date {
  color: var(--ns-ink-faint);
  font-size: var(--ns-fs-sm);
}

.ns-qa__name {
  color: var(--ns-ink-strong);
  font-size: var(--ns-fs-sm);
}

.ns-qa__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* Full Q&A page — chat cards */
.ns-qa--page .ns-qa__list {
  gap: 28px;
}

.ns-qa__thread {
  position: relative;
  padding: 24px;
  border-radius: var(--ns-radius-panel);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(136, 189, 36, 0.22);
  box-shadow: 0 12px 36px rgba(17, 17, 19, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

.ns-qa__thread::before {
  content: "?";
  position: absolute;
  right: 18px;
  top: -12px;
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: rgba(136, 189, 36, 0.08);
  pointer-events: none;
}

.ns-qa--page .ns-qa__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.ns-qa__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.ns-qa__row + .ns-qa__row {
  margin-top: 14px;
}

.ns-qa__row--reply {
  justify-content: flex-end;
}

.ns-qa__avatar {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-panel-strong);
  color: var(--ns-ink-strong);
  font-weight: 700;
  font-size: 18px;
}

.ns-qa__avatar--clinic {
  background: var(--ns-accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.ns-qa__bubble {
  max-width: min(100%, 620px);
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.55;
  position: relative;
}

.ns-qa__bubble > *:first-child {
  margin-top: 0;
}

.ns-qa__bubble > *:last-child {
  margin-bottom: 0;
}

.ns-qa__bubble--ask {
  background: var(--ns-panel);
  color: var(--ns-ink-strong);
  border: 1px solid var(--ns-line);
  border-bottom-left-radius: 6px;
}

.ns-qa__bubble--reply {
  background: var(--ns-accent-soft);
  color: var(--ns-ink-strong);
  border-bottom-right-radius: 6px;
  border-left: 3px solid var(--ns-accent);
}

.ns-qa__reply-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ns-accent-deep);
}

.ns-qa--page .ns-qa__thread {
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .ns-qa__question {
    padding: 14px 16px;
    font-size: 15px;
  }

  .ns-qa--accordion .ns-qa__answer {
    padding: 0 16px 16px;
  }

  .ns-qa__thread {
    padding: 18px 16px;
  }

  .ns-qa__avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 16px;
  }

  .ns-qa__avatar--clinic {
    font-size: 11px;
  }

  .ns-qa__bubble {
    padding: 14px 14px;
  }

  .ns-qa__actions {
    flex-direction: column;
  }

  .ns-qa__actions .ns-button {
    width: 100%;
  }
}

/* Home articles — creative image cards */
.ns-articles-section .ns-section__lead {
  margin-bottom: 28px;
}

.ns-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.ns-article-card {
  position: relative;
  min-width: 0;
  background: var(--ns-surface);
  border-radius: var(--ns-radius-card);
  border: 1px solid var(--ns-line);
  box-shadow: var(--ns-shadow);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ns-article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ns-accent) 0%, var(--ns-accent-deep) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.28s ease;
  z-index: 2;
}

.ns-article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(136, 189, 36, 0.35);
  box-shadow: 0 16px 36px rgba(23, 78, 13, 0.12);
}

.ns-article-card:hover::before {
  transform: scaleY(1);
}

.ns-article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ns-article-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(136, 189, 36, 0.28), transparent 55%),
    linear-gradient(135deg, #e8f5dc 0%, #f3f3f3 55%, #d9f2d2 100%);
}

.ns-article-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(17, 17, 19, 0.45) 100%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.28s ease;
}

.ns-article-card:hover .ns-article-card__media::after {
  opacity: 1;
}

.ns-article-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ns-article-card:hover .ns-article-card__media img {
  transform: scale(1.06);
}

.ns-article-card__date {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(27, 36, 48, 0.72);
  backdrop-filter: blur(4px);
}

.ns-article-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 20px 18px 22px;
}

.ns-article-card__readtime {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ns-ink-muted);
}

.ns-article-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ns-ink-strong);
  transition: color 0.2s ease;
}

.ns-article-card:hover .ns-article-card__title {
  color: var(--ns-accent-deep);
}

.ns-article-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ns-accent);
}

.ns-article-card__more::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateX(0);
  transition: transform 0.25s ease;
}

.ns-article-card:hover .ns-article-card__more::after {
  transform: rotate(45deg) translateX(3px);
}

.ns-articles--page {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
  margin-bottom: 32px;
}

.ns-article-view__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: var(--ns-fs-sm);
  color: var(--ns-ink-muted);
  line-height: 1.45;
}

.ns-article-view__date {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 600;
  color: var(--ns-ink-strong);
}

.ns-article-view__readtime {
  flex: 1 1 220px;
}

.ns-article-view__readtime a {
  color: var(--ns-accent);
  text-decoration: none;
  white-space: nowrap;
}

.ns-article-view__readtime a:hover {
  text-decoration: underline;
}

.ns-page .pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 24px;
}

.ns-page .pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--ns-radius-btn-sm);
  border: 1px solid var(--ns-line);
  background: var(--ns-surface);
  color: var(--ns-ink-strong);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ns-page .pager a:hover,
.ns-page .pager a.is-active {
  background: var(--ns-accent);
  border-color: var(--ns-accent);
  color: #fff;
}

@media (max-width: 900px) {
  .ns-articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .ns-articles,
  .ns-articles--page {
    grid-template-columns: 1fr;
  }
}

/* Sidebar secondary menu (production green panel) */
body.ns-skin .ns-sidebar {
  min-width: 0;
}

body.ns-skin .secondary-menu {
  background:
    linear-gradient(160deg, rgba(136, 189, 36, 0.16), transparent 42%),
    linear-gradient(180deg, #1b5c10 0%, #174e0d 48%, #123c09 100%);
  margin: 0 0 24px;
  padding: 10px;
  border-radius: var(--ns-radius-media);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 28px rgba(23, 78, 13, 0.22);
}

body.ns-skin .secondary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.ns-skin .secondary-menu li {
  padding: 0;
  margin: 0;
  background: transparent;
  transition: none;
}

body.ns-skin .secondary-menu li a {
  display: block;
  padding: 11px 14px 11px 16px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: var(--ns-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

body.ns-skin .secondary-menu li:hover a,
body.ns-skin .secondary-menu li.active a {
  background-color: var(--ns-accent);
  color: #174e0d;
  border-left-color: #fff;
}

body.ns-skin .secondary-menu li.active a {
  font-weight: 700;
}

body.ns-skin .secondary-menu li:hover a {
  transform: translateX(2px);
}

body.ns-skin .secondary-menu li.active:hover a {
  transform: none;
}

body.ns-skin .secondary-menu li a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Soften legacy waves on ns-skin pages */
body.ns-skin .wave,
body.ns-skin .wave--bottom {
  display: none;
}

body.ns-skin .hero,
body.ns-skin .hero-inner {
  background: transparent;
  min-height: 0;
  padding: 0;
}

/* Reviews page cards */
.ns-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 8px 0 28px;
}

.ns-review-card {
  position: relative;
  padding: 22px 24px 24px;
  border-radius: var(--ns-radius-panel);
  background: var(--ns-surface);
  border: 1px solid rgba(136, 189, 36, 0.22);
  box-shadow: 0 10px 28px rgba(17, 17, 19, 0.05);
  overflow: hidden;
}

.ns-review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ns-accent) 0%, var(--ns-accent-deep) 100%);
}

.ns-review-card::after {
  content: "“";
  position: absolute;
  right: 18px;
  top: -6px;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: rgba(136, 189, 36, 0.1);
  pointer-events: none;
}

.ns-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.ns-review-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-accent-soft);
  color: var(--ns-accent-deep);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.ns-review-card__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.ns-review-card__name {
  color: var(--ns-ink-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.ns-review-card__date {
  color: var(--ns-ink-faint);
  font-size: var(--ns-fs-sm);
}

.ns-review-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ns-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: auto;
}

.ns-review-card__text {
  position: relative;
  z-index: 1;
  color: var(--ns-ink-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ns-review-card__text > *:first-child {
  margin-top: 0;
}

.ns-review-card__text > *:last-child {
  margin-bottom: 0;
}

.ns-review-card__text p {
  margin: 0 0 0.55em;
}

@media (max-width: 640px) {
  .ns-review-card {
    padding: 18px 16px 20px;
  }

  .ns-review-card__badge {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .ns-review-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Works page — same cards as home, stacked in a column */
.ns-page .ns-layout-inner > .body-text {
  min-width: 0;
  max-width: 100%;
}

.ns-page .works-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 8px 0 32px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ns-page .works-list .works-card,
.ns-page .works-card--page {
  flex: none;
  width: 100%;
  max-width: 596px;
  min-width: 0;
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid rgba(136, 189, 36, 0.22);
  border-radius: var(--ns-radius-panel);
  background: var(--ns-surface);
  box-shadow: 0 10px 28px rgba(17, 17, 19, 0.05);
}

.ns-page .works-card--page .works-card__body {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.ns-page .works-card--page .works-card__title {
  color: var(--ns-ink-strong);
  font-size: 1.15rem;
  min-height: 0;
  -webkit-line-clamp: unset;
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: left;
}

.ns-page .works-card--page .works-card__meta {
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.ns-page .works-card--page .works-card__row {
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ns-page .works-card--page .works-card__label {
  color: var(--ns-ink-faint);
}

.ns-page .works-card--page .works-card__value {
  color: var(--ns-ink-strong);
  text-align: left;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ns-page .works-card--page .works-card__row--comment {
  width: 100%;
}

.ns-page .works-card--page .works-card__row--comment .works-card__value {
  color: var(--ns-ink-muted);
}

.ns-page .works-card--page .ba-slider {
  width: 100%;
  max-width: 560px;
  margin: 0;
  background: #101820;
  box-sizing: border-box;
}

.ns-page .works-card--page .ba-slider__after img,
.ns-page .works-card--page .ba-slider__before img {
  max-width: none;
}

@media (max-width: 640px) {
  .ns-page .works-list {
    gap: 20px;
  }

  .ns-page .works-list .works-card,
  .ns-page .works-card--page {
    max-width: 100%;
    padding: 14px;
  }

  .ns-page .works-card--page .works-card__title {
    font-size: 1.05rem;
  }
}

/* For-doctors document cards — single column */
.ns-doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 28px;
}

.ns-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--ns-radius-card);
  background: var(--ns-surface);
  border: 1px solid rgba(136, 189, 36, 0.22);
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.05);
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.ns-doc-card:hover {
  border-color: rgba(136, 189, 36, 0.45);
  box-shadow: 0 12px 28px rgba(17, 17, 19, 0.08);
  transform: translateY(-1px);
  background: #fcfffa;
  text-decoration: none;
}

.ns-doc-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-accent-soft);
  color: var(--ns-accent-deep);
}

.ns-doc-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.ns-doc-card__title {
  color: var(--ns-ink-strong);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.ns-doc-card__hint {
  color: var(--ns-ink-faint);
  font-size: var(--ns-fs-sm);
}

.ns-doc-card__arrow {
  flex-shrink: 0;
  color: var(--ns-accent);
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.ns-doc-card:hover .ns-doc-card__arrow {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .ns-doc-card {
    padding: 16px;
    gap: 12px;
  }

  .ns-doc-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .ns-doc-card__title {
    font-size: 15px;
  }
}

/* Service page: related services slider */
.ns-page .ns-related-services {
  padding-top: 56px;
  padding-bottom: 56px;
}

.ns-related-services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.ns-related-services__titles {
  max-width: 40em;
}

.ns-related-services__titles .ns-section__title {
  margin-bottom: 8px;
}

.ns-related-services__titles .ns-section__lead {
  margin: 0;
}

.ns-related-services__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ns-related-services__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ns-ink-strong);
  background: #fff;
  border: 1px solid #d7e4cb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.ns-related-services__arrow:hover {
  border-color: var(--ns-accent);
  background: #f4f9ee;
}

.ns-related-services__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ns-related-services__viewport {
  overflow: hidden;
}

.ns-related-services__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 0.35s ease;
  will-change: transform;
}

.ns-related-services__card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  box-sizing: border-box;
}

.ns-related-services__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--ns-ink-strong);
  background: #fff;
  border: 1px solid #e0ebd6;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ns-related-services__link:hover {
  border-color: var(--ns-accent);
  box-shadow: 0 10px 28px rgba(64, 135, 69, 0.1);
  transform: translateY(-2px);
  color: var(--ns-ink-strong);
}

.ns-related-services__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}

.ns-related-services__icon img {
  display: block;
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ns-related-services__icon-fallback {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(136, 189, 36, 0.45), transparent 55%),
    linear-gradient(145deg, #e7f1db, #cfe0bc);
}

.ns-related-services__name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.ns-related-services__more {
  margin-top: 28px;
  text-align: center;
}

.ns-page .ns-cta--accent {
  margin: 40px 0 56px;
}

/* About custom pages: technologies / safety / partners */
.body-text--about-custom > h1 {
  display: none;
}

.ns-about-page__intro {
  margin-bottom: 36px;
}

.ns-about-page__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ns-ink-strong);
}

.ns-about-page__lead {
  margin: 0;
  max-width: 42em;
  color: var(--ns-ink-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.ns-equip-list {
  display: grid;
  gap: 28px;
}

.ns-equip {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(217, 242, 210, 0.35), transparent 42%),
    var(--ns-panel);
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius-panel);
}

.ns-equip--reverse {
  grid-template-columns: 1fr minmax(200px, 280px);
}

.ns-equip--reverse .ns-equip__media {
  order: 2;
}

.ns-equip--reverse .ns-equip__body {
  order: 1;
}

.ns-equip__media {
  margin: 0;
  border-radius: var(--ns-radius-media);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ns-shadow);
}

.ns-equip__media a {
  display: block;
}

.ns-equip__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ns-equip__title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ns-ink-strong);
  line-height: 1.3;
}

.ns-equip__meta {
  margin: 0 0 14px;
  color: var(--ns-accent-deep);
  font-size: var(--ns-fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ns-equip__text {
  margin: 0 0 12px;
  color: var(--ns-ink);
  line-height: 1.55;
}

.ns-equip__text:last-child {
  margin-bottom: 0;
}

.ns-about-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.ns-about-extra {
  padding: 22px 20px;
  border-radius: var(--ns-radius-card);
  border: 1px solid var(--ns-line);
  background: #fff;
}

.ns-about-extra__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ns-ink-strong);
}

.ns-about-extra__meta {
  margin: 0 0 10px;
  color: var(--ns-accent-deep);
  font-size: var(--ns-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.ns-about-extra__text {
  margin: 0;
  color: var(--ns-ink-muted);
  font-size: var(--ns-fs-sm);
  line-height: 1.5;
}

.ns-safety-stage {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 32px;
}

.ns-safety-stage__media {
  margin: 0;
  position: sticky;
  top: 24px;
}

.ns-safety-stage__media a {
  display: block;
  border-radius: var(--ns-radius-media);
  overflow: hidden;
  box-shadow: var(--ns-shadow);
  background: #fff;
}

.ns-safety-stage__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ns-safety-stage__media figcaption {
  margin-top: 10px;
  color: var(--ns-ink-faint);
  font-size: var(--ns-fs-sm);
}

.ns-safety-stage__points {
  display: grid;
  gap: 18px;
}

.ns-safety-point {
  padding: 22px 22px 22px 20px;
  border-left: 3px solid var(--ns-accent);
  background: var(--ns-panel);
  border-radius: 0 var(--ns-radius-card) var(--ns-radius-card) 0;
}

.ns-safety-point__num {
  margin-bottom: 8px;
  color: var(--ns-accent-deep);
  font-size: var(--ns-fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ns-safety-point__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ns-ink-strong);
  line-height: 1.3;
}

.ns-safety-point__text {
  margin: 0 0 12px;
  color: var(--ns-ink);
  line-height: 1.55;
}

.ns-safety-point__text:last-child {
  margin-bottom: 0;
}

.ns-safety-point__note {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius-btn-sm);
  color: var(--ns-ink);
  line-height: 1.5;
  font-size: var(--ns-fs-sm);
}

.ns-safety-guarantee {
  padding: 28px 28px 32px;
  border-radius: var(--ns-radius-panel);
  background:
    linear-gradient(135deg, rgba(136, 189, 36, 0.16), transparent 55%),
    var(--ns-dark);
  color: #fff;
}

.ns-safety-guarantee__text {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 40em;
}

.ns-safety-guarantee__tagline {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
}

.ns-safety-guarantee .ns-button {
  background: #fff;
  color: var(--ns-accent-deep);
}

.ns-safety-guarantee .ns-button:hover {
  background: var(--ns-accent-soft);
  color: var(--ns-accent-deep);
}

.ns-partners-list {
  display: grid;
  gap: 14px;
}

.ns-partner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: var(--ns-radius-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ns-partner:hover {
  border-color: rgba(136, 189, 36, 0.45);
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.06);
}

.ns-partner__logo {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 10px;
  background: var(--ns-panel);
  border-radius: var(--ns-radius-media);
}

.ns-partner__logo img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ns-partner__logo--text span {
  display: block;
  text-align: center;
  font-weight: 700;
  color: var(--ns-accent-deep);
  line-height: 1.25;
}

.ns-partner__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ns-ink-strong);
}

.ns-partner__text {
  margin: 0;
  color: var(--ns-ink-muted);
  font-size: var(--ns-fs-sm);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ns-equip,
  .ns-equip--reverse {
    grid-template-columns: 1fr;
  }

  .ns-equip--reverse .ns-equip__media,
  .ns-equip--reverse .ns-equip__body {
    order: initial;
  }

  .ns-about-extras {
    grid-template-columns: 1fr;
  }

  .ns-safety-stage {
    grid-template-columns: 1fr;
  }

  .ns-safety-stage__media {
    position: static;
  }

  .ns-partner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ns-partner__logo {
    min-height: 72px;
  }
}

@media (max-width: 1024px) {
  .ns-related-services__card {
    flex-basis: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .ns-related-services__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ns-related-services__card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* Staff photo circles — keep square + 70% on mobile (kube forces is-70 → 100%) */
.rounded {
  aspect-ratio: 1 / 1;
  max-width: 100%;
  box-sizing: border-box;
}

.rounded > a,
.rounded img {
  display: block;
  width: 100%;
  height: 100%;
}

.rounded img {
  object-fit: cover;
}

@media (max-width: 768px) {
  .rounded.is-70 {
    width: 70%;
    min-width: 0;
    max-width: 300px;
  }
}
