/* Bdsdongtien.land — Editorial Design System
   teal #2DBDB6 · teal-d #239A94 · navy #0E2A31 · orange #F5A623 · orange-d #C9521E · Montserrat */
:root {
  --ndt-teal: #2DBDB6;
  --ndt-teal-d: #239A94;
  --ndt-navy: #0E2A31;
  --ndt-card-navy: #1A2C40;
  --ndt-orange: #F5A623;
  --ndt-orange-d: #C9521E;
  --ndt-grey: #F8FAFA;
  --ndt-text: #1F2937;
  --ndt-sub: #6B7280;
  --ndt-line: #E5E7EB;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: var(--ndt-navy); }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--ndt-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: 'Montserrat', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ndt-navy); font-weight: 800; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- TOP BAR ---------- */
.header-top {
  background: linear-gradient(90deg, #C9521E, #EF685D);
  min-height: 38px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.header-container { max-width: 1110px; margin: 0 auto; padding: 0 20px; }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.top-contact { display: flex; align-items: center; flex-wrap: wrap; }
.top-contact a, .top-contact span.top-item {
  display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600;
  font-size: 12px; padding: 4px 12px 4px 0; margin-right: 12px; position: relative; white-space: nowrap;
}
.top-contact > *:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  height: 12px; border-right: 1px solid rgba(255,255,255,.35);
}
.top-contact svg { width: 13px; height: 13px; flex-shrink: 0; }
.top-social { display: flex; align-items: center; gap: 12px; }
.top-social a { color: #fff; display: inline-flex; align-items: center; opacity: .92; transition: opacity .15s; }
.top-social a:hover { opacity: 1; }
.top-social svg { width: 14px; height: 14px; }
.top-mobile-msg {
  display: none; width: 100%; text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: .3px; line-height: 1.35; padding: 8px 0; text-transform: uppercase;
}

/* ---------- STICKY HEADER ---------- */
.header-main {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ndt-line); box-shadow: 0 1px 0 var(--ndt-line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wordmark {
  display: inline-flex; align-items: baseline; flex-shrink: 0; margin-right: 8px;
  font-size: 20px; font-weight: 900; letter-spacing: -.4px; white-space: nowrap;
}
.wordmark .wm-main { color: #EA6D1F; }
.wordmark .wm-tld { color: #239A94; font-weight: 800; }

.nav-desktop { display: flex; align-items: center; gap: 14px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600;
  color: var(--ndt-text); padding: 10px 0; white-space: nowrap; position: relative; transition: color .15s;
}
.nav-link:hover, .nav-link.active { color: var(--ndt-teal-d); }
.nav-link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--ndt-teal); transform: scaleX(0); transition: transform .18s;
}
.nav-link:hover::before, .nav-link.active::before { transform: scaleX(1); }

.nav-btn-teal {
  display: inline-block; font-size: 13.5px; font-weight: 800; padding: 9px 14px;
  border-radius: 10px; border: 2px solid var(--ndt-teal); color: var(--ndt-teal-d);
  white-space: nowrap; transition: transform .15s, background .15s;
}
.nav-btn-teal:hover { transform: translateY(-1px); background: rgba(45,189,182,.08); }
.nav-btn-orange {
  display: inline-block; font-size: 13.5px; font-weight: 800; padding: 9px 15px;
  border-radius: 10px; border: 2px solid var(--ndt-orange); background: var(--ndt-orange); color: #fff;
  box-shadow: 0 8px 18px rgba(245,166,35,.3); white-space: nowrap; transition: transform .15s;
}
.nav-btn-orange:hover { transform: translateY(-1px); }

.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 248px; background: #fff;
  border: 1px solid var(--ndt-line); border-radius: 12px; box-shadow: 0 14px 36px rgba(14,42,49,.14);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 60;
}
.nav-item.has-drop:hover .nav-dropdown, .nav-item.has-drop:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: var(--ndt-text); transition: background .12s, color .12s;
}
.nav-dropdown a:hover { background: var(--ndt-grey); color: var(--ndt-teal-d); }
.nav-dropdown a em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--ndt-sub); }

