/* EPAL /newsite - shared base, header, footer and Builder A pages.
   Layout, sizes and behaviour follow the reference (Tailwind-built) site; brand colour swapped to EPAL blue. */
:root {
    --brand: #0068ac;          /* main (reference uses #a30c1e) */
    --brand-dark: #032d7a;     /* dark (reference uses its darker red) */
    --brand-bright: #0a7bd2;   /* accent text, e.g. typed "Book appointment" */
    --ink: #202020;
    --ink-2: #0a0a0a;
    --muted: #4b5563;
    --muted-2: #6b7280;
    --line: #e5e7eb;
    --soft: #f5f7fa;
    --slate: #f8fafc;
    --navy: #061c3d;
    --footer: #2f4858;
    --radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --ease: cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ns-body { margin: 0; font-family: Poppins, ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink-2); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.ns-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ns-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
.ns-skip:focus { left: 8px; }
.ns-ico { width: 1em; height: 1em; flex: none; }

/* ---------- containers & section rhythm ---------- */
.ns-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1024px) { .ns-wrap { padding: 0 24px; } }
@media (min-width: 1280px) { .ns-wrap { padding: 0 32px; } }
.ns-container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .ns-container { max-width: 640px; padding: 0 24px; } }
@media (min-width: 768px) { .ns-container { max-width: 768px; } }
@media (min-width: 1024px) { .ns-container { max-width: 1024px; padding: 0 32px; } }
@media (min-width: 1280px) { .ns-container { max-width: none; width: 1250px; } }
.ns-sec { position: relative; padding: 32px 0; overflow: hidden; }
@media (min-width: 1024px) { .ns-sec { padding: 48px 0; } }
.ns-sec--sm { padding: 24px 0; }
@media (min-width: 1024px) { .ns-sec--sm { padding: 32px 0; } }
.ns-bg-soft { background: var(--soft); }
.ns-bg-slate { background: var(--slate); }
.ns-bg-fade { background: linear-gradient(to bottom, rgba(248,250,252,.7), #fff, rgba(248,250,252,.4)); }

/* Section heading: centred 36px/700, 18px muted subtitle */
.ns-head { text-align: center; max-width: 964px; margin: 0 auto 32px; }
.ns-head h2, .ns-h2 { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ns-head h2, .ns-head h1 { line-height: 37.5px; }
.ns-head h1 { font-size: 30px; font-weight: 700; color: var(--ink); }
@media (min-width: 1024px) { .ns-h2 { font-size: 36px; line-height: 40px; } .ns-head h2, .ns-head h1 { font-size: 40px; line-height: 50px; } }
.ns-head p, .ns-sub { margin-top: 12px; font-size: 16px; line-height: 26px; color: var(--muted); }
@media (min-width: 1024px) { .ns-head p, .ns-sub { font-size: 18px; line-height: 28px; } }
.ns-head--row { display: flex; align-items: flex-end; justify-content: center; position: relative; max-width: none; }
.ns-head--row .ns-arrows { position: absolute; right: 0; bottom: 0; }
.ns-h2 .ns-accent, .ns-head .ns-accent { color: var(--brand); }
.ns-underline { display: block; width: 140px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--brand), rgba(0,104,172,.15)); border-radius: 3px; }

/* ---------- buttons ---------- */
.ns-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 6px; border: 0; background: var(--brand); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.ns-btn:hover { background: var(--brand-dark); box-shadow: var(--shadow-lg); }
.ns-btn--outline { background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: 9999px; height: 50px; padding: 0 28px; text-transform: uppercase; }
.ns-btn--outline:hover { background: #fff; color: var(--brand); }
.ns-btn--white { background: #fff; color: var(--brand); }
.ns-btn--white:hover { background: #f1f5f9; color: var(--brand-dark); }
.ns-btn--block { width: 100%; height: 48px; text-transform: uppercase; }
.ns-btn .ns-ico { width: 16px; height: 16px; }

/* round prev/next arrows (carousels) */
.ns-arrows { display: flex; gap: 10px; }
.ns-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d1d5db; background: #fff; color: #374151; display: grid; place-items: center; transition: all .3s var(--ease); }
.ns-arrow:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; }
.ns-arrow:disabled { opacity: .4; cursor: default; }
.ns-arrow .ns-ico { width: 18px; height: 18px; }
.ns-dots { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.ns-dots button { width: 8px; height: 8px; border-radius: 9999px; border: 0; padding: 0; background: #d1d5db; transition: all .3s var(--ease); }
.ns-dots button.is-on { width: 28px; background: var(--brand); }

/* ---------- entry animations (fade-up on scroll) ---------- */
[data-ns-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-ns-reveal].is-in { opacity: 1; transform: none; }
[data-ns-reveal="left"] { transform: translateX(-40px); }
[data-ns-reveal="right"] { transform: translateX(40px); }
[data-ns-reveal="zoom"] { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { [data-ns-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================
   HEADER: grey top bar (logo, contact chips, socials) + sticky brand nav bar
   ========================================================= */
.ns-top { background: #f8f8f8; border-bottom: 1px solid #f3f4f6; display: none; }
@media (min-width: 1024px) { .ns-top { display: block; } }
.ns-top__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.ns-logo img { height: 44px; width: auto; }
.ns-chips { display: flex; gap: 28px; }
.ns-chips li { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; color: #374151; }
.ns-chips small { display: block; font-size: 11px; color: var(--muted-2); }
.ns-chips a:hover { color: var(--brand); }
.ns-chip__ico { width: 28px; height: 28px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.ns-chip__ico .ns-ico { width: 15px; height: 15px; }
.ns-socials { display: flex; gap: 8px; }
.ns-socials a { width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; background: rgba(0,104,172,.1); color: var(--brand); transition: all .3s var(--ease); }
.ns-socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.ns-socials .ns-ico { width: 17px; height: 17px; }

.ns-header { position: sticky; top: 0; z-index: 50; width: 100%; background: var(--brand); transition: all .3s var(--ease); }
.ns-header.is-scrolled { box-shadow: var(--shadow); }
.ns-nav__in { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.ns-nav__logo { display: flex; align-items: center; }
.ns-nav__logo img { height: 40px; width: auto; }
@media (min-width: 1024px) {
    .ns-nav__logo { width: 0; overflow: hidden; opacity: 0; transition: width .3s var(--ease), opacity .3s var(--ease), margin .3s; }
    .ns-header.is-scrolled .ns-nav__logo { width: 110px; opacity: 1; margin-right: 12px; }
}
.ns-menu { display: none; }
@media (min-width: 1024px) {
    .ns-menu { display: flex; align-items: center; gap: 2px; flex: 1; }
    .ns-menu > li { position: relative; }
    .ns-menu > li > a, .ns-menu > li > button { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #fff; font-size: 14px; font-weight: 400; text-transform: uppercase; white-space: nowrap; transition: background-color .2s var(--ease); }
    .ns-menu > li > a:hover, .ns-menu > li > button:hover, .ns-menu > li.is-open > button { background: rgba(255,255,255,.1); }
    .ns-menu > li > a.is-active, .ns-menu > li > button.is-active { background: rgba(255,255,255,.2); }
    .ns-menu .ns-ico { width: 14px; height: 14px; transition: transform .2s; }
    .ns-menu li.is-open > button .ns-ico { transform: rotate(180deg); }
}
@media (min-width: 1280px) { .ns-menu > li > a, .ns-menu > li > button { padding: 0 12px; } }
/* dropdown */
.ns-drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-xl); border: 1px solid #f3f4f6; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); }
.ns-has-drop.is-open .ns-drop, .ns-has-drop:focus-within .ns-drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1024px) { .ns-has-drop:hover .ns-drop { opacity: 1; visibility: visible; transform: none; } }
.ns-drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; font-size: 14px; color: #374151; transition: background-color .2s, color .2s; }
.ns-drop a:hover { background: rgba(0,104,172,.08); color: var(--brand); }
.ns-drop img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.ns-drop--dest { min-width: 240px; }
/* typed Book appointment button */
.ns-book { display: none; }
@media (min-width: 1024px) {
    .ns-book { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; height: 40px; padding: 0 16px; border-radius: 8px; background: #fff; color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: -.025em; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.05); flex: none; transition: background .2s; }
    .ns-book:hover { box-shadow: 0 4px 14px rgba(0,0,0,.18); }
}
.ns-book__txt::after { content: ""; display: inline-block; width: 3px; height: 20px; margin-left: 4px; vertical-align: text-top; background: currentColor; animation: ns-caret 1s steps(1) infinite; }
@keyframes ns-caret { 50% { opacity: 0; } }
/* burger + mobile drawer */
.ns-burger { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: #fff; }
.ns-burger .ns-ico { width: 26px; height: 26px; }
.ns-burger__close { display: none; }
.ns-burger[aria-expanded="true"] .ns-burger__open { display: none; }
.ns-burger[aria-expanded="true"] .ns-burger__close { display: block; }
@media (min-width: 1024px) { .ns-burger { display: none; } }
.ns-mnav { display: none; background: #fff; border-top: 1px solid rgba(255,255,255,.2); max-height: calc(100dvh - 56px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.ns-mnav.is-open { display: block; }
@media (min-width: 1024px) { .ns-mnav, .ns-mnav.is-open { display: none; } }
.ns-mnav ul { padding: 8px 16px 16px; }
.ns-mnav li a, .ns-mnav li > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 8px; border: 0; border-bottom: 1px solid #f3f4f6; background: none; text-align: left; font-size: 15px; color: #1f2937; text-transform: uppercase; }
.ns-mnav li a.is-active { color: var(--brand); font-weight: 600; }
.ns-mnav .ns-msub { display: none; padding: 0 0 0 12px; }
.ns-mnav .is-open > .ns-msub { display: block; }
.ns-mnav .ns-msub a { text-transform: none; font-size: 14px; color: #4b5563; }
.ns-mnav .ns-btn { margin-top: 16px; width: 100%; }

/* floating WhatsApp + back-to-top */
.ns-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: var(--shadow-lg); transition: transform .3s; }
.ns-wa:hover { transform: scale(1.08); }
.ns-wa .ns-ico { width: 26px; height: 26px; }
.ns-totop { position: fixed; right: 26px; bottom: 82px; z-index: 40; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s; }
.ns-totop.is-on { opacity: 1; visibility: visible; }
.ns-totop .ns-ico { width: 16px; height: 16px; transform: rotate(180deg); }

/* =========================================================
   FOOTER: slate block, 5 columns, "Visit us" office cards, connect pills, brand bottom bar
   ========================================================= */
.ns-footer { background: var(--footer); color: #fff; }
.ns-footer__grid { display: grid; gap: 32px; padding: 48px 0 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ns-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ns-footer__grid { grid-template-columns: repeat(5, 1fr); } }
.ns-footer__brand img { height: 48px; width: auto; margin-bottom: 14px; }
.ns-footer__brand p { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.9); }
.ns-footer__h { font-size: 16px; font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.ns-footer__links li + li { margin-top: 8px; }
.ns-footer__links a { font-size: 14px; color: rgba(255,255,255,.85); transition: color .2s, padding .2s; }
.ns-footer__links a:hover { color: #fff; padding-left: 4px; }
.ns-footer__contact li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.9); }
.ns-footer__contact li + li { margin-top: 10px; }
.ns-footer__contact .ns-ico { width: 16px; height: 16px; margin-top: 2px; }
.ns-footer__contact a:hover { color: #fff; text-decoration: underline; }
.ns-footer__visit { border-top: 1px solid rgba(255,255,255,.2); padding: 24px 0 8px; }
.ns-footer__visit h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.ns-office { border: 1px solid rgba(255,255,255,.3); border-radius: 6px; padding: 14px 18px; max-width: 280px; font-size: 13px; line-height: 20px; color: rgba(255,255,255,.88); transition: border-color .3s, background .3s; }
.ns-office:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); }
.ns-office h4 { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #fff; margin-bottom: 6px; }
.ns-office h4 .ns-ico { width: 15px; height: 15px; }
.ns-office p + p { margin-top: 6px; }
.ns-footer__connect { text-align: center; padding: 32px 0; }
.ns-footer__connect h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; margin-bottom: 14px; }
.ns-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ns-pills a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 4px; background: rgba(255,255,255,.15); font-size: 14px; transition: background .3s; }
.ns-pills a:hover { background: rgba(255,255,255,.28); }
.ns-pills .ns-ico { width: 14px; height: 14px; }
.ns-footer__bar { background: var(--brand); }
.ns-footer__bar-in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; min-height: 52px; padding-top: 12px; padding-bottom: 12px; font-size: 13px; }
.ns-footer__bar ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ns-footer__bar a:hover { text-decoration: underline; }

/* =========================================================
   INNER PAGE HEAD (title only, centred - reference inner pages)
   ========================================================= */
.ns-pagehead { padding: 40px 0 8px; text-align: center; }
.ns-pagehead h1 { font-size: 30px; line-height: 36px; font-weight: 700; color: #4b4b4b; }
@media (min-width: 1024px) { .ns-pagehead h1 { font-size: 36px; line-height: 40px; } }
.ns-pagehead nav { margin-top: 8px; font-size: 14px; color: var(--muted-2); }
.ns-pagehead nav a:hover { color: var(--brand); }
/* banner variant: navy gradient over photo, title centred (Services) */
.ns-banner { position: relative; min-height: 400px; display: grid; place-items: center; text-align: center; background: var(--navy) center/cover no-repeat; color: #fff; overflow: hidden; }
.ns-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,28,61,.97) 0%, rgba(6,28,61,.75) 50%, rgba(6,28,61,.45) 100%); }
.ns-banner > * { position: relative; }
.ns-banner h1 { font-size: 32px; line-height: 40px; font-weight: 700; }
@media (min-width: 1024px) { .ns-banner h1 { font-size: 48px; line-height: 1.1; } }
.ns-banner p { margin-top: 12px; font-size: 18px; color: rgba(255,255,255,.85); }

/* =========================================================
   FORM (Let us assist you / booking)
   ========================================================= */
.ns-form { display: grid; gap: 16px; }
.ns-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .ns-form__row { grid-template-columns: 1fr 1fr; } }
.ns-field { display: grid; gap: 6px; }
.ns-field > span { font-size: 14px; font-weight: 500; color: #374151; }
.ns-field input, .ns-field select, .ns-field textarea { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.ns-field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.ns-field input:focus, .ns-field select:focus, .ns-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,104,172,.15); }
.ns-field em { font-style: normal; font-size: 12px; color: #dc2626; }
.ns-alert { padding: 10px 14px; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 14px; }
.ns-form__note { font-size: 12px; color: var(--muted-2); text-align: center; }
@media (max-width: 1023px) { .ns-field input, .ns-field select, .ns-field textarea { font-size: 16px; } }

/* ---------- generic card used across pages ---------- */
.ns-card { background: #fff; border: 1px solid #f3f4f6; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ns-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

/* ---------- horizontal track carousel (shared) ---------- */
.ns-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px 16px; }
.ns-track::-webkit-scrollbar { display: none; }
.ns-track > * { scroll-snap-align: start; flex: none; }

/* ---------- empty state (honest placeholder in a reference-shaped slot) ---------- */
.ns-empty { border: 2px dashed #d1d5db; border-radius: var(--radius); background: #fff; padding: 36px 24px; text-align: center; color: var(--muted); }
.ns-empty strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.ns-empty .ns-btn { margin-top: 16px; }

/* =========================================================
   HOME
   ========================================================= */
/* hero: full-bleed photo, dark left gradient, big white heading */
.ns-hero { position: relative; min-height: calc(100dvh - 116px); display: flex; align-items: center; background: var(--navy); overflow: hidden; }
.ns-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: ns-kb 18s ease-out both; }
@keyframes ns-kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.ns-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.05) 75%); }
.ns-hero__in { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 120px; }
@media (min-width: 1024px) { .ns-hero__in { padding-top: 80px; padding-bottom: 128px; } }
.ns-hero h1 { max-width: 768px; font-size: 36px; line-height: 1.15; font-weight: 700; color: #fff; letter-spacing: -.01em; }
@media (min-width: 768px) { .ns-hero h1 { font-size: 52px; } }
@media (min-width: 1280px) { .ns-hero h1 { font-size: 64px; line-height: 73.6px; } }
.ns-hero p { max-width: 672px; margin-top: 20px; font-size: 17px; line-height: 26px; color: rgba(255,255,255,.9); }
@media (min-width: 1024px) { .ns-hero p { font-size: 20px; line-height: 28px; } }
.ns-hero .ns-btn--outline { margin-top: 32px; }
.ns-hero__in > * { animation: ns-up .9s var(--ease) both; }
.ns-hero__in > *:nth-child(2) { animation-delay: .15s; }
.ns-hero__in > *:nth-child(3) { animation-delay: .3s; }
@keyframes ns-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* stats band: below hero (reference: max-w-4xl, my-6 md:my-8, 2x2 / 4 cols, single middle divider on desktop) */
.ns-stats { position: relative; z-index: 10; max-width: 896px; margin: 24px auto; padding: 0 16px; }
@media (min-width: 768px) { .ns-stats { margin: 32px auto; } }
.ns-stats__in { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: 16px; border: 1px solid rgba(255,255,255,.15); background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-dark) 100%); box-shadow: 0 25px 50px -12px rgba(0,0,0,.2); color: #fff; overflow: hidden; }
.ns-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.ns-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
.ns-stat:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.1); }
.ns-stat__ico { width: 40px; height: 40px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.ns-stat__ico svg { width: 32px; height: 32px; opacity: .9; }
.ns-stat h3 { margin: 0 0 8px; font-family: Poppins, var(--font, sans-serif); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.ns-stat h3 span { font: inherit; color: inherit; }
.ns-stat p { margin: 0; font-family: Poppins, var(--font, sans-serif); 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) { .ns-stat { padding: 20px 16px; } .ns-stat h3 { font-size: 36px; } .ns-stat p { font-size: 14px; line-height: 20px; text-transform: none; } }
@media (min-width: 768px) { .ns-stat { padding: 24px 16px; } .ns-stat h3 { font-size: 48px; } }
@media (min-width: 1024px) {
  .ns-stats__in { grid-template-columns: repeat(4, 1fr); }
  .ns-stat h3 { font-size: 46px; }
  .ns-stat:nth-child(n) { border-top: 0; border-right: 0; }
  .ns-stat:nth-child(2) { border-right: 1px solid rgba(255,255,255,.15); }
}

/* why choose: text left, 2x2 numbered points card right */
.ns-why { display: grid; gap: 32px; align-items: center; padding: 48px 0; }
@media (min-width: 1024px) { .ns-why { grid-template-columns: 5fr 7fr; gap: 56px; } }
.ns-why__text p { margin-top: 20px; font-size: 16px; line-height: 28px; color: var(--muted); }
.ns-why__text .ns-btn { margin-top: 24px; }
.ns-why__card { display: grid; gap: 28px; padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(15,23,42,.08); }
@media (min-width: 640px) { .ns-why__card { grid-template-columns: 1fr 1fr; } }
.ns-why__pt { display: flex; gap: 14px; }
.ns-why__pt b { font-size: 26px; line-height: 1; font-weight: 700; font-style: italic; color: var(--brand-dark); }
.ns-why__pt h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.ns-why__pt p { margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--muted-2); }

/* steps on a rising curve */
.ns-steps__title { text-align: center; }
.ns-steps__title h2 { font-size: 30px; line-height: 1.2; font-weight: 700; color: #6b7280; }
.ns-steps__title h2 span { display: block; color: var(--brand); opacity: .75; }
@media (min-width: 1024px) { .ns-steps__title h2 { font-size: 40px; } }
.ns-steps { position: relative; display: grid; gap: 28px; margin-top: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .ns-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ns-steps { grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: start; padding-top: 30px; } }
.ns-steps__curve { display: none; }
@media (min-width: 1024px) {
    .ns-steps__curve { display: block; position: absolute; left: 0; right: 0; top: -20px; width: 100%; height: 220px; pointer-events: none; }
    .ns-step:nth-child(2) { margin-top: 150px; } .ns-step:nth-child(3) { margin-top: 115px; } .ns-step:nth-child(4) { margin-top: 85px; }
    .ns-step:nth-child(5) { margin-top: 60px; } .ns-step:nth-child(6) { margin-top: 35px; } .ns-step:nth-child(7) { margin-top: 10px; }
}
.ns-step { position: relative; }
.ns-step__tile { width: 50px; height: 70px; display: grid; place-items: center; border-radius: 6px; transform: skewX(-14deg); color: #fff; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); }
.ns-step:hover .ns-step__tile { transform: skewX(-14deg) translateY(-6px); }
.ns-step__tile .ns-ico { width: 24px; height: 24px; transform: skewX(14deg); }
.ns-step small { display: block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ns-step h3 { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ns-step p { margin-top: 8px; font-size: 12px; line-height: 19px; color: var(--muted-2); }
.ns-c1 { background: #f59e0b; color: #f59e0b; } .ns-c2 { background: #0ea5e9; color: #0ea5e9; } .ns-c3 { background: #dc2626; color: #dc2626; }
.ns-c4 { background: #8b5cf6; color: #8b5cf6; } .ns-c5 { background: #84cc16; color: #65a30d; } .ns-c6 { background: #0d9488; color: #0d9488; }
.ns-step__tile.ns-c1, .ns-step__tile.ns-c2, .ns-step__tile.ns-c3, .ns-step__tile.ns-c4, .ns-step__tile.ns-c5, .ns-step__tile.ns-c6 { color: #fff; }
.ns-step small[class*="ns-c"] { background: none; }

/* destinations slider: tall photo cards with flag pill */
.ns-dest { width: calc((100% - 24px) / 1.25); height: 300px; position: relative; border-radius: 16px; overflow: hidden; color: #fff; }
@media (min-width: 640px) { .ns-dest { width: calc((100% - 48px) / 2.2); } }
@media (min-width: 1024px) { .ns-dest { width: calc((100% - 72px) / 3.6); } }
@media (min-width: 1280px) { .ns-dest { width: calc((100% - 80px) / 4.4); } }
.ns-dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ns-dest:hover img { transform: scale(1.1); }
.ns-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 45%, transparent 70%); }
.ns-dest__flag { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9999px; background: rgba(255,255,255,.92); color: #1f2937; font-size: 11px; font-weight: 500; }
.ns-dest__flag img { position: static; width: 16px; height: 11px; border-radius: 2px; }
.ns-dest__body { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; }
.ns-dest__body h3 { font-size: 18px; font-weight: 600; }
.ns-dest__body span { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 500; }
.ns-dest__body .ns-ico { width: 14px; height: 14px; color: #93c5fd; transition: transform .3s; }
.ns-dest:hover .ns-dest__body .ns-ico { transform: translateX(4px); }

/* students studying at: logo cards */
.ns-uni { width: calc((100% - 32px) / 2); min-height: 170px; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); text-align: center; transition: box-shadow .3s, transform .3s; }
@media (min-width: 768px) { .ns-uni { width: calc((100% - 64px) / 4); } }
@media (min-width: 1024px) { .ns-uni { width: calc((100% - 80px) / 6); } }
.ns-uni:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ns-uni img { height: 70px; width: 100%; object-fit: contain; }
.ns-uni span { font-size: 12px; font-weight: 500; line-height: 16px; color: #374151; }
.ns-track--uni { gap: 16px; }

/* testimonials: tab pills + quote cards */
.ns-tabs { display: inline-flex; gap: 6px; padding: 5px; margin: 0 auto 28px; border-radius: 9999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ns-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border: 0; border-radius: 9999px; background: transparent; font-size: 13px; font-weight: 500; color: #374151; transition: all .3s; }
.ns-tabs button.is-on { background: var(--brand); color: #fff; }
.ns-tabs .ns-ico { width: 14px; height: 14px; }
.ns-quote { width: calc((100% - 24px) / 1.1); display: flex; flex-direction: column; min-height: 270px; padding: 20px; background: #fff; border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 1px 3px rgba(0,0,0,.06); position: relative; transition: box-shadow .3s; }
@media (min-width: 768px) { .ns-quote { width: calc((100% - 48px) / 2.3); } }
@media (min-width: 1024px) { .ns-quote { width: calc((100% - 72px) / 4); } }
.ns-quote:hover { box-shadow: var(--shadow-lg); }
.ns-quote__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.ns-quote__badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 9999px; background: #ecfdf5; color: #047857; font-weight: 500; }
.ns-quote__badge .ns-ico { width: 12px; height: 12px; }
.ns-quote__loc { display: inline-flex; align-items: center; gap: 4px; color: var(--muted-2); }
.ns-quote__loc .ns-ico { width: 12px; height: 12px; color: var(--brand); }
.ns-quote blockquote { margin: 16px 0 0; flex: 1; font-size: 13px; line-height: 22px; color: #374151; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ns-quote__who { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.ns-quote__who img, .ns-quote__ini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.ns-quote__ini { display: grid; place-items: center; background: rgba(0,104,172,.12); color: var(--brand); font-size: 12px; font-weight: 600; }
.ns-quote__who strong { display: block; font-size: 13px; color: var(--ink); }
.ns-quote__who small { font-size: 11px; color: var(--muted-2); }
.ns-quote__mark { position: absolute; right: 16px; bottom: 14px; width: 40px; height: 40px; color: rgba(0,104,172,.08); }

/* past events: centred coverflow */
.ns-flow { position: relative; height: 340px; max-width: 1000px; margin: 0 auto; perspective: 1200px; }
.ns-flow__item { position: absolute; top: 0; left: 50%; width: min(540px, 86%); height: 300px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s; background: #e5e7eb; }
.ns-flow__item img { width: 100%; height: 100%; object-fit: cover; }
.ns-flow__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 50%); }
.ns-flow__cap { position: absolute; z-index: 2; left: 18px; bottom: 16px; right: 18px; color: #fff; }
.ns-flow__cap h3 { font-size: 16px; font-weight: 600; }
.ns-flow__cap span { font-size: 12px; opacity: .9; }
.ns-flow__nav { position: absolute; top: 130px; z-index: 10; }
.ns-flow__nav--prev { left: 0; } .ns-flow__nav--next { right: 0; }
.ns-center { text-align: center; margin-top: 28px; }

/* awards: 3 framed image cards */
.ns-awards { display: grid; gap: 24px; }
@media (min-width: 768px) { .ns-awards { grid-template-columns: repeat(3, 1fr); } }
.ns-award { height: 230px; border-radius: 12px; overflow: hidden; background: #f3f4f6; box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); transition: transform .4s, box-shadow .4s; }
.ns-award:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.ns-award .ns-ico { width: 40px; height: 40px; color: var(--brand); margin: 0 auto 10px; }
.ns-award strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* videos: 4-up 16:9 cards */
.ns-video { width: calc((100% - 24px) / 1.1); aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; position: relative; background: var(--navy); color: #fff; display: grid; place-items: center; text-align: center; padding: 16px; }
@media (min-width: 768px) { .ns-video { width: calc((100% - 48px) / 2.2); } }
@media (min-width: 1024px) { .ns-video { width: calc((100% - 72px) / 4); } }
.ns-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s; }
.ns-video:hover img { transform: scale(1.06); }
.ns-video > div { position: relative; }
.ns-video .ns-ico { width: 46px; height: 46px; margin: 0 auto 8px; color: #fff; }
.ns-video strong { font-size: 14px; }

/* connect with us: pills + two embed cards */
.ns-connect__pills { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.ns-connect__pills a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 14px; font-weight: 500; transition: background .3s; }
.ns-connect__pills a:hover { background: var(--brand-dark); }
.ns-connect__pills .ns-ico { width: 14px; height: 14px; }
.ns-connect { display: grid; gap: 24px; }
@media (min-width: 768px) { .ns-connect { grid-template-columns: 1fr 1fr; } }
.ns-social-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; min-height: 360px; }
.ns-social-card__cover { height: 110px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); position: relative; }
.ns-social-card__avatar { position: absolute; left: 20px; bottom: -28px; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.ns-social-card__avatar img { width: 54px; height: auto; }
.ns-social-card__body { flex: 1; padding: 40px 20px 20px; }
.ns-social-card__body h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.ns-social-card__body p { margin-top: 6px; font-size: 13px; color: var(--muted-2); }
.ns-social-card__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12px; color: #374151; }
.ns-social-card__foot a { color: var(--brand); font-weight: 500; }
.ns-social-card__foot span { display: inline-flex; gap: 6px; align-items: center; }
.ns-social-card__foot .ns-ico { width: 13px; height: 13px; }

/* let us assist you: points + dark CTA card | form card */
.ns-assist { display: grid; gap: 28px; }
@media (min-width: 1024px) { .ns-assist { grid-template-columns: 5fr 7fr; } }
.ns-assist__pt { display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .3s, transform .3s; }
.ns-assist__pt:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ns-assist__pt + .ns-assist__pt { margin-top: 14px; }
.ns-assist__ico { width: 40px; height: 40px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(0,104,172,.08); color: var(--brand); }
.ns-assist__ico .ns-ico { width: 18px; height: 18px; }
.ns-assist__pt h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.ns-assist__pt p { margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--muted-2); }
.ns-direct { margin-top: 14px; padding: 20px; border-radius: 12px; background: var(--footer); color: #fff; }
.ns-direct small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; }
.ns-direct h3 { margin-top: 4px; font-size: 18px; font-weight: 600; }
.ns-direct p { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.8); }
.ns-direct__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ns-direct__btns a { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
.ns-direct__btns a.is-wa { background: #25d366; color: #fff; }
.ns-direct__btns .ns-ico { width: 14px; height: 14px; }
.ns-formcard { padding: 28px; background: #fff; border: 1px solid #f1f5f9; border-radius: 16px; box-shadow: 0 10px 40px rgba(15,23,42,.06); }
.ns-formcard h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.ns-formcard > p { margin: 4px 0 18px; font-size: 13px; color: var(--muted-2); }

/* our branches: dark featured office + map */
.ns-branch { display: grid; gap: 24px; padding: 28px; border-radius: 16px; background: linear-gradient(135deg, #1e293b 0%, var(--footer) 100%); color: #fff; box-shadow: var(--shadow-xl); }
@media (min-width: 1024px) { .ns-branch { grid-template-columns: 1.4fr 1fr; padding: 32px; align-items: center; } }
.ns-branch__kick { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.ns-branch__kick i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; margin-right: 6px; vertical-align: 1px; }
.ns-branch h3 { margin-top: 8px; font-size: 28px; line-height: 1.2; font-weight: 700; }
@media (min-width: 1024px) { .ns-branch h3 { font-size: 34px; } }
.ns-branch__addr { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(255,255,255,.04); font-size: 14px; }
.ns-branch__addr small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ns-branch__addr .ns-assist__ico { background: rgba(96,165,250,.18); color: #93c5fd; }
.ns-branch__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ns-branch__btns .ns-btn--ghostd { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.ns-branch__map { height: 240px; border-radius: 12px; overflow: hidden; background: #e5e7eb; }
.ns-branch__map iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   ABOUT
   ========================================================= */
.ns-about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .ns-about { grid-template-columns: 5fr 7fr; gap: 48px; } }
.ns-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 420px; margin: 0 auto; }
.ns-collage__a { grid-row: span 2; border-radius: 12px 0 0 0; overflow: hidden; }
.ns-collage img { width: 100%; height: 100%; object-fit: cover; }
.ns-collage__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ns-collage__nums div { background: var(--footer); color: #fff; text-align: center; padding: 10px 4px; }
.ns-collage__nums div:last-child { border-radius: 0 12px 0 0; }
.ns-collage__nums strong { display: block; font-size: 26px; line-height: 1.1; font-weight: 700; }
.ns-collage__nums span { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.ns-collage__b { overflow: hidden; height: 220px; }
.ns-collage__c { grid-column: span 2; height: 120px; overflow: hidden; border-radius: 0 0 12px 12px; }
.ns-collage__badge { position: absolute; left: 50%; bottom: -24px; transform: translateX(-30%); display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-xl); }
.ns-collage__badge .ns-assist__ico { width: 36px; height: 36px; }
.ns-collage__badge strong { display: block; font-size: 18px; color: var(--ink); }
.ns-collage__badge span { font-size: 11px; color: var(--muted-2); }
.ns-about__text p { font-size: 15px; line-height: 26px; color: #4b5563; text-align: justify; }
.ns-about__text p + p { margin-top: 18px; }
.ns-about__feats { display: grid; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .ns-about__feats { grid-template-columns: 1fr 1fr; } }
.ns-about__feats li { display: flex; gap: 10px; }
.ns-about__feats .ns-ico { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.ns-about__feats strong { display: block; font-size: 13px; color: var(--ink); }
.ns-about__feats span { font-size: 12px; color: var(--muted-2); }
/* mission / vision alternating rows */
.ns-mv { display: grid; gap: 32px; align-items: center; padding: 32px 0; }
@media (min-width: 1024px) { .ns-mv { grid-template-columns: 1fr 1fr; gap: 64px; } .ns-mv--rev .ns-mv__art { order: 2; } }
.ns-mv__art { position: relative; height: 320px; border-radius: 24px; background: #f9fafb; display: grid; place-items: center; overflow: hidden; }
.ns-mv__art::before { content: ""; position: absolute; width: 70%; height: 70%; right: -10%; top: -10%; border-radius: 40% 60% 55% 45%; background: rgba(0,104,172,.08); }
.ns-mv__art .ns-ico { position: relative; width: 150px; height: 150px; color: #6b8fb3; stroke-width: 1.2; }
.ns-mv h2 { font-size: 30px; line-height: 37.5px; font-weight: 700; color: var(--ink); text-align: center; }
@media (min-width: 1024px) { .ns-mv h2 { font-size: 40px; line-height: 50px; } }
.ns-mv p { margin-top: 18px; font-size: 14px; line-height: 20px; color: #4b5563; text-align: justify; }
.ns-mv blockquote { margin: 24px 0 0; padding-left: 14px; border-left: 3px solid var(--brand); font-style: italic; font-size: 18px; line-height: 28px; font-weight: 500; color: #4b5563; }

/* =========================================================
   SERVICES
   ========================================================= */
.ns-svc { display: grid; gap: 24px; }
@media (min-width: 640px) { .ns-svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ns-svc { grid-template-columns: repeat(3, 1fr); } }
.ns-svc__card { padding: 24px; }
.ns-svc__top { display: flex; justify-content: space-between; align-items: center; }
.ns-svc__ico { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: #f9fafb; color: var(--brand); }
.ns-svc__ico .ns-ico { width: 24px; height: 24px; }
.ns-svc__step { padding: 4px 12px; border-radius: 9999px; background: #f3f4f6; font-size: 11px; font-weight: 600; color: #4b5563; }
.ns-svc__card h3 { margin-top: 18px; font-size: 18px; font-weight: 600; color: var(--ink); }
.ns-svc__card p { margin-top: 10px; font-size: 13px; line-height: 21px; color: var(--muted-2); }
.ns-band { position: relative; padding: 48px 0; background: var(--footer); color: #fff; text-align: center; overflow: hidden; }
.ns-band::before, .ns-band::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 32px; background: rgba(255,255,255,.04); transform: rotate(45deg); }
.ns-band::before { right: 60px; top: -60px; } .ns-band::after { right: -40px; bottom: -80px; }
.ns-band h2 { font-size: 30px; font-weight: 700; }
@media (min-width: 1024px) { .ns-band h2 { font-size: 36px; } }
.ns-band p { max-width: 640px; margin: 14px auto 0; font-size: 14px; line-height: 24px; color: rgba(255,255,255,.85); }
.ns-commit__card { padding: 24px; }
.ns-commit__card .ns-svc__ico { background: rgba(0,104,172,.08); }

/* =========================================================
   TEAM
   ========================================================= */
.ns-lead { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .ns-lead { grid-template-columns: 5fr 7fr; } }
.ns-lead__photo { position: relative; height: 480px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #e5edf5, #cbd5e1); }
.ns-lead__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ns-lead__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent 40%); }
.ns-lead__ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: 96px; font-weight: 700; color: rgba(0,104,172,.35); }
.ns-lead__cap { position: absolute; z-index: 2; left: 22px; bottom: 22px; color: #fff; }
.ns-lead__cap strong { display: block; font-size: 24px; font-weight: 700; }
.ns-lead__cap span { font-size: 14px; opacity: .9; }
.ns-lead__msg { padding: 28px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 26px; color: #374151; }
.ns-lead__sig { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.ns-lead__sig i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.ns-lead__sig .ns-ico { width: 22px; height: 22px; }
.ns-lead__sig strong { display: block; font-size: 15px; color: var(--ink); }
.ns-lead__sig span { font-size: 13px; color: var(--muted-2); }
.ns-belief { padding: 24px 28px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); font-size: 16px; line-height: 26px; font-style: italic; color: #1f2937; }
.ns-team { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .ns-team { grid-template-columns: repeat(4, 1fr); } }
.ns-member { overflow: hidden; text-align: center; }
.ns-member__ph { height: 230px; background: linear-gradient(180deg, #f8fafc, #e2e8f0); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.ns-member__ph img { height: 100%; width: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.ns-member:hover .ns-member__ph img { transform: scale(1.05); }
.ns-member__ini { align-self: center; font-size: 48px; font-weight: 700; color: rgba(0,104,172,.4); }
.ns-member__body { padding: 16px 14px 20px; }
.ns-member__body strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.ns-member__body span { display: block; margin-top: 4px; font-size: 13px; color: var(--brand); }
.ns-bg-page { background: #f7f7f7; }

/* ---------- phones ---------- */
@media (max-width: 767px) {
    .ns-head--row { flex-direction: column; align-items: center; }
    .ns-head--row .ns-arrows { position: static; margin-top: 14px; }
    .ns-hero { min-height: 560px; }
    .ns-why__card { padding: 22px; }
    .ns-flow { height: 280px; } .ns-flow__item { height: 230px; } .ns-flow__nav { top: 95px; }
    .ns-lead__photo { height: 380px; }
    .ns-collage__badge { transform: translateX(-50%); }
    .ns-footer__links a, .ns-footer__bar a { display: inline-block; padding: 6px 0; }
}

/* ---------- marquee (duplicate the items inside .ns-marquee__track) ---------- */
.ns-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ns-marquee__track { display: flex; gap: 24px; width: max-content; animation: ns-marquee-l var(--marquee-speed, 40s) linear infinite; }
.ns-marquee--right .ns-marquee__track { animation-name: ns-marquee-r; }
.ns-marquee:hover .ns-marquee__track { animation-play-state: paused; }
@keyframes ns-marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ns-marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes ns-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.ns-ping { animation: ns-ping 1.5s ease-in-out infinite; }
.ns-grayscale img { filter: grayscale(1); transition: filter .3s; } .ns-grayscale:hover img { filter: none; }
.ns-dest::after { transition: background .5s; } .ns-dest:hover::after { background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 50%, transparent 75%); }
.ns-btn:not(.ns-btn--block):hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .ns-marquee__track, .ns-hero__bg, .ns-ping { animation: none; } }
.ns-why > *, .ns-assist > *, .ns-about > *, .ns-mv > *, .ns-branch > *, .ns-form__row > *, .ns-why__card > * { min-width: 0; }
@media (max-width: 639px) { .ns-why__card, .ns-formcard { padding: 20px; } }
main#main { overflow-x: clip; }
.ns-mv .ns-underline { margin-left: auto; margin-right: auto; }
