/*
Theme Name: Next Step - Child
Version: 1
Description: A child theme of DMM by Almina
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

/* general */

:root {
    --ns-maroon: #7B2040;
    --ns-maroon-dk: #4A1228;
    --ns-gold: #C9A96E;
    --ns-gold-dk: #8F7340;
    --ns-ink: #2D2926;
    --ns-muted: #5A5651;
    --ns-line: #E8E4E0;
    --ns-sand: #F6F3EF;
    --ns-white: #fff;
    --ns-radius: 14px;
}

html {
    scroll-behavior: smooth;
}

body.nextstep {
    font-family: "Libre Franklin", sans-serif;
    font-size: 16px;
    color: var(--ns-ink);
    background: var(--ns-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

body.nextstep a {
    color: var(--ns-maroon);
    text-decoration: none;
}

body.nextstep a:hover {
    color: var(--ns-maroon-dk);
}

body.nextstep img {
    max-width: 100%;
}

body.nextstep h1,
body.nextstep h2,
body.nextstep h3,
body.nextstep h4,
body.nextstep h5 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.15;
    letter-spacing: -.01em;
    text-transform: none;
}

body.nextstep p {
    text-wrap: pretty;
}

#page.ns-home {
    padding: 0;
    max-width: none;
}

#site-header.ns-header {
    position: relative;
    z-index: 100;
}

.nextstep .ns-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

.nextstep .ns-section {
    padding: 96px 0;
}

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

.nextstep .ns-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.nextstep .ns-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ns-maroon);
    margin-bottom: 12px;
}

.nextstep .ns-head h2,
.nextstep .ns-split h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    color: var(--ns-ink);
    margin: 0 0 16px;
}

.nextstep .ns-head p {
    color: var(--ns-muted);
    font-size: 17px;
    margin: 0;
}

/* buttons */

.nextstep .ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font: 700 14px/1.2 "Libre Franklin", sans-serif;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: .2s;
    text-decoration: none;
    white-space: nowrap;
}

.nextstep .ns-btn-maroon {
    background: var(--ns-maroon);
    color: var(--ns-white);
}

.nextstep .ns-btn-maroon:hover {
    background: var(--ns-maroon-dk);
    color: var(--ns-white);
}

.nextstep .ns-btn-white {
    background: var(--ns-white);
    color: var(--ns-maroon);
}

.nextstep .ns-btn-white:hover {
    background: var(--ns-sand);
    color: var(--ns-maroon);
}

.nextstep .ns-btn-line {
    border-color: rgba(255, 255, 255, .5);
    color: var(--ns-white);
    background: transparent;
}

.nextstep .ns-btn-line:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--ns-white);
}

.nextstep .ns-btn-outline {
    border-color: var(--ns-maroon);
    color: var(--ns-maroon);
}

.nextstep .ns-btn-outline:hover {
    background: var(--ns-maroon);
    color: var(--ns-white);
}

.nextstep .ns-btn-soft {
    background: rgba(123, 32, 64, .08);
    color: var(--ns-maroon);
    padding: 10px 18px;
    font-size: 13px;
}

.nextstep .ns-btn-soft:hover {
    background: rgba(123, 32, 64, .14);
}

.nextstep .ns-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--ns-maroon);
}

.nextstep .ns-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nextstep .ns-more {
    text-align: center;
    margin-top: 40px;
}

.nextstep .ns-stars {
    color: var(--ns-gold);
    letter-spacing: 2px;
}

/* top bar */

.nextstep .ns-topbar {
    background: var(--ns-maroon-dk);
    color: var(--ns-white);
    font-size: 13px;
    font-weight: 500;
}

.nextstep .ns-topbar .ns-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    gap: 16px;
}

.nextstep .ns-topbar a {
    color: var(--ns-white);
}

.nextstep .ns-topbar-left,
.nextstep .ns-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nextstep .ns-emergency {
    position: relative;
}

.nextstep .ns-emergency > a {
    background: var(--ns-gold);
    color: var(--ns-ink);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
}

.nextstep .ns-tip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 400px;
    background: var(--ns-white);
    color: var(--ns-muted);
    padding: 22px;
    border-radius: var(--ns-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
    font-size: 13px;
    line-height: 1.65;
    z-index: 200;
}

.nextstep .ns-tip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nextstep .ns-tip strong {
    display: block;
    color: var(--ns-maroon);
    font-size: 15px;
    margin-bottom: 8px;
}

.nextstep .ns-tip p {
    margin: 0;
}

.nextstep .ns-tip p + p {
    margin-top: 10px;
}

