:root {
  --nd-red: #8f121b;
  --nd-red-dark: #5f0c13;
  --nd-red-soft: #fff0f2;
  --nd-ink: #16171b;
  --nd-muted: #676b76;
  --nd-line: #e7e2e3;
  --nd-bg: #faf8f8;
  --nd-white: #fff;
  --nd-blue: #155c8c;
  --nd-green: #197067;
  --nd-shadow: 0 18px 50px rgba(50, 22, 28, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--nd-ink);
  background: var(--nd-bg);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.nd-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(16px, 5vw, 64px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--nd-line);
  backdrop-filter: blur(14px);
}
.nd-logo img { width: 210px; height: auto; }
.nd-nav { display: flex; align-items: center; gap: 6px; }
.nd-nav a {
  padding: 10px 13px;
  border-radius: 7px;
  text-decoration: none;
  color: #363a43;
  font-weight: 700;
  font-size: 14px;
}
.nd-nav a:hover { background: var(--nd-red-soft); color: var(--nd-red); }
.nd-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--nd-line);
  border-radius: 7px;
  background: #fff;
}
.nd-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--nd-ink);
}

.nd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(16px, 5vw, 64px);
  background:
    linear-gradient(115deg, rgba(95,12,19,.94), rgba(143,18,27,.86)),
    url("../img/head-bg.jpg") center/cover no-repeat;
  color: #fff;
}
.nd-eyebrow, .nd-kicker {
  margin: 0 0 10px;
  color: var(--nd-red);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}
.nd-hero .nd-eyebrow { color: #ffd9df; }
.nd-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}
.nd-lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,.9);
}
.nd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
}
.nd-btn--primary { color: var(--nd-red-dark); background: #fff; }
.nd-btn--ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.nd-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.nd-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
}
.nd-signup {
  background: #fff;
  color: var(--nd-ink);
  border-radius: 8px;
  box-shadow: var(--nd-shadow);
  padding: 18px;
  overflow: hidden;
}
.nd-signup__title {
  margin: 0 0 12px;
  color: var(--nd-red);
  font-weight: 900;
  font-size: 20px;
}
.nd-formbox {
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  padding: 12px;
}
.nd-formbox #formuser {
  max-width: 100%;
  overflow: hidden;
}
.nd-login-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: var(--nd-blue);
  font-weight: 800;
  text-decoration: none;
}

.nd-section { padding: clamp(42px, 7vw, 82px) clamp(16px, 5vw, 64px); }
.nd-section--white { background: #fff; }
.nd-section--live { background: linear-gradient(180deg, #fff, var(--nd-red-soft)); }
.nd-section__head {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}
.nd-section__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}
.nd-section__head p:not(.nd-kicker) {
  margin: 12px auto 0;
  color: var(--nd-muted);
  max-width: 720px;
}

.nd-feature-grid, .nd-advice-grid, .nd-card-grid, .nd-profiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.nd-feature-grid article, .nd-advice-grid article, .nd-card, .nd-profile-card {
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(40, 20, 25, .06);
}
.nd-feature-grid article, .nd-advice-grid article {
  padding: 20px;
}
.nd-feature-grid strong, .nd-advice-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nd-red);
  font-size: 18px;
}
.nd-feature-grid span, .nd-advice-grid p { color: var(--nd-muted); margin: 0; }

.nd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 460px);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}
.nd-split h2, .nd-editorial h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}
.nd-split p, .nd-editorial p { color: var(--nd-muted); }
.nd-link-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  padding: 16px;
}
.nd-link-panel a {
  padding: 12px;
  border-radius: 7px;
  text-decoration: none;
  background: var(--nd-red-soft);
  color: var(--nd-red);
  font-weight: 800;
}

.nd-map {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  box-shadow: var(--nd-shadow);
  background: #eee;
}
.nd-map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}
.nd-editorial {
  max-width: 980px;
  margin: 0 auto;
}
.nd-mini-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.nd-mini-steps span {
  padding: 12px;
  background: var(--nd-red-soft);
  border-radius: 7px;
  color: var(--nd-red);
  font-weight: 800;
  text-align: center;
}