.header-search { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.header-search-input {
  position: absolute; right: 44px; top: 0; width: 0; opacity: 0; pointer-events: none;
  height: 38px; border-radius: 10px; border: 1px solid var(--ndt-line); background: #fff;
  box-shadow: 0 8px 20px rgba(31,41,55,.12); padding: 0 12px; font-size: 13.5px; color: var(--ndt-text);
  transition: width .2s, opacity .2s;
}
.header-search:hover .header-search-input,
.header-search:focus-within .header-search-input,
.header-search.open .header-search-input { width: 220px; opacity: 1; pointer-events: auto; }
.header-search-btn {
  width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--ndt-teal);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.header-search-btn:hover { background: var(--ndt-teal-d); }
.header-search-btn svg { width: 17px; height: 17px; }

.mobile-menu-btn, .mobile-search-btn {
  display: none; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; padding: 0;
}
.mobile-menu-btn { width: 38px; height: 38px; color: var(--ndt-navy); }
.mobile-search-btn { width: 36px; height: 36px; border-radius: 999px; background: var(--ndt-teal); color: #fff; }

.mobile-drawer {
  position: fixed; inset: 0; background: var(--ndt-navy); z-index: 100;
  display: none; flex-direction: column; padding: 24px 20px 32px; overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 14px;
}
.mobile-drawer-head strong { color: #fff; font-size: 16px; font-weight: 800; }
.mobile-drawer-close {
  background: rgba(255,255,255,.12); border: 0; color: #fff; width: 38px; height: 38px;
  border-radius: 10px; font-size: 22px; cursor: pointer;
}
.mobile-drawer a {
  display: block; padding: 12px 4px; color: #fff; font-size: 15px; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-drawer a.hl { color: var(--ndt-orange); font-weight: 800; }
.mobile-drawer a.sub { padding-left: 16px; font-size: 13.5px; color: #C9DADD; font-weight: 600; }

/* ---------- HOME SECTIONS (.ndt) ---------- */
.ndt { color: var(--ndt-text); font-size: 16px; line-height: 1.6; }
.ndt-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ndt-sec { padding: 64px 0; }
.ndt-sec[id] { scroll-margin-top: 70px; }
.ndt-grey { background: var(--ndt-grey); }
.ndt h2 {
  font-size: 34px; font-weight: 800; text-align: center; line-height: 1.25;
  max-width: 840px; margin: 0 auto; text-wrap: balance; color: var(--ndt-navy);
}
.ndt h2.l { text-align: left; margin: 0; }
.ndt h3 { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0; }
.ndt-eyebrow {
  color: var(--ndt-teal-d); font-weight: 700; letter-spacing: 1.5px; font-size: 14px;
  text-align: center; margin-bottom: 10px; text-transform: uppercase;
}
.ndt-eyebrow.l { text-align: left; }
.ndt-lead { font-size: 16.5px; color: var(--ndt-sub); text-align: center; max-width: 780px; margin: 14px auto 0; line-height: 1.65; }
.ndt-p { font-size: 16px; color: var(--ndt-sub); margin-top: 14px; line-height: 1.7; }
.ndt-p b, .ndt-p strong { color: var(--ndt-text); }
.ndt-p a { color: var(--ndt-teal-d); font-weight: 700; }

.ndt-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ndt-cta {
  display: inline-block; background: var(--ndt-orange); color: #fff; font-weight: 800;
  font-size: 17px; padding: 14px 24px; border-radius: 12px;
  box-shadow: 0 12px 26px rgba(245,166,35,.38); transition: transform .15s; cursor: pointer; border: 0;
}
.ndt-cta:hover { transform: translateY(-2px); color: #fff; }
.ndt-ghost {
  display: inline-block; color: var(--ndt-teal-d); font-weight: 800; font-size: 15px;
  padding: 12px 19px; border: 2px solid var(--ndt-teal); border-radius: 12px; transition: background .15s;
}
.ndt-ghost.t { margin: 20px 0 0; }
.ndt-ghost.t:hover { background: rgba(45,189,182,.1); color: var(--ndt-teal-d); }
.ndt-badge {
  display: inline-block; background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.3); font-weight: 700; letter-spacing: 1px;
  padding: 8px 18px; border-radius: 16px; font-size: 13px;
}

/* ---------- HERO ---------- */
.ndt-hero { position: relative; background: var(--ndt-navy); color: #fff; overflow: hidden; }
.ndt-hbg { position: absolute; inset: 0; }
.ndt-hbg img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; display: block; }
.ndt-hbg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,42,49,.96) 0%, rgba(14,42,49,.88) 40%, rgba(14,42,49,.62) 68%, rgba(14,42,49,.48) 100%),
    linear-gradient(0deg, rgba(14,42,49,.92) 0%, rgba(14,42,49,0) 42%);
}
.ndt-hero .ndt-wrap {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px;
  align-items: center; min-height: min(86vh, 700px); padding-top: 48px; padding-bottom: 88px;
}
.ndt-hero h1 {
  font-size: 44px; font-weight: 900; line-height: 1.14; margin: 16px 0;
  color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); text-wrap: balance;
}
.ndt-hero h1 em { font-style: normal; color: #5FE3DC; }
.ndt-sub { font-size: 17.5px; color: #DCE8EA; line-height: 1.6; margin-bottom: 26px; font-weight: 500; max-width: 550px; }
.ndt-sub b { color: #fff; }
.ndt-hero .ndt-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.ndt-hero .ndt-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.ndt-fud { color: #C9DADD; font-weight: 600; font-size: 14px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ndt-fud span { white-space: nowrap; }

.ndt-board { background: #fff; color: var(--ndt-text); border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.45); overflow: hidden; }
.ndt-board .bh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--ndt-line); }
.ndt-board .bh b { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--ndt-teal-d); }
.ndt-board .bh span { font-size: 12px; font-weight: 600; color: var(--ndt-sub); }
.ndt-row {
  display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 13px; align-items: center;
  padding: 8.5px 18px; border-bottom: 1px solid var(--ndt-line); color: var(--ndt-text); transition: background .15s;
}
.ndt-row:hover { background: rgba(45,189,182,.07); }
.ndt-row img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; display: block; }
.ndt-row .n b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ndt-navy); line-height: 1.3; }
.ndt-row i { font-style: normal; font-weight: 900; color: var(--ndt-orange-d); font-size: 16px; }
.ndt-board .bf { padding: 12px 18px; font-size: 13px; color: var(--ndt-sub); background: var(--ndt-grey); line-height: 1.5; font-weight: 600; }
.ndt-board .bf a { color: var(--ndt-teal-d); font-weight: 800; }