.nextstep .ns-emergency:hover .ns-tip {
    display: block;
}

/* nav */

.nextstep .ns-nav {
    background: var(--ns-white);
    border-bottom: 1px solid var(--ns-line);
}

.nextstep .ns-nav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 8px 30px rgba(45, 41, 38, .08);
}

.admin-bar.nextstep .ns-nav.is-fixed {
    top: 32px;
}

.nextstep .ns-nav .ns-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 24px;
}

.nextstep .ns-logo img {
    display: block;
    height: 46px !important;
    width: auto;
    max-width: none;
}

.nextstep .ns-menu {
    margin-left: auto;
}

.nextstep .ns-nav-list,
.nextstep .ns-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nextstep .ns-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nextstep .ns-nav-list > li {
    position: relative;
    margin: 0;
}

.nextstep .ns-nav-list > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ns-ink);
    border-radius: 8px;
}

.nextstep .ns-nav-list .menu-item-has-children > a:after,
.nextstep .ns-mobile-nav .menu-item-has-children > a:after {
    content: none;
}

.nextstep .ns-nav-list > li > a:hover,
.nextstep .ns-nav-list > li.current-menu-item > a {
    background: var(--ns-sand);
    color: var(--ns-maroon);
}

.nextstep .ns-nav-list > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--ns-white);
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
    padding: 10px;
    z-index: 150;
}

.nextstep .ns-nav-list > li:hover > .sub-menu {
    display: block;
}

.nextstep .ns-nav-list .sub-menu li {
    margin: 0;
    float: none;
}

.nextstep .ns-nav-list .sub-menu a {
    display: block;
    padding: 9px 14px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ns-ink);
    border-radius: 8px;
}

.nextstep .ns-nav-list .sub-menu a:hover {
    background: var(--ns-sand);
    color: var(--ns-maroon);
}

/* third level shows inline, like the design's regenerative list */
.nextstep .ns-nav-list .sub-menu .sub-menu {
    display: block;
    position: static;
    margin: 2px 0 6px 14px;
    padding-left: 10px;
    border-left: 2px solid var(--ns-gold);
}

.nextstep .ns-nav-list .sub-menu .sub-menu a {
    font-size: 13px;
    padding: 6px 12px;
    color: var(--ns-muted);
}

.nextstep .ns-nav-list .ns-divider {
    border-top: 1px solid var(--ns-line);
    margin-top: 6px;
    padding-top: 6px;
}

.nextstep .ns-nav-list .ns-accent > a,
.nextstep .ns-mobile-nav .ns-accent > a {
    color: var(--ns-maroon);
    font-weight: 700;
}

.nextstep .ns-nav-list .ns-soon > a,
.nextstep .ns-mobile-nav .ns-soon > a {
    color: var(--ns-gold-dk);
}

.nextstep .ns-nav-cta {
    display: flex;
    gap: 8px;
}

.nextstep .ns-nav-cta .ns-btn {
    padding: 11px 20px;
}

.nextstep .ns-menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--ns-maroon);
    cursor: pointer;
    padding: 6px;
}

/* mobile menu */

.nextstep .ns-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 38, .5);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 998;
}

.nextstep .ns-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 88vw;
    background: var(--ns-white);
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 999;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ns-menu-open .ns-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.ns-menu-open .ns-mobile-menu {
    transform: none;
}

.nextstep .ns-mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--ns-line);
}

.nextstep .ns-mobile-menu-logo {
    height: 38px !important;
    width: auto;
}

.nextstep .ns-menu-close {
    background: none;
    border: 0;
    font-size: 22px;
    color: var(--ns-maroon);
    cursor: pointer;
}

.nextstep .ns-mobile-nav,
.nextstep .ns-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nextstep .ns-mobile-nav {
    padding: 10px 0;
    flex: 1;
}

.nextstep .ns-mobile-nav li {
    position: relative;
    margin: 0;
}

.nextstep .ns-mobile-nav a {
    display: block;
    padding: 12px 56px 12px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ns-ink);
}

.nextstep .ns-mobile-nav ul {
    display: none;
    background: var(--ns-sand);
}

.nextstep .ns-mobile-nav ul a {
    font-weight: 500;
    font-size: 14px;
    padding-left: 32px;
}

.nextstep .ns-mobile-nav ul ul a {
    padding-left: 44px;
    color: var(--ns-muted);
}

.nextstep .ns-sub-toggle {
    position: absolute;
    top: 4px;
    right: 10px;
    width: 38px;
    height: 38px;
    background: none;
    border: 0;
    color: var(--ns-maroon);
    cursor: pointer;
}

