/* ============================================
   NDT LLC — Site Stylesheet
   ============================================ */

:root {
  --navy: #0b1f33;
  --navy-2: #12314e;
  --steel: #45607a;
  --accent: #f59e0b;
  --accent-deep: #d97706;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --text: #1d2b3a;
  --muted: #5a6b7d;
  --line: #dde5ec;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-mark { flex-shrink: 0; }

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand-name span { color: var(--accent-deep); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--steel);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--navy); text-decoration: none; }

.site-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--accent);
}

/* Buttons inside the nav: win over the generic .site-nav a link styling */
.site-nav a.btn {
  padding: 13px 20px;
  border-bottom: none;
}

.site-nav a.btn-primary { color: var(--navy); }

.site-nav a.btn-primary:hover {
  color: #fff;
  background: var(--accent-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 15px 18px;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover { background: var(--navy-2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 60%, #1a4066 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 47.5h48M47.5 0v48' stroke='%23ffffff' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 110px 0 90px;
  max-width: 720px;
}

.hero .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Waveform accent along hero bottom */
.hero-wave {
  position: relative;
  display: block;
  width: 100%;
  height: 46px;
  margin-bottom: -1px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 31, 51, 0.12);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.96rem; }

.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Methods strip ---------- */
.methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

.method {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
}

.method .abbr {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 4px;
}

.method .name {
  font-size: 0.88rem;
  color: var(--steel);
  font-weight: 500;
}

/* ---------- Feature rows (why us) ---------- */
.feature-list { display: grid; gap: 0; }

.feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.feature:last-child { border-bottom: none; }

.feature .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--accent);
}

.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* Two-column section layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split .sticky-col { position: sticky; top: 110px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 16px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 480px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 72px 0 56px;
}

.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 620px; font-size: 1.08rem; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child { border-bottom: none; }

.service-block .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-block p { color: var(--muted); margin-bottom: 12px; }

.service-block ul {
  color: var(--muted);
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 0.97rem;
}

/* ---------- Conference list ---------- */
.event-list { display: grid; gap: 18px; }

.event {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.event .date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.event .date .range {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-deep);
  line-height: 1.25;
}

.event .date .year {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2px;
}

.event h3 { font-size: 1.12rem; margin-bottom: 4px; }

.event .loc {
  color: var(--muted);
  font-size: 0.94rem;
}

.event .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 8px;
}

.event .btn { white-space: nowrap; }

@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; gap: 12px; }
  .event .date { text-align: left; border-right: none; padding-right: 0; }
  .event .date .range { display: inline; }
  .event .date .year { display: inline; margin-left: 6px; }
}

/* ---------- Embeds (calendar / form) ---------- */
.embed-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ---------- Values grid (about) ---------- */
.value-item {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-item p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Contact form ---------- */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px;
  display: grid;
  gap: 22px;
}

.form-field { display: grid; gap: 8px; }

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea { min-height: 160px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.form-success {
  background: #f0faf4;
  border: 1px solid #bfe5cc;
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.form-success h3 { color: #1a7a3e; margin-bottom: 6px; }
.form-success p { color: var(--muted); font-size: 0.97rem; }

.form-error {
  color: #b3261e;
  font-size: 0.93rem;
}

/* ---------- Contact ---------- */
.contact-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-aside h3 { margin-bottom: 10px; font-size: 1.1rem; }
.contact-aside p { color: var(--muted); font-size: 0.96rem; margin-bottom: 16px; }

.contact-aside .email {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--accent); }

.site-footer p { font-size: 0.93rem; max-width: 340px; margin-top: 12px; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; display: grid; gap: 8px; }

.site-footer ul a { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .sticky-col { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
    box-shadow: var(--shadow);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a.active { border-bottom-color: var(--line); color: var(--accent-deep); }

  .site-nav .btn { margin-top: 14px; text-align: center; }

  .hero-inner { padding: 72px 0 64px; }
  .section { padding: 60px 0; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
  .feature { grid-template-columns: 40px 1fr; gap: 14px; }
}