/* ---------- STATS BAR ---------- */
.ndt-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ndt-line);
  border-radius: 18px; overflow: hidden; background: #fff; position: relative; z-index: 2;
  margin-top: -44px; box-shadow: 0 18px 44px rgba(14,42,49,.14);
}
.ndt-stat { padding: 24px 14px; text-align: center; border-right: 1px solid var(--ndt-line); }
.ndt-stat:last-child { border: 0; }
.ndt-stat b { display: block; font-size: 25px; font-weight: 900; color: var(--ndt-navy); line-height: 1.3; }
.ndt-stat b.o { color: var(--ndt-orange-d); }
.ndt-stat span { font-size: 12.5px; color: var(--ndt-sub); font-weight: 600; display: block; margin-top: 3px; }

/* ---------- 3-COL FEATURED POSTS ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(31,41,55,.08); border: 1px solid var(--ndt-line);
  transition: transform .15s, box-shadow .15s; height: 100%;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31,41,55,.14); }
.post-card .p-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ndt-navy); }
.post-card .p-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .p-img img { transform: scale(1.04); }
.post-card .p-cat {
  position: absolute; top: 12px; left: 12px; background: rgba(14,42,49,.86); color: #5FE3DC;
  font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 9px; border-radius: 7px;
}
.post-card .p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .p-meta { color: var(--ndt-teal-d); font-weight: 800; font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 6px; }
.post-card .p-title { font-size: 16.5px; font-weight: 800; line-height: 1.38; color: var(--ndt-navy); margin-bottom: 8px; }
.post-card .p-desc { font-size: 13.5px; color: var(--ndt-sub); line-height: 1.55; margin-bottom: 14px; }
.post-card .p-more { margin-top: auto; font-size: 13.5px; font-weight: 800; color: var(--ndt-teal-d); }
.ndt-more { text-align: center; margin-top: 26px; font-weight: 800; font-size: 16px; }
.ndt-more a { color: var(--ndt-teal-d); }
.ndt-more a:hover { color: var(--ndt-orange-d); }

/* ---------- MODELS & ACCORDIONS ---------- */
.ndt-models { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; align-items: start; }
.ndt-model {
  background: #fff; color: var(--ndt-text); border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 26px rgba(31,41,55,.08); border: 1px solid var(--ndt-line);
}
.ndt-model .pic { height: 225px; overflow: hidden; background: var(--ndt-navy); }
.ndt-model .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.ndt-model .bd { padding: 22px 24px 20px; }
.ndt-model h3 { font-size: 21px; color: var(--ndt-navy); margin-bottom: 6px; }
.ndt details { border-bottom: 1px solid var(--ndt-line); padding: 14px 0; }
.ndt details:last-child { border-bottom: 0; }
.ndt summary {
  font-weight: 800; font-size: 15.5px; cursor: pointer; list-style: none;
  padding-right: 30px; position: relative; color: var(--ndt-navy);
}
.ndt summary::-webkit-details-marker { display: none; }
.ndt summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--ndt-teal-d); font-size: 22px; line-height: 1; font-weight: 700; }
.ndt details[open] summary::after { content: "–"; }
.ndt details p, .ndt details ul { color: var(--ndt-sub); margin-top: 10px; font-size: 14.5px; line-height: 1.65; }
.ndt details ul { padding-left: 20px; list-style: disc; }
.ndt details li { margin: 6px 0 0; }
.ndt details p b, .ndt details p strong, .ndt details li strong { color: var(--ndt-text); }