.nextstep .ns-sub-toggle.open i {
    transform: rotate(45deg);
}

.nextstep .ns-mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid var(--ns-line);
}

/* hero */

.nextstep .ns-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ns-maroon-dk);
    color: var(--ns-white);
}

.nextstep .ns-hero video,
.nextstep .ns-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

/* parent forces height:auto!important on img/video */
.nextstep .ns-hero video {
    height: 100% !important;
    max-width: none;
}

.nextstep .ns-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(60, 12, 32, .92) 0%, rgba(92, 24, 48, .7) 55%, rgba(92, 24, 48, .35) 100%);
}

.nextstep .ns-hero .ns-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 40px;
}

body.nextstep .ns-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    font-style: italic;
    color: var(--ns-white);
    margin: 0 0 22px;
    max-width: 760px;
}

.nextstep .ns-hero h1 span {
    display: block;
    color: var(--ns-gold);
}

.nextstep .ns-hero p {
    font-size: clamp(18px, 1.8vw, 22px);
    opacity: .92;
    max-width: 560px;
    margin: 0 0 36px;
    color: var(--ns-white);
}

.nextstep .ns-sound {
    position: absolute;
    right: 32px;
    bottom: 96px;
    z-index: 1;
    background: rgba(255, 255, 255, .14);
    color: var(--ns-white);
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
    padding: 10px 18px;
    font-size: 12px;
}

/* stats */

.nextstep .ns-stats {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}

.nextstep .ns-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--ns-white);
    border-radius: var(--ns-radius);
    box-shadow: 0 20px 60px rgba(45, 41, 38, .12);
}

.nextstep .ns-stat {
    padding: 32px 24px;
    text-align: center;
}

.nextstep .ns-stat + .ns-stat {
    border-left: 1px solid var(--ns-line);
}

.nextstep .ns-stat b {
    display: block;
    font: 800 40px/1 "Montserrat", sans-serif;
    color: var(--ns-maroon);
    margin-bottom: 8px;
}

.nextstep .ns-stat span {
    font-size: 14px;
    color: var(--ns-muted);
    font-weight: 500;
}

/* help cards */

.nextstep .ns-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nextstep .ns-help {
    display: flex;
    flex-direction: column;
    background: var(--ns-white);
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    padding: 28px;
    transition: .2s;
    color: var(--ns-ink);
}

.nextstep .ns-help:hover {
    border-color: var(--ns-maroon);
    box-shadow: 0 16px 40px rgba(123, 32, 64, .12);
    transform: translateY(-3px);
}

body.nextstep .ns-help h3 {
    font-size: 19px;
    color: var(--ns-maroon);
    margin: 0 0 10px;
}

.nextstep .ns-help p {
    color: var(--ns-muted);
    font-size: 15px;
    flex: 1;
    margin: 0 0 20px;
}

.nextstep .ns-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nextstep .ns-help-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: var(--ns-maroon);
    border-color: var(--ns-maroon);
    color: var(--ns-white);
    padding: 36px 40px;
}

body.nextstep .ns-help-wide h3 {
    color: var(--ns-gold);
    font-size: 24px;
    margin: 0;
    flex: 0 0 280px;
}

.nextstep .ns-help-wide p {
    color: rgba(255, 255, 255, .88);
    margin: 0;
}

.nextstep .ns-help-wide .ns-btn {
    flex-shrink: 0;
}

/* specialties */

.nextstep .ns-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nextstep .ns-spec {
    background: var(--ns-white);
    border-radius: var(--ns-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 0 var(--ns-line);
    color: var(--ns-ink);
    transition: .2s;
}

.nextstep .ns-spec:hover {
    box-shadow: 0 16px 40px rgba(123, 32, 64, .12);
    transform: translateY(-3px);
    color: var(--ns-ink);
}

.nextstep .ns-spec-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--ns-line);
}

.nextstep .ns-spec-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.nextstep .ns-spec h3 {
    font-size: 21px;
    color: var(--ns-ink);
    margin: 0 0 10px;
}

.nextstep .ns-spec p {
    color: var(--ns-muted);
    font-size: 15px;
    flex: 1;
    margin: 0 0 18px;
}

.nextstep .ns-pill {
    align-self: flex-start;
    background: rgba(201, 169, 110, .2);
    color: var(--ns-gold-dk);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}

/* team */

.nextstep .ns-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nextstep .ns-doc {
    display: block;
    text-align: center;
    color: var(--ns-ink);
}

.nextstep .ns-doc-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--ns-radius);
    margin-bottom: 18px;
    transition: .2s;
}

