:root {
  --bs-primary: #15324d;
  --bs-primary-rgb: 21, 50, 77;
  --accent: #d99850;
  --accent-soft: rgba(217, 152, 80, 0.15);
  --bg: #fbf9f5;
  --ink: #1a2230;
  --muted: #6b7280;
  --border: #e7e3da;
  --card: #ffffff;
  --shadow-elegant: 0 30px 80px -30px rgba(21, 50, 77, 0.35);
  --shadow-soft: 0 8px 30px -10px rgba(21, 50, 77, 0.12);
  --gradient-hero: linear-gradient(135deg, #1a2c44 0%, #1f3e5a 55%, #2a587a 100%);
  --gradient-warm: linear-gradient(135deg, rgba(217, 152, 80, 0.18), transparent 70%);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
h1, h2, h3, h4, .display-font {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--bs-primary);
}
em { font-style: normal; color: var(--accent); font-family: 'Fraunces', serif; }
.text-muted-2 { color: var(--muted); }
.text-accent { color: var(--accent) !important; }
.bg-soft { background: rgba(21, 50, 77, 0.04); }
.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}

/* Navbar */
.navbar-nsg {
  backdrop-filter: blur(12px);
  background: rgba(251, 249, 245, 0.85);
  border-bottom: 1px solid rgba(231, 227, 218, 0.6);
}
.navbar-nsg .nav-link {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: color .2s;
}
.navbar-nsg .nav-link:hover { color: var(--ink); }
.brand-mark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark img { height: 44px; }
.brand-mark .brand-name { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--bs-primary); line-height: 1; }
.brand-mark .brand-sub { font-size: 0.625rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }

/* Buttons */
.btn-nsg-primary {
  background: var(--bs-primary); color: #fff; border: none;
  border-radius: 9999px; padding: 0.7rem 1.5rem; font-weight: 500; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all .2s;
}
.btn-nsg-primary:hover { background: #1f4566; color: #fff; transform: translateY(-1px); }
.btn-nsg-outline {
  background: var(--card); color: var(--ink); border: 1px solid var(--border);
  border-radius: 9999px; padding: 0.7rem 1.5rem; font-weight: 500; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all .2s; text-decoration: none;
}
.btn-nsg-outline:hover { background: rgba(21, 50, 77, 0.06); color: var(--ink); }

/* Cards */
.card-nsg {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.5rem; transition: transform .25s, box-shadow .25s;
}
.card-nsg:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.icon-chip {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Hero */
.hero-section { position: relative; overflow: hidden; padding: 5rem 0 7rem; }
.hero-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--gradient-warm);
}
.hero-section::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.04;
  background-image: radial-gradient(circle at 1px 1px, var(--ink) 1px, transparent 0);
  background-size: 32px 32px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border); background: rgba(255,255,255,0.8);
  border-radius: 9999px; padding: 0.3rem 0.85rem; font-size: 0.75rem; color: var(--muted);
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.02; margin: 1.5rem 0; }
.hero-img-wrap { position: relative; }
.hero-img-wrap::before {
  content:''; position: absolute; inset: -1.5rem; border-radius: 2rem;
  background: var(--gradient-hero); filter: blur(60px); opacity: 0.2; z-index: 0;
}
.hero-img {
  position: relative; border-radius: 2rem; overflow: hidden;
  box-shadow: var(--shadow-elegant); border: 1px solid var(--border);
}
.hero-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; top: 1.25rem; left: 1.25rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 9999px;
  padding: 0.35rem 0.75rem; font-size: 0.625rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bs-primary);
}
.hero-card-float {
  position: absolute; bottom: -2rem; left: -2rem; max-width: 260px;
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.1rem; box-shadow: var(--shadow-elegant);
  display: flex; align-items: center; gap: 1rem;
}
.hero-card-float img { height: 56px; width: 56px; object-fit: contain; }

.stat-num { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--bs-primary); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.35rem; }

/* Sections */
section { scroll-margin-top: 6rem; }
.section-pad { padding: 6rem 0; }
.section-soft { background: rgba(21, 50, 77, 0.04); padding: 6rem 0; }

/* Process timeline */
.timeline-num {
  width: 64px; height: 64px; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* Check list */
.check-icon {
  width: 24px; height: 24px; border-radius: 9999px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-top: 0.2rem;
}
.benefit-list { list-style: none; padding: 0; }
.benefit-list li { display: flex; gap: 0.75rem; margin-bottom: 1rem; }

.step-pill {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 0.75rem; padding: 1rem 1.25rem;
}
.step-pill .num { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--accent); width: 2rem; }

.feature-img {
  width: 100%; aspect-ratio: 5/4; object-fit: cover;
  border-radius: 1.5rem; box-shadow: var(--shadow-elegant);
}

/* Form */
.form-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem;
  padding: 2rem; box-shadow: var(--shadow-soft);
}
.form-card label { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.form-card .form-control, .form-card .form-select {
  border-radius: 0.5rem; border: 1px solid var(--border); background: var(--bg);
  padding: 0.75rem 1rem; font-size: 0.9rem;
}
.form-card .form-control:focus, .form-card .form-select:focus {
  box-shadow: 0 0 0 3px rgba(21, 50, 77, 0.15); border-color: var(--bs-primary);
}
.btn-submit {
  width: 100%; background: var(--bs-primary); color: #fff;
  border: none; border-radius: 9999px; padding: 0.9rem; font-weight: 500;
  transition: background .2s;
}
.btn-submit:hover:not(:disabled) { background: #1f4566; color: #fff; }
.btn-submit:disabled { opacity: 0.6; }

.contact-link {
  display: flex; align-items: center; gap: 0.75rem; color: var(--ink);
  text-decoration: none; transition: color .2s;
}
.contact-link:hover { color: var(--accent); }

/* Footer */
.site-footer {
  margin-top: 8rem; border-top: 1px solid var(--border);
  background: rgba(21, 50, 77, 0.04); padding: 4rem 0 1.5rem;
}
.site-footer h4 { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.site-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 3rem; text-align: center; font-size: 0.75rem; color: var(--muted); }

/* Two-paths cards */
.path-card {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  background: var(--gradient-hero); color: #fff; padding: 2.5rem;
  min-height: 320px; display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; transition: box-shadow .25s;
}
.path-card:hover { box-shadow: var(--shadow-elegant); color: #fff; }
.path-card::before {
  content: ''; position: absolute; right: -4rem; top: -4rem;
  width: 16rem; height: 16rem; border-radius: 9999px;
  background: rgba(217, 152, 80, 0.2); filter: blur(60px);
}
.path-card .eyebrow { color: var(--accent); position: relative; }
.path-card h3 { color: #fff; font-size: 2rem; line-height: 1.15; position: relative; }
.path-card .cta-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 0.25rem; font-size: 0.9rem;
}

/* Fade up animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .hero-section { padding: 3rem 0 5rem; }
  .hero-card-float { left: 1rem; bottom: -1.5rem; }
  .site-footer { margin-top: 5rem; }
  .path-card { min-height: 260px; padding: 2rem; }
  .path-card h3 { font-size: 1.5rem; }
}
