/* Builder D: /newsite/team and /newsite/services — mirrors reference Tailwind values (brand blue for red). */
.nsd { --d-ink: #202020; --d-sub: #42526b; --d-s900: #0f172a; --d-s600: #475569; --d-g700: #374151; --d-g900: #111827; --d-g600: #4b5563; }
.nsd-rel { position: relative; z-index: 1; }
.nsd-center { text-align: center; }
.nsd-sec { padding: 32px 0; }
@media (min-width: 1024px) { .nsd-sec { padding: 48px 0; } }
.nsd-bg-slate { background: rgba(248, 250, 252, .5); }

/* Section title block (px-2 centred, max 980) */
.nsd-title { padding: 0 8px; text-align: center; max-width: 980px; margin: 0 auto; }
.nsd-title h1, .nsd-title h2 { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--d-ink); }
@media (min-width: 1024px) { .nsd-title h1, .nsd-title h2 { font-size: 40px; } }
.nsd-title p { margin: 16px auto 0; max-width: 672px; font-size: 16px; line-height: 24px; color: var(--d-sub); }
.nsd-title--light h1, .nsd-title--light h2 { color: #fff; }
.nsd-title--light p { color: rgba(255, 255, 255, .7); }
.nsd-title--mb { margin-bottom: 24px; }
@media (min-width: 768px) { .nsd-title--mb { margin-bottom: 32px; } }

/* Hero banner */
.nsd-hero { position: relative; height: 300px; background: var(--navy, #061c3d) center/cover no-repeat; }
@media (min-width: 1024px) { .nsd-hero { height: 400px; } }
.nsd-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, #061c3d, rgba(6, 28, 61, .5)); }
.nsd-hero__in { position: relative; z-index: 2; height: 100%; max-width: 980px; margin: 0 auto; padding: 0 8px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; }
.nsd-hero h1 { font-size: 36px; line-height: 40px; font-weight: 700; }
@media (min-width: 768px) { .nsd-hero h1 { font-size: 48px; line-height: 1; } }
.nsd-hero p { display: none; margin-top: 16px; max-width: 672px; font-size: 16px; line-height: 24px; }
@media (min-width: 1024px) { .nsd-hero p { display: block; } }

/* Services grid */
.nsd-svc { margin-top: 24px; display: grid; gap: 24px; }
@media (min-width: 640px) { .nsd-svc { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .nsd-svc { margin-top: 32px; } }
@media (min-width: 1024px) { .nsd-svc { grid-template-columns: repeat(3, 1fr); } }
.nsd-svc__g { height: 100%; }
.nsd-svc__card { height: 100%; padding: 24px; background: #fff; border: 1px solid rgba(226, 232, 240, .9); border-radius: 16px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); overflow: hidden; transition: all .3s cubic-bezier(.4, 0, .2, 1); }
.nsd-svc__g:hover .nsd-svc__card { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); border-color: #cbd5e1; }
.nsd-svc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.nsd-svc__ico { width: 56px; height: 56px; flex: none; padding: 10px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #f1f5f9; background: #f8fafc; color: var(--brand); transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.nsd-svc__ico .ns-ico { width: 28px; height: 28px; }
.nsd-svc__g:hover .nsd-svc__ico { transform: scale(1.05); }
.nsd-svc__step { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 9999px; background: #f1f5f9; border: 1px solid rgba(226, 232, 240, .7); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .025em; color: #475569; }
.nsd-svc__card h3 { font-size: 20px; line-height: 1.375; font-weight: 500; letter-spacing: -.025em; color: var(--d-s900); }
.nsd-svc__card p { margin-top: 12px; font-size: 14px; line-height: 1.625; color: var(--d-s600); }

/* Stats band (max-w-4xl, brand gradient) */
.nsd-stats { position: relative; z-index: 10; width: 100%; max-width: 896px; margin: 24px auto; padding: 0 16px; }
@media (min-width: 768px) { .nsd-stats { margin: 32px auto; } }
.nsd-stats__in { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 16px; border: 1px solid rgba(255, 255, 255, .15); background: linear-gradient(to right, var(--brand-dark, #032d7a), var(--brand, #0068ac), var(--brand-dark, #032d7a)); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .2); }
@media (min-width: 1024px) { .nsd-stats__in { grid-template-columns: repeat(4, 1fr); } }
.nsd-stats__i { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; color: #fff; }
.nsd-stats__i:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .1); }
.nsd-stats__i:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 640px) { .nsd-stats__i { padding: 20px 16px; } }
@media (min-width: 768px) { .nsd-stats__i { padding: 24px 16px; } }
@media (min-width: 1024px) {
    .nsd-stats__i, .nsd-stats__i:nth-child(n+3) { border-top: 0; border-right: 1px solid rgba(255, 255, 255, .15); }
    .nsd-stats__i:last-child { border-right: 0; }
}
.nsd-stats__ico { width: 40px; height: 40px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; opacity: .9; }
.nsd-stats__ico .ns-ico { width: 32px; height: 32px; }
.nsd-stats__i strong { display: block; margin-bottom: 8px; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.025em; }
@media (min-width: 640px) { .nsd-stats__i strong { font-size: 36px; } }
@media (min-width: 768px) { .nsd-stats__i strong { font-size: 48px; } }
@media (min-width: 1024px) { .nsd-stats__i strong { font-size: 46px; } }
.nsd-stats__i small { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .025em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
@media (min-width: 640px) { .nsd-stats__i small { font-size: 14px; line-height: 20px; text-transform: none; } }

/* Why choose band */
.nsd-why { position: relative; margin-top: 32px; background: #243752; overflow: hidden; }
.nsd-why__in { position: relative; z-index: 10; padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 1024px) { .nsd-why__in { padding-top: 64px; padding-bottom: 64px; } }
.nsd-why__shape { position: absolute; right: 0; bottom: 0; width: 260px; height: 160px; background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, .05) 50%), linear-gradient(135deg, transparent 70%, rgba(0, 104, 172, .35) 70%); pointer-events: none; }

/* Commitment cards */
.nsd-commit { display: grid; gap: 32px; }
@media (min-width: 640px) { .nsd-commit { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nsd-commit { grid-template-columns: repeat(3, 1fr); } }
.nsd-commit__card { padding: 24px; background: #fff; border-radius: 12px; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); transition: box-shadow .3s cubic-bezier(.4, 0, .2, 1); }
.nsd-commit__card:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1); }
.nsd-commit__ico { display: flex; width: 48px; height: 48px; margin-bottom: 16px; color: var(--brand); }
.nsd-commit__ico .ns-ico { width: 48px; height: 48px; }
.nsd-commit__card h3 { margin-bottom: 8px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--d-s900); }
.nsd-commit__card p { font-size: 14px; line-height: 20px; color: var(--d-s600); }

/* Appointment */
.nsd-book-sec { padding: 24px 0; }
@media (min-width: 1024px) { .nsd-book-sec { padding: 40px 0; } }
.nsd-book { display: grid; row-gap: 40px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
@media (min-width: 1024px) { .nsd-book { grid-template-columns: 1fr 1fr; row-gap: 0; } }
.nsd-book__img { order: 2; position: relative; min-height: 384px; }
.nsd-book__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nsd-book__form { order: 1; padding: 16px; }
@media (min-width: 1024px) { .nsd-book__img { order: 1; } .nsd-book__form { order: 2; padding: 40px; } }
.nsd-book .ns-field input, .nsd-book .ns-field select { height: 45px; border: 1px solid #d9d9d9; border-radius: 8px; box-shadow: none; }
.nsd-book .ns-field textarea { border: 1px solid #d9d9d9; border-radius: 8px; }
.nsd-book .ns-btn--block { margin-top: 20px; height: auto; padding: 20px 16px; border-radius: 6px; background: var(--footer, #2f4858); font-size: 14px; font-weight: 500; text-transform: uppercase; }
@media (min-width: 640px) { .nsd-book .ns-btn--block { padding: 24px 16px; } }
@media (min-width: 768px) { .nsd-book .ns-btn--block { margin-top: 32px; } }
.nsd-book .ns-btn--block:hover { background: rgba(47, 72, 88, .9); }

/* Team: leadership words */
.nsd-ceo { position: relative; overflow: hidden; }
.nsd-ceo__wrap { position: relative; overflow: hidden; padding-top: 20px; padding-bottom: 20px; margin-top: 16px; }
@media (min-width: 768px) { .nsd-ceo__wrap { padding-top: 40px; padding-bottom: 40px; } }
.nsd-ceo__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .nsd-ceo__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.nsd-ceo__ph { position: relative; height: 384px; background: #fff; border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .nsd-ceo__ph { height: 550px; } }
.nsd-ceo__ph img { width: 100%; height: 100%; object-fit: contain; }
.nsd-ceo__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .3), transparent, transparent); }
.nsd-ceo__cap { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; }
.nsd-ceo__cap h3 { margin-bottom: 8px; font-size: 24px; line-height: 32px; font-weight: 700; }
@media (min-width: 768px) { .nsd-ceo__cap h3 { font-size: 30px; line-height: 36px; } }
.nsd-ceo__cap p { font-size: 18px; line-height: 28px; opacity: .9; }
.nsd-ini { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #e2e8f0, #cbd5e1); font-size: 64px; font-weight: 700; color: rgba(0, 104, 172, .45); }
.nsd-ini--xl { font-size: 120px; }
.nsd-ceo__side > * + * { margin-top: 32px; }
.nsd-ceo__msg, .nsd-belief { padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.nsd-ceo__msg > p { margin-bottom: 24px; font-size: 18px; line-height: 1.625; color: var(--d-g700); }
.nsd-ceo__sig { display: flex; align-items: center; gap: 16px; }
.nsd-ceo__badge { width: 80px; height: 80px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom right, var(--brand, #0068ac), #9333ea); color: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.nsd-ceo__badge .ns-ico { width: 40px; height: 40px; }
.nsd-ceo__sig strong { display: block; font-size: 18px; line-height: 28px; font-weight: 700; color: var(--d-g900); }
.nsd-ceo__sig span { color: var(--d-g600); font-size: 16px; }
.nsd-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 9999px; background: linear-gradient(to right, var(--brand, #0068ac), #9333ea); color: #fff; font-weight: 600; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); transition: box-shadow .3s; text-decoration: none; }
.nsd-pill:hover { color: #fff; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.nsd-pill .ns-ico { width: 20px; height: 20px; }
.nsd-belief { position: relative; margin-top: 96px; background: rgba(255, 255, 255, .9); }
.nsd-belief p { font-size: 18px; line-height: 1.625; font-style: italic; font-weight: 500; color: #1f2937; }
@media (min-width: 768px) { .nsd-belief p { font-size: 20px; } }

/* Team grid */
.nsd-teams { position: relative; overflow: hidden; }
.nsd-blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(64px); pointer-events: none; animation: nsdPulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.nsd-blob--a { top: -160px; right: -160px; background: rgba(0, 104, 172, .05); }
.nsd-blob--b { bottom: -160px; left: -160px; background: rgba(47, 72, 88, .05); animation-delay: .7s; }
@keyframes nsdPulse { 50% { opacity: .5; } }
.nsd-team { margin-top: 32px; display: grid; gap: 32px; }
@media (min-width: 640px) { .nsd-team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nsd-team { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .nsd-team { grid-template-columns: repeat(4, 1fr); } }
.nsd-mem { position: relative; display: flex; }
.nsd-mem__in { position: relative; width: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem__in:hover { transform: translateY(-8px); }
.nsd-mem__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e2e8f0; }
.nsd-mem__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem:hover .nsd-mem__ph img { transform: scale(1.1); }
.nsd-mem__ph .nsd-ini { transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem:hover .nsd-mem__ph .nsd-ini { transform: scale(1.1); }
.nsd-mem__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .4), transparent); opacity: 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem:hover .nsd-mem__shade { opacity: 1; }
.nsd-mem__soc { position: absolute; top: 16px; right: 16px; z-index: 10; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateX(32px); transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem:hover .nsd-mem__soc, .nsd-mem__soc:focus-within { opacity: 1; transform: none; }
.nsd-mem__soc a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--brand); transition: background .3s, color .3s; }
.nsd-mem__soc a:hover { background: var(--brand); color: #fff; }
.nsd-mem__soc .ns-ico { width: 18px; height: 18px; }
.nsd-mem__body { padding: 8px 24px 24px; background: #fff; text-align: start; }
.nsd-mem__body h3 { margin-bottom: 4px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--d-g900); transition: color .3s; }
.nsd-mem__body p { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--brand); }
.nsd-mem__ring { position: absolute; inset: 0; border-radius: 16px; border: 2px solid transparent; pointer-events: none; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.nsd-mem:hover .nsd-mem__ring { border-color: #e2e8f0; }
@media (hover: none) { .nsd-mem__soc { opacity: 1; transform: none; } }

/* Container: reference Tailwind .container = 100% / 640 / 768 / 1024 / 1250 (>=1280), 16px side padding at every width */
.nsd .ns-container { max-width: 100%; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .nsd .ns-container { max-width: 640px; } }
@media (min-width: 768px) { .nsd .ns-container { max-width: 768px; } }
@media (min-width: 1024px) { .nsd .ns-container { max-width: 1024px; } }
@media (min-width: 1280px) { .nsd .ns-container { max-width: 1250px; } }
.nsd .ns-container.nsd-ceo__wrap { padding-top: 20px; padding-bottom: 20px; }
@media (min-width: 768px) { .nsd .ns-container.nsd-ceo__wrap { padding-top: 40px; padding-bottom: 40px; } }
/* Why band: reference container px-4 sm:px-6 lg:px-8 */
@media (min-width: 640px) { .nsd .ns-container.nsd-why__in { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .nsd .ns-container.nsd-why__in { padding-left: 32px; padding-right: 32px; } }
/* Book button: reference h-9 py-5 sm:py-6 (height capped at 36px, padding wins) */
.nsd-book .ns-btn--block { height: 36px; line-height: 20px; box-sizing: border-box; }