.nextstep .ns-doc:hover .ns-doc-photo {
    box-shadow: 0 16px 40px rgba(123, 32, 64, .16);
    transform: translateY(-3px);
}

body.nextstep .ns-doc h3 {
    font-size: 17px;
    color: var(--ns-ink);
    margin: 0 0 6px;
}

.nextstep .ns-doc p {
    font-size: 14px;
    color: var(--ns-maroon);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.nextstep .ns-doc small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #8A8580;
    letter-spacing: .04em;
}

/* reviews */

.nextstep .ns-rating {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ns-muted);
}

.nextstep .ns-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nextstep .ns-review {
    background: var(--ns-white);
    border-radius: var(--ns-radius);
    padding: 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.nextstep .ns-review blockquote {
    font-size: 17px;
    line-height: 1.6;
    margin: 14px 0 20px;
    padding: 0;
    border: 0;
    flex: 1;
    font-style: normal;
    color: var(--ns-ink);
    background: none;
}

.nextstep .ns-review blockquote::before,
.nextstep .ns-review blockquote::after {
    display: none;
}

.nextstep .ns-review cite {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: var(--ns-maroon);
}

/* second opinion */

.nextstep .ns-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

.nextstep .ns-text {
    color: var(--ns-muted);
    font-size: 17px;
    margin-bottom: 28px;
}

.nextstep .ns-text p {
    margin: 0 0 12px;
}

.nextstep .ns-split-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--ns-radius);
}

/* locations */

.nextstep .ns-loc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.nextstep .ns-loc {
    border: 1px solid var(--ns-line);
    border-radius: var(--ns-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--ns-white);
}

.nextstep .ns-loc-map {
    height: 160px;
    background: var(--ns-line);
}

.nextstep .ns-loc-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.nextstep .ns-loc-soon-map {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ns-maroon-dk), var(--ns-maroon));
}

.nextstep .ns-loc-soon-map span {
    font: 800 italic 22px "Montserrat", sans-serif;
    color: var(--ns-gold);
}

.nextstep .ns-loc-body {
    padding: 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.nextstep .ns-loc h3 {
    font-size: 20px;
    color: var(--ns-ink);
    margin: 0 0 10px;
}

.nextstep .ns-loc address {
    font-style: normal;
    color: var(--ns-muted);
    font-size: 15px;
    flex: 1;
}

.nextstep .ns-phone {
    display: block;
    margin-top: 8px;
    font-weight: 700;
}

.nextstep .ns-loc .ns-actions {
    margin-top: 20px;
    gap: 8px;
}

.nextstep .ns-loc-soon {
    border: 2px solid var(--ns-gold);
}

.nextstep .ns-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ns-gold-dk);
    margin-bottom: 6px;
}

/* cta */

.nextstep .ns-cta {
    background: var(--ns-maroon);
    color: var(--ns-white);
    text-align: center;
    padding: 96px 0;
}

body.nextstep .ns-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-style: italic;
    color: var(--ns-white);
    margin: 0 0 16px;
}

.nextstep .ns-cta p {
    max-width: 560px;
    margin: 0 auto 32px;
    opacity: .88;
    font-size: 17px;
    color: var(--ns-white);
}

.nextstep .ns-cta .ns-actions {
    justify-content: center;
}

/* footer */

.nextstep .ns-footer {
    background: var(--ns-ink);
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    padding: 72px 0 32px;
}

.nextstep .ns-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

body.nextstep .ns-footer h4 {
    color: var(--ns-white);
    font-size: 18px;
    margin: 0 0 12px;
}

body.nextstep .ns-footer h5 {
    color: var(--ns-white);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.nextstep .ns-footer p {
    margin: 0;
}

body.nextstep .ns-footer a {
    color: rgba(255, 255, 255, .7);
}

body.nextstep .ns-footer a:hover {
    color: var(--ns-white);
}

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

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

.nextstep .ns-footer-menu a,
.nextstep .ns-footer-loc a {
    display: block;
    font-size: 14px;
    line-height: 2;
}

.nextstep .ns-footer-loc a:first-child {
    line-height: 1.6;
}

.nextstep .ns-social .social-icons {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.nextstep .ns-social .social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    margin: 0;
}

body.nextstep .ns-social .social-icons a:hover {
    background: var(--ns-maroon);
    color: var(--ns-white);
}

.nextstep .ns-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.nextstep .ns-footer-bottom .bottom-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: none;
    padding: 0;
    text-align: left;
}

.nextstep .ns-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, .45);
}