.nd-card {
  min-height: 190px;
  padding: 18px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nd-card span {
  color: var(--nd-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.nd-card strong {
  font-size: 19px;
  line-height: 1.25;
}
.nd-card em {
  color: var(--nd-muted);
  font-style: normal;
  font-size: 14px;
}
.nd-card:hover { border-color: rgba(143,18,27,.35); transform: translateY(-2px); }

.nd-country-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.nd-country-columns article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(40, 20, 25, .06);
}
.nd-country-columns strong {
  color: var(--nd-red);
  font-size: 17px;
}
.nd-country-columns a {
  color: var(--nd-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid #f1eeee;
}
.nd-country-columns a:hover { color: var(--nd-red); }

.nd-profile-card {
  overflow: hidden;
}
.nd-profile-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
}
.nd-profile-card div { padding: 13px; }
.nd-profile-card strong { display: block; font-size: 16px; }
.nd-profile-card span { display: block; color: var(--nd-muted); }
.nd-profile-card em {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--nd-green);
  background: #e9f7f5;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.nd-live-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--nd-shadow);
}
.nd-live-box #caruser, .nd-live-box #caruser2 {
  max-width: 100%;
  overflow: hidden;
}
.nd-live-box img { max-width: 100%; height: auto; }

.nd-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.nd-faq details {
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  padding: 16px;
}
.nd-faq summary {
  cursor: pointer;
  font-weight: 900;
}
.nd-faq p { color: var(--nd-muted); margin-bottom: 0; }

.nd-partner-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}
.nd-partner-links a {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--nd-line);
  color: var(--nd-muted);
  text-decoration: none;
  font-size: 13px;
}

.nd-chat-frame {
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--nd-line);
  background: #fff;
  box-shadow: var(--nd-shadow);
}
.nd-chat-frame iframe { width: 100%; height: 540px; border: 0; display: block; }

.nd-legal-layout, .nd-sitemap-grid {
  max-width: 1100px;
  margin: 0 auto;
}
.nd-legal-layout article, .nd-sitemap-grid article {
  background: #fff;
  border: 1px solid var(--nd-line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 32px);
}
.nd-legal-layout h2, .nd-sitemap-grid h2 { color: var(--nd-red); margin-top: 0; }
.nd-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nd-sitemap-grid a {
  display: block;
  padding: 8px 0;
  color: var(--nd-blue);
  text-decoration: none;
  border-bottom: 1px solid #f0eeee;
}

.nd-footer {
  padding: 28px clamp(16px, 5vw, 64px);
  background: #171111;
  color: #fff;
}
.nd-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
}
.nd-footer strong { display: block; font-size: 20px; }
.nd-footer span { color: rgba(255,255,255,.7); }
.nd-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.nd-footer__links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 13px;
}
.nd-footer__bottom {
  max-width: 1180px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

@media (max-width: 960px) {
  .nd-burger { display: block; }
  .nd-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--nd-line);
    border-radius: 8px;
    box-shadow: var(--nd-shadow);
  }
  .nd-nav.is-open { display: flex; }
  .nd-hero, .nd-split { grid-template-columns: 1fr; }
  .nd-signup { max-width: 520px; width: 100%; }
  .nd-feature-grid, .nd-advice-grid, .nd-card-grid, .nd-profiles, .nd-country-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd-mini-steps, .nd-sitemap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nd-header { min-height: 68px; }
  .nd-logo img { width: 166px; }
  .nd-hero { padding-top: 34px; }
  .nd-hero__actions { display: grid; }
  .nd-feature-grid, .nd-advice-grid, .nd-card-grid, .nd-profiles, .nd-link-panel, .nd-country-columns { grid-template-columns: 1fr; }
  .nd-footer__top { display: grid; }
  .nd-footer__links { justify-content: flex-start; }
  .nd-chat-frame iframe { height: 680px; }
}