/* ---------- STAGE FILTER & 7 REAL BUILDINGS ---------- */
.stage-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.stage-tab {
  background: #fff; border: 1.5px solid var(--ndt-line); color: var(--ndt-navy);
  font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.stage-tab:hover { border-color: var(--ndt-teal); color: var(--ndt-teal-d); }
.stage-tab.active { background: var(--ndt-navy); border-color: var(--ndt-navy); color: #fff; box-shadow: 0 8px 18px rgba(14,42,49,.18); }

.stage-group { margin-top: 32px; scroll-margin-top: 84px; }
.stage-group.hidden-group { display: none; }
.stage-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--ndt-line);
}
.stage-head-left { display: flex; align-items: center; gap: 10px; }
.stage-dot { width: 11px; height: 11px; border-radius: 999px; flex-shrink: 0; }
.stage-head h3 { font-size: 18.5px; font-weight: 800; color: var(--ndt-navy); }
.stage-count { font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.st-live { background: #E6F7F6; color: #177873; }
.st-fin { background: #FEF3DC; color: #B45309; }
.st-build { background: #FDECE6; color: #C9521E; }
.st-sold { background: #E5E7EB; color: #374151; }

.ndt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ndt-grid.cols-1 { grid-template-columns: 1fr; }
.ndt-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ndt-line); box-shadow: 0 10px 26px rgba(31,41,55,.07);
  transition: transform .15s, box-shadow .15s; scroll-margin-top: 90px;
}
.ndt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31,41,55,.13); }
.ndt-card.featured-wide { display: grid; grid-template-columns: 44% 56%; }
.ndt-card .pic { position: relative; display: block; height: 225px; overflow: hidden; background: var(--ndt-navy); }
.ndt-card.featured-wide .pic { height: 100%; min-height: 270px; }
.ndt-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ndt-card:hover .pic img { transform: scale(1.04); }
.ndt-card.sold-card .pic img { filter: grayscale(65%); opacity: .82; }
.ndt-card .t1 {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  padding: 5px 10px; border-radius: 8px; color: #fff;
}
.t1-live { background: #17857F; }
.t1-fin { background: #D97706; }
.t1-build { background: #C9521E; }
.t1-sold { background: rgba(17,24,39,.9); color: #FCD34D !important; }
.ndt-card .bd { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.ndt-card .bd small { color: var(--ndt-teal-d); font-weight: 800; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; }
.ndt-card .h3 { font-size: 19.5px; font-weight: 800; line-height: 1.3; color: var(--ndt-navy); margin: 6px 0 8px; }
.ndt-card .ds { font-size: 13.5px; color: var(--ndt-sub); line-height: 1.6; margin-bottom: 14px; }
.spec-box {
  background: var(--ndt-grey); border: 1px solid var(--ndt-line); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px;
}
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.spec-row span { color: var(--ndt-sub); font-weight: 500; }
.spec-row strong { color: var(--ndt-navy); font-weight: 800; text-align: right; }
.spec-row strong.teal { color: var(--ndt-teal-d); }
.spec-row strong.orange { color: var(--ndt-orange-d); }
.ndt-card .go.two { margin-top: auto; display: flex; gap: 10px; }
.ndt-card .go.two a {
  flex: 1; text-align: center; padding: 11px 10px; border-radius: 10px;
  border: 2px solid var(--ndt-teal); color: var(--ndt-teal-d); background: #fff;
  font-size: 13px; font-weight: 800; transition: transform .15s;
}
.ndt-card .go.two a:first-child { background: var(--ndt-orange); border-color: var(--ndt-orange); color: #fff; }
.ndt-card .go.two a:hover { transform: translateY(-1px); }
.sold-stamp {
  margin-top: auto; background: #F3F4F6; color: #4B5563; border-radius: 10px;
  padding: 10px 14px; font-size: 12.5px; font-weight: 700; text-align: center;
}

/* ---------- MINI GALLERY, VIDEO TOUR & LIGHTBOX ---------- */
.mini-gal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 10px 14px 0; background: #fff; }
.mini-gal button, .media-thumb {
  border: 1px solid var(--ndt-line); padding: 0; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4 / 3; cursor: pointer; background: var(--ndt-navy); display: block;
}
.mini-gal img, .media-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.mini-gal button:hover img, .media-thumb:hover img { transform: scale(1.08); }
.media-vid-box { position: relative; background: #091B20; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-vid-box video { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: 4px 10px; border-radius: 999px; background: #E6F7F6; color: #177873; margin-bottom: 8px; }
.media-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.media-hint { font-size: 12px; color: var(--ndt-sub); font-weight: 600; margin-top: 8px; }

.lb-modal {
  position: fixed; inset: 0; background: rgba(9,25,30,.94); z-index: 120;
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 20px;
}
.lb-modal.open { display: flex; }
.lb-inner { max-width: 960px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-inner img { max-height: 76vh; max-width: 100%; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.55); object-fit: contain; background: #000; }
.lb-cap { color: #E5F2F3; font-size: 14px; font-weight: 700; margin-top: 14px; text-align: center; }
.lb-close {
  position: fixed; top: 16px; right: 18px; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3); background: rgba(14,42,49,.85); color: #fff; font-size: 24px; cursor: pointer;
}
.lb-nav { display: flex; gap: 12px; margin-top: 12px; }
.lb-nav button {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-weight: 800; font-size: 13px; padding: 8px 16px; border-radius: 10px; cursor: pointer;
}
.lb-nav button:hover { background: var(--ndt-teal-d); border-color: var(--ndt-teal-d); }

/* ---------- EDUCATIONAL ROI CALCULATOR ---------- */
.roi-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; margin-top: 34px; align-items: start; }
.roi-box { background: #fff; border-radius: 18px; padding: 24px; border: 2px solid var(--ndt-teal); box-shadow: 0 12px 30px rgba(14,42,49,.08); }
.roi-box label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ndt-sub); margin-bottom: 8px; }
.roi-box select { width: 100%; padding: 12px 14px; border: 1px solid var(--ndt-line); border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--ndt-navy); background: var(--ndt-grey); margin-bottom: 16px; }
.roi-result { background: var(--ndt-grey); border: 1px solid var(--ndt-line); border-radius: 12px; padding: 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.roi-result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; }
.roi-result-row span { color: var(--ndt-sub); font-weight: 600; }
.roi-result-row strong { font-weight: 800; color: var(--ndt-navy); text-align: right; }
.roi-result-row strong.big { font-size: 19px; color: var(--ndt-orange-d); font-weight: 900; }
.roi-result-row strong.teal { color: var(--ndt-teal-d); }

.cmp-wrap { background: #fff; border-radius: 18px; border: 1px solid var(--ndt-line); box-shadow: 0 10px 26px rgba(31,41,55,.07); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cmp-table th, .cmp-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--ndt-line); vertical-align: top; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th { background: var(--ndt-grey); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--ndt-navy); }
.cmp-table th.hl, .cmp-table td.hl { background: #EDF9F8; color: #0F5E5A; font-weight: 800; border-left: 2px solid var(--ndt-teal); }
.cmp-table td.bad { color: #B91C1C; font-weight: 600; }

/* ---------- ABOUT + FORM (.ndt-close) ---------- */
.ndt-close { background: linear-gradient(180deg, var(--ndt-navy), var(--ndt-card-navy)); color: #fff; }
.ndt-close .ndt-wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: start; }
.ndt-close .ndt-wrap.ndt-f2 { display: block; }
.ndt-close h2, .ndt-close h2 a { color: #fff; }
.ndt-close .ndt-eyebrow { color: var(--ndt-teal); }
.ndt-close .ndt-about details { border-color: rgba(255,255,255,.16); }
.ndt-close .ndt-about details:first-of-type { margin-top: 16px; }
.ndt-close summary { color: #fff; }
.ndt-close summary::after { color: var(--ndt-teal); }
.ndt-close details p, .ndt-close details ul { color: #B7C7CB; }
.ndt-close details p strong, .ndt-close details li strong, .ndt-close details p b { color: #fff; }
.ndt-close details a { color: #5FE3DC; }

.ndt-form { background: #fff; color: var(--ndt-text); border-radius: 18px; padding: 26px 28px 24px; border: 2px solid #1cbab4; box-shadow: 0 24px 56px rgba(0,0,0,.28); }
.ndt-form h3 { font-size: 22px; color: var(--ndt-navy); }
.ndt-form .ndt-fs { color: var(--ndt-sub); font-size: 13.5px; font-weight: 600; margin: 6px 0 18px; }
.ndt-field { margin-bottom: 12px; }
.ndt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ndt-field label, .ndt-field-row label { display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; color: #374151; margin-bottom: 5px; letter-spacing: .3px; }
.ndt-field label.ref-lbl, .ndt-field-row label.ref-lbl { color: var(--ndt-orange-d); }
.ndt-form input[type=text], .ndt-form input[type=tel], .ndt-form input[type=email], .ndt-form select, .ndt-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ndt-line); border-radius: 10px;
  font-size: 14.5px; background: #fff; color: var(--ndt-text); min-height: 46px; font-weight: 500; outline: none;
}
.ndt-form input[name="referrer_phone"] { border-color: #F3C47C; background: #FFFBF5; }
.ndt-form textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.ndt-form input:focus, .ndt-form select:focus, .ndt-form textarea:focus { border-color: var(--ndt-teal); box-shadow: 0 0 0 3px rgba(45,189,182,.15); }
.ndt-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--ndt-sub); line-height: 1.5; margin: 12px 0 14px; }
.ndt-agree input { margin-top: 3px; flex-shrink: 0; accent-color: var(--ndt-teal-d); }
.ndt-submit {
  width: 100%; background: var(--ndt-orange); border: 0; color: #fff; font-weight: 800; font-size: 18px;
  padding: 12px 20px; min-height: 54px; border-radius: 12px; box-shadow: 0 12px 26px rgba(245,166,35,.38); cursor: pointer;
}
.ndt-submit:hover { transform: translateY(-1px); }
.form-status { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.form-status.ok { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.warn { display: block; background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

.ndt-follow { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: center; gap: 14px; }
.ndt-follow a {
  width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35);
  color: #DCE8EA; display: inline-flex; align-items: center; justify-content: center;
}
.ndt-follow a:hover { border-color: #5FE3DC; color: #5FE3DC; }
.ndt-follow svg { width: 18px; height: 18px; }

/* ---------- BLOG ARCHIVE & ARTICLE READER (2-COLUMN EDITORIAL) ---------- */
.blog-page { background: var(--ndt-grey); padding: 36px 0 64px; min-height: 75vh; }
.blog-layout { max-width: 1110px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.blog-header-box { margin-bottom: 22px; }
.blog-breadcrumb { font-size: 12.5px; font-weight: 600; color: var(--ndt-sub); margin-bottom: 8px; }
.blog-breadcrumb a { color: var(--ndt-teal-d); font-weight: 700; }
.blog-header-box h1 { font-size: 28px; font-weight: 900; color: var(--ndt-navy); }
.blog-header-box p { font-size: 14.5px; color: var(--ndt-sub); margin-top: 6px; }

.archive-card {
  background: #fff; border-radius: 18px; box-shadow: 0 10px 26px rgba(31,41,55,.07);
  padding: 24px 26px 18px; margin-bottom: 24px; border: 1px solid var(--ndt-line);
}
.archive-cat { color: var(--ndt-teal-d); font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.archive-title { font-size: 23px; font-weight: 800; line-height: 1.32; color: var(--ndt-navy); margin-bottom: 8px; }
.archive-title a:hover { color: var(--ndt-teal-d); }
.archive-meta { font-size: 11.5px; font-weight: 700; color: var(--ndt-sub); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 16px; }
.archive-split { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 22px; align-items: start; }
.archive-thumb { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ndt-navy); display: block; }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.archive-thumb:hover img { transform: scale(1.04); }
.date-badge {
  position: absolute; top: 10px; left: 10px; background: var(--ndt-navy); color: #fff;
  border-radius: 10px; padding: 6px 9px; text-align: center; line-height: 1.1; font-weight: 800;
}
.date-badge strong { display: block; font-size: 15px; }
.date-badge span { font-size: 10.5px; opacity: .9; }
.archive-excerpt { font-size: 14.5px; color: var(--ndt-sub); line-height: 1.65; margin-bottom: 16px; }
.archive-btn {
  display: inline-block; padding: 9px 16px; border-radius: 10px; border: 2px solid var(--ndt-teal);
  color: var(--ndt-teal-d); font-size: 13px; font-weight: 800; transition: background .15s;
}
.archive-btn:hover { background: rgba(45,189,182,.1); }
.archive-foot {
  margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ndt-line);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--ndt-sub); font-weight: 600;
}
.archive-foot a { color: var(--ndt-teal-d); font-weight: 700; }

/* Sidebar Widgets */
.sidebar-widget {
  background: #fff; border-radius: 16px; box-shadow: 0 8px 20px rgba(31,41,55,.06);
  padding: 20px 22px; margin-bottom: 22px; border: 1px solid var(--ndt-line);
}
.widget-title { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--ndt-teal-d); text-transform: uppercase; }
.widget-div { width: 34px; height: 3px; background: var(--ndt-teal); border-radius: 2px; margin: 10px 0 14px; }
.cat-list li { border-bottom: 1px solid var(--ndt-line); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 0;
  font-size: 14px; font-weight: 600; color: var(--ndt-navy); transition: color .15s;
}
.cat-list a:hover, .cat-list a.active { color: var(--ndt-teal-d); font-weight: 800; }
.cat-list span.cnt { color: var(--ndt-sub); font-size: 12.5px; font-weight: 600; }
.widget-about p { font-size: 13.5px; color: var(--ndt-sub); line-height: 1.65; }

/* Full Article Reader */
.article-shell {
  background: #fff; border-radius: 18px; box-shadow: 0 10px 26px rgba(31,41,55,.07);
  padding: 30px 32px 34px; border: 1px solid var(--ndt-line);
}
.article-shell h1 { font-size: 28px; font-weight: 900; color: var(--ndt-navy); line-height: 1.28; margin: 8px 0 12px; }
.article-hero-img { width: 100%; max-height: 430px; object-fit: cover; border-radius: 14px; margin: 18px 0 22px; display: block; }
#ez-toc-container {
  background: var(--ndt-grey); border: 1px solid var(--ndt-line); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 24px;
}
.ez-toc-title { font-weight: 800; color: var(--ndt-navy); font-size: 15px; margin-bottom: 8px; }
#ez-toc-container ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
#ez-toc-container a { color: var(--ndt-text); font-weight: 600; }
#ez-toc-container a:hover { color: var(--ndt-teal-d); }
.entry-content { font-size: 16px; line-height: 1.78; color: var(--ndt-text); }
.entry-content h2 { font-size: 22px; font-weight: 800; color: var(--ndt-navy); margin: 28px 0 12px; text-align: left; scroll-margin-top: 80px; }
.entry-content p { margin-bottom: 14px; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 16px; list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  margin: 18px 0; border-left: 4px solid var(--ndt-teal); background: rgba(45,189,182,.08);
  border-radius: 10px; padding: 14px 18px; color: var(--ndt-text); font-size: 15px;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; border: 1px solid var(--ndt-line); border-radius: 10px; overflow: hidden; }
.entry-content th, .entry-content td { padding: 11px 12px; border-bottom: 1px solid var(--ndt-line); text-align: left; }
.entry-content th { background: var(--ndt-grey); font-weight: 800; color: var(--ndt-navy); }
.article-cta-box {
  margin-top: 28px; background: linear-gradient(155deg, #0E2A31, #1A2C40); color: #fff;
  border-radius: 16px; padding: 24px 26px;
}
.article-cta-box h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.article-cta-box p { color: #C9DADD; font-size: 14.5px; margin-bottom: 16px; }
.related-box { margin-top: 28px; }
.related-box h3 { font-size: 19px; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- LIVE VALUE NOTICES BANNER ---------- */
.notices-wrap { margin-bottom: 26px; display: none; }
.notices-wrap.has-items { display: block; }
.notices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.notice-card {
  background: #fff; border-left: 4px solid var(--ndt-orange); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 8px 22px rgba(14,42,49,.07); border-top: 1px solid var(--ndt-line);
  border-right: 1px solid var(--ndt-line); border-bottom: 1px solid var(--ndt-line);
}
.notice-tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px;
  padding: 3px 9px; border-radius: 999px; background: #FEF3DC; color: #B45309; margin-bottom: 8px;
}
.notice-card h4 { font-size: 15.5px; font-weight: 800; color: var(--ndt-navy); margin-bottom: 6px; }
.notice-card p { font-size: 13.5px; color: var(--ndt-sub); line-height: 1.55; }
.notice-card a.notice-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--ndt-teal-d); }

/* ---------- FOOTER & MOBILE BAR ---------- */
.absolute-footer { background-color: var(--ndt-navy); color: #93A6AB; font-size: 13px; padding: 28px 20px 26px; line-height: 1.7; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 10px; }
.footer-nav a { color: #DCE8EA; font-weight: 600; font-size: 13px; }
.footer-nav a:hover { color: #5FE3DC; }
.copyright-footer { color: #93A6AB; font-size: 12.5px; }
.copyright-footer strong { color: #DCE8EA; }
.back-top {
  position: fixed; right: 20px; bottom: 24px; width: 42px; height: 42px; border-radius: 999px;
  background: rgba(14,42,49,.86); color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 45;
}
.back-top:hover { background: var(--ndt-teal-d); }
.ndt-mbar { display: none; }

@media (max-width: 1040px) {
  .nav-desktop { gap: 10px; }
  .nav-link { font-size: 12.5px; }
  .nav-btn-teal, .nav-btn-orange { font-size: 12.5px; padding: 8px 11px; }
}
@media (max-width: 860px) {
  .top-contact, .top-social { display: none; }
  .top-mobile-msg { display: block; }
  .header-main { height: 60px; }
  .nav-desktop, .header-search { display: none; }
  .mobile-menu-btn, .mobile-search-btn { display: inline-flex; }
  .wordmark { font-size: 18px; margin: 0; }
  .ndt-wrap { padding: 0 16px; }
  .ndt-sec { padding: 44px 0; }
  .ndt h2 { font-size: 25px; }
  .ndt-lead { font-size: 15px; }
  .ndt-cta { font-size: 16.5px; padding: 14px 20px; width: 100%; text-align: center; }
  .ndt-ghost { display: block; text-align: center; }
  .ndt-ghost.t { display: inline-block; }
  .ndt-hero .ndt-wrap { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-top: 38px; padding-bottom: 62px; }
  .ndt-hero h1 { font-size: 30px; margin: 14px 0 12px; }
  .ndt-sub { font-size: 15.5px; margin-bottom: 20px; }
  .ndt-hero .ndt-btns .ndt-ghost { width: 100%; }
  .ndt-stats { grid-template-columns: repeat(2, 1fr); margin-top: -30px; }
  .ndt-stat { border-bottom: 1px solid var(--ndt-line); padding: 18px 10px; }
  .ndt-stat:nth-child(2n) { border-right: 0; }
  .ndt-stat:nth-last-child(-n+2) { border-bottom: 0; }
  .ndt-stat b { font-size: 19px; }
  .posts-grid, .ndt-models, .ndt-grid, .ndt-grid.cols-1, .ndt-card.featured-wide,
  .roi-grid, .ndt-close .ndt-wrap, .ndt-field-row, .blog-layout, .archive-split, .related-grid {
    grid-template-columns: 1fr;
  }
  .ndt-card.featured-wide .pic { height: 220px; min-height: 220px; }
  .article-shell { padding: 20px 18px 24px; }
  .article-shell h1 { font-size: 23px; }
  .archive-card { padding: 18px 16px; }
  .archive-title { font-size: 19px; }
  .back-top { display: none; }
  .ndt-mbar {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px;
    position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: #fff;
    border-top: 1px solid var(--ndt-line); box-shadow: 0 -4px 16px rgba(14,42,49,.08); z-index: 60;
  }
  .ndt-mbar a {
    text-align: center; font-weight: 800; padding: 12px 6px; border-radius: 10px;
    font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .ndt-mbar .c1 { border: 2px solid var(--ndt-teal); color: var(--ndt-teal-d); }
  .ndt-mbar .c2 { background: var(--ndt-orange); color: #fff; border: 2px solid var(--ndt-orange); }
  .absolute-footer { padding-bottom: 88px; }
}