body.nextstep .ns-footer-bottom a {
    display: inline;
    color: rgba(255, 255, 255, .45);
}

/* responsive */

@media (max-width: 1100px) {
    .nextstep .ns-menu,
    .nextstep .ns-nav-cta .ns-btn-outline {
        display: none;
    }

    .nextstep .ns-nav-cta {
        margin-left: auto;
    }

    .nextstep .ns-menu-toggle {
        display: block;
    }
}

@media (max-width: 900px) {
    .nextstep .ns-section {
        padding: 72px 0;
    }

    .nextstep .ns-topbar-left {
        display: none;
    }

    .nextstep .ns-stats-grid,
    .nextstep .ns-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nextstep .ns-stat:nth-child(3) {
        border-left: 0;
    }

    .nextstep .ns-stat:nth-child(n+3) {
        border-top: 1px solid var(--ns-line);
    }

    .nextstep .ns-help-grid,
    .nextstep .ns-review-grid,
    .nextstep .ns-loc-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nextstep .ns-spec-grid,
    .nextstep .ns-split {
        grid-template-columns: 1fr;
    }

    .nextstep .ns-split {
        gap: 40px;
    }

    .nextstep .ns-help-wide {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    body.nextstep .ns-help-wide h3 {
        flex: none;
    }

    .nextstep .ns-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nextstep .ns-wrap {
        padding: 0 20px;
    }

    .nextstep .ns-topbar .ns-wrap {
        justify-content: center;
    }

    .nextstep .ns-topbar-right > a {
        display: none;
    }

    .nextstep .ns-tip {
        position: fixed;
        top: 54px;
        left: 16px;
        right: 16px;
        width: auto;
    }

    .nextstep .ns-nav .ns-wrap {
        height: 68px;
    }

    .nextstep .ns-logo img {
        height: 38px !important;
    }

    .nextstep .ns-nav-cta .ns-btn {
        padding: 10px 16px;
    }

    .nextstep .ns-help-grid,
    .nextstep .ns-review-grid,
    .nextstep .ns-loc-grid,
    .nextstep .ns-footer-grid {
        grid-template-columns: 1fr;
    }

    .nextstep .ns-hero {
        min-height: 560px;
    }

    .nextstep .ns-sound {
        display: none;
    }

    .nextstep .ns-stat b {
        font-size: 32px;
    }
}

.dm-service-section h3 {
	color: var(--pColor) !important;
} 

 h3 {
	color: var(--pColor) !important;
} 


.ns-team-grid p {display: none;}


.conditions-covered {
    padding: 80px 20px;
}

.conditions-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.conditions-subtitle {
    display: block;
    color: #b79650;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.conditions-heading h2 {
    font-size: clamp(30px, 4vw, 44px);
    color: #102a43;
    margin: 0 0 15px;
    font-weight: 700;
}

.conditions-heading p {
    color: #65717e;
    font-size: 16px;
    line-height: 1.8;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1150px;
    margin: 0 auto;
}

.condition-card {
    position: relative;
    padding: 38px 35px;
    background: #000;
    border: 1px solid #203d57;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 20, 45, 0.12);
    transition: all 0.35s ease;
}

.condition-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #b79650, #e5cb8c);
}

.condition-number {
    display: inline-block;
    color: #d9bb78;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.condition-card h3 {
    color: #e5c782 !important;
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 16px;
    font-weight: 700;
    transition: color 0.35s ease;
}

.condition-card p {
    color: #e0e6ed;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    transition: color 0.35s ease;
}

/* Hover Effect */
.condition-card:hover {
    background: #ffffff;
    border-color: #d8c18c;
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(0, 25, 50, 0.15);
}

.condition-card:hover h3 {
    color: #102a43;
}

.condition-card:hover p {
    color: #4e5b68;
}

.condition-card:hover .condition-number {
    color: #a17b35;
}

/* Tablet */
@media (max-width: 768px) {
    .conditions-covered {
        padding: 55px 15px;
    }

    .conditions-grid {
        gap: 18px;
    }

    .condition-card {
        padding: 28px 24px;
    }

    .condition-card h3 {
        font-size: 21px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .condition-card {
        padding: 30px 25px;
    }
}


/* TREATMENT OPTIONS */
.treatment-options {
    padding: 70px 20px;
}

.treatment-options * {
    box-sizing: border-box;
}

/* Heading */
.treatment-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.treatment-label {
    display: inline-block;
    color: #167c8c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.treatment-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    color: #19384a;
    font-weight: 700;
    margin: 0 0 15px;
}

.treatment-heading p {
    font-size: 16px;
    color: #647580;
    line-height: 1.7;
}

/* Two-column layout */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Cards */
.treatment-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e3eaee;
    box-shadow: 0 8px 30px rgba(20, 55, 70, 0.06);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(20, 55, 70, 0.12);
}

/* Card headers */
.treatment-card-header {
    background: linear-gradient(135deg, #e8f4f5, #f4faf9);
    padding: 30px;
    border-bottom: 1px solid #dcebed;
}

.surgical-card .treatment-card-header {
    background: linear-gradient(135deg, #e8edf7, #f5f7fc);
    border-bottom-color: #e0e6f2;
}

.treatment-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #167c8c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 18px;
}

.surgical-card .treatment-number {
    background: #456c9c;
}

.treatment-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #19384a;
    margin: 0 0 10px;
}

.treatment-card-header p {
    font-size: 14px;
    color: #647580;
    line-height: 1.6;
    margin: 0;
}

/* Treatment list */
.treatment-card-body {
    padding: 10px 30px 20px;
}

.treatment-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 0;
    border-bottom: 1px solid #edf0f2;
}

.treatment-item:last-child {
    border-bottom: none;
}

.treatment-item > div {
    flex: 1;
    min-width: 0;
}

/* Check icons */
.treatment-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2f3ef;
    color: #167c8c;
    font-size: 16px;
    font-weight: 700;
    margin-top: 2px;
}

.surgical-card .treatment-check {
    background: #e9eef8;
    color: #456c9c;
}

/* Treatment text */
.treatment-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #243d4b;
    line-height: 1.4;
    margin: 0 0 8px;
}

.treatment-item p {
    font-size: 14px;
    color: #63737d;
    line-height: 1.75;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .treatment-options {
        padding: 45px 15px;
    }

    .treatment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .treatment-card-header {
        padding: 25px;
    }

    .treatment-card-body {
        padding: 5px 25px 15px;
    }

    .treatment-card-header h3 {
        font-size: 21px;
    }

    .treatment-item {
        padding: 18px 0;
    }
}

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

    .treatment-card:hover {
        transform: none;
    }
}



/* Section */
.foot-treatment-section {
    padding: 75px 20px;
}

.foot-treatment-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.foot-treatment-heading span {
    display: block;
    color: #b99550;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.foot-treatment-heading h2 {
    color: #102a43;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Container */
.foot-treatment-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid */
.foot-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Cards */
.foot-treatment-card {
    position: relative;
    background: #ffffff;
    padding: 35px 30px;
    border: 1px solid #e3e8ee;
    border-left: 5px solid #c6a460;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Card Number */
.foot-card-num {
    display: inline-block;
    color: #b99550;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

/* Card Title */
.foot-treatment-card h3 {
    color: #102a43;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 15px;
}

/* Description */
.foot-treatment-card p {
    color: #5b6775;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Hover Effects */
.foot-treatment-card:hover {
    background: #102a43;
    border-color: #c6a460;
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(16, 42, 67, 0.18);
}

.foot-treatment-card:hover h3 {
    color: #e5c782;
}

.foot-treatment-card:hover p {
    color: #ffffff;
}

.foot-treatment-card:hover .foot-card-num {
    color: #e5c782;
}

/* Tablet */
@media (max-width: 991px) {
    .foot-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .foot-treatment-card {
        padding: 30px 25px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .foot-treatment-section {
        padding: 50px 15px;
    }

    .foot-treatment-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .foot-treatment-card {
        padding: 28px 24px;
    }

    .foot-treatment-card h3 {
        font-size: 20px;
    }
}



/* Main Section */
.sports-treatment {
    padding: 55px 20px;
    border-radius: 20px;
}

.sports-treatment-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #18334a;
    margin: 0 0 40px;
}

/* Card Grid */
.sports-treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1250px;
    margin: 0 auto;
}

/* Cards */
.sports-treatment-card {
    background: #fff;
    border: 1px solid #e5ebf0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.sports-treatment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Card Header */
.sports-treatment-heading {
    background: linear-gradient(135deg, #183e56, #31758b);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 105px;
}

.sports-treatment-number {
    width: 43px;
    height: 43px;
    min-width: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.sports-treatment-heading h3 {
    color: #fff !important;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

/* Card Content */
.sports-treatment-content {
    padding: 26px;
}

.sports-treatment-item {
    position: relative;
    padding: 0 0 20px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0f3;
}

.sports-treatment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Small Accent */
.sports-treatment-item::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 8px;
    height: 8px;
    background: #3d91a3;
    border-radius: 50%;
}

.sports-treatment-item h4 {
    font-size: 17px;
    font-weight: 700;
    color: #193d52;
    line-height: 1.45;
    margin: 0 0 9px;
}

.sports-treatment-item p {
    font-size: 15px;
    line-height: 1.75;
    color: #626f7a;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .sports-treatment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .sports-treatment {
        padding: 35px 15px;
    }

    .sports-treatment-title {
        font-size: 27px;
        margin-bottom: 28px;
    }

    .sports-treatment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sports-treatment-heading {
        min-height: auto;
        padding: 20px;
    }

    .sports-treatment-content {
        padding: 22px;
    }
}


.sports-treatment-grid:has(> .sports-treatment-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 950px;
}

@media (max-width: 650px) {
    .sports-treatment-grid:has(> .sports-treatment-card:nth-child(2):last-child) {
        grid-template-columns: 1fr;
    }
}



.orthotic-process {
    padding: 65px 25px;
    border-radius: 20px;
}

.orthotic-process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
}

.orthotic-process-label {
    display: inline-block;
    color: var(--pColor);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.orthotic-process-header h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: #202b35;
    margin: 0 0 15px;
}

.orthotic-process-header p {
    font-size: 16px;
    color: #64717d;
    line-height: 1.7;
}

.orthotic-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    max-width: 1250px;
    margin: auto;
}

.orthotic-process-card {
    position: relative;
    background: #fff;
    padding: 35px 25px 30px;
    border-radius: 16px;
    border: 1px solid #e6ebef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.045);
    transition: all 0.3s ease;
    overflow: hidden;
}

.orthotic-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pColor);
}

.orthotic-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.10);
    border-color: var(--pColor);
}

.orthotic-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: var(--pColor);
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.orthotic-step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #263440;
    margin: 0 0 15px;
    line-height: 1.35;
}

.orthotic-step-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #65727d;
    margin: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .orthotic-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .orthotic-process {
        padding: 45px 18px;
    }

    .orthotic-process-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .orthotic-process-header {
        margin-bottom: 35px;
    }

    .orthotic-process-card {
        padding: 28px 24px;
    }

    .orthotic-step-number {
        width: 55px;
        height: 55px;
        font-size: 20px;
        margin-bottom: 20px;
    }
}

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

    .orthotic-process-card:hover {
        transform: none;
    }
}


.orthotic-step-content p + p {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #e9edf0;
}

.orthotic-step-content p strong {
    display: block;
    color: var(--pColor);
    font-weight: 700;
    margin-bottom: 6px;
}

.orthotic-process-card {
    height: 100%;
}

.orthotic-step-content h3 {
    overflow-wrap: break-word;
}


@media (min-width: 992px) {
    .orthotic-process-grid:has(> :nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}



.dm-service-section.five .orthotic-process-grid {
    display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sub-menu li,.sub-menu li a {position: relative !important;
}


.dm-service-section:nth-child(even) {
    background: #F2EFEB;
}

.dm-service-section:nth-child(odd):nth-child(1) {background: #1B2A4A; color: white;}
.dm-service-section:nth-child(odd):nth-child(1) li {color: white;}

.dm-service-section:nth-child(odd):nth-child(1) h2 {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(1) h3 {color: #F9F7F5 !important;}
.dm-service-section:nth-child(odd):nth-child(1) h4 {color: #F9F7F5 !important;}

.dm-service-section:nth-child(odd):nth-child(1) p {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(1) a {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(1) a.btn {background-color: #C9A96E !important;}
.condition-card {
background: #1B2A4A;	
}

.dm-service-section:nth-child(odd):nth-child(3) {background: #1B2A4A; color: white;}
.dm-service-section:nth-child(odd):nth-child(3) h2 {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(3) h3 {color: #F9F7F5 !important;}
.dm-service-section:nth-child(odd):nth-child(3) h4 {color: #F9F7F5 !important;}

.dm-service-section:nth-child(odd):nth-child(3) p {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(3) a {color: #F9F7F5;}
.dm-service-section:nth-child(odd):nth-child(3) a.btn {background-color: #C9A96E !important;}

.orthotic-process-card {background: unset !important;}

.dm-service-section.hidden {
    display: none;
}
/**/
.nextstep .ns-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* per-card accent colours (swap any hex to taste) */
.nextstep .ns-help:nth-child(1) { --accent: #5b3fa0; } /* nerve: violet */
.nextstep .ns-help:nth-child(2) { --accent: #1f7a7a; } /* heel & arch: teal */
.nextstep .ns-help:nth-child(3) { --accent: #c04a32; } /* bunions: terracotta */
.nextstep .ns-help:nth-child(4) { --accent: #9a6418; } /* deformities: amber */
.nextstep .ns-help:nth-child(5) { --accent: var(--ns-maroon); } /* ongoing pain: brand maroon */
.nextstep .ns-help:nth-child(6) { --accent: #2f5d9e; } /* ankle: blue */
.nextstep .ns-help:nth-child(7) { --accent: #1a76a5; } /* nail & skin: sky */
.nextstep .ns-help:nth-child(8) { --accent: #2e7d4f; } /* kids: green */
.nextstep .ns-help:nth-child(9) { --accent: #c2416b; } /* sports: raspberry */

.nextstep .ns-help {
    --accent: var(--ns-maroon);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, #fff) 0%, #fff 65%);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
    border-radius: var(--ns-radius);
    padding: 34px 28px 28px;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 10%, transparent);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    color: var(--ns-ink);
}

/* colour bar across the top */
.nextstep .ns-help::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--accent);
}

/* soft circle in the corner that grows on hover */
.nextstep .ns-help::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .08;
    z-index: -1;
    transition: transform .45s ease, opacity .45s ease;
}

.nextstep .ns-help:hover {
    border-color: var(--accent);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--accent) 22%, transparent);
    transform: translateY(-4px);
}

.nextstep .ns-help:hover::after {
    transform: scale(1.8);
    opacity: .12;
}

body.nextstep .ns-help h3 {
    font-size: 20px;
    color: var(--accent);
    margin: 0 0 10px;
}

.nextstep .ns-help p {
    color: var(--ns-muted);
    font-size: 15px;
    flex: 1;
    margin: 0 0 22px;
}

.nextstep .ns-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* links become tinted pills that fill on hover */
.nextstep .ns-help .ns-link {
    align-self: flex-start;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, #fff);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.nextstep a.ns-help:hover .ns-link,
.nextstep .ns-help .ns-links .ns-link:hover {
    background: var(--accent);
    color: #fff;
}

/* wide "not sure" card */
.nextstep .ns-help-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: linear-gradient(120deg, var(--ns-maroon) 0%, color-mix(in srgb, var(--ns-maroon) 72%, #000) 100%);
    border-color: var(--ns-maroon);
    color: var(--ns-white);
    padding: 36px 40px;
    box-shadow: 0 14px 34px rgba(123, 32, 64, .25);
}

.nextstep .ns-help-wide::before {
    inset: auto auto -90px -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--ns-gold);
    opacity: .08;
    z-index: -1;
}

.nextstep .ns-help-wide::after {
    top: -110px;
    right: -70px;
    width: 260px;
    height: 260px;
    background: var(--ns-gold);
    opacity: .14;
}

.nextstep .ns-help-wide:hover {
    border-color: var(--ns-gold);
    box-shadow: 0 20px 44px rgba(123, 32, 64, .35);
}

.nextstep .ns-help-wide:hover::after {
    opacity: .2;
}

body.nextstep .ns-help-wide h3 {
    color: var(--ns-gold);
    font-size: 24px;
    margin: 0;
    flex: 0 0 280px;
}

.nextstep .ns-help-wide p {
    color: rgba(255, 255, 255, .88);
    margin: 0;
}

.nextstep .ns-help-wide .ns-btn {
    flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
    .nextstep .ns-help,
    .nextstep .ns-help::after {
        transition: none;
    }
    .nextstep .ns-help:hover {
        transform: none;
    }
}

.cta_fixed_button .sticks:nth-child(3) {
    display: none;
}

.cta_fixed_button a {
    font-size: 11px;
    color: #fff !important;
}

@media (max-width: 880px) {
	.nextstep .ns-nav-cta .ns-btn-outline {
		display: block;
	}

	a.ns-btn.ns-btn-maroon {
		display: none;
	}
	
	.nextstep .ns-help-grid { display: block;}
	.nextstep .ns-help {margin-bottom: 20px;}
	.dm-service-section.five .orthotic-process-grid {display: block;}
	.orthotic-process-card {margin-bottom: 20px;}
	.philosophy-inner {display: block !important;}
	.pillar-grid {display: block !important;}
	.doc-grid {display: block !important;}
	.technology-inner {display: block !important;}
	.tab-row {display: block;}
	.tab-panel.active {display: block !important;}
	.step-grid {display: block !important;}
	.empathy-inner {display: block !important;}
}

body.nextstep .ns-help-wide h3 {color: color: var(--ns-gold) !important;}