/* NOVAG site stylesheet — dark nova-violet theme */

:root {
  --bg: #0D0B14;
  --panel: #171429;
  --violet: #6E56CF;
  --light: #EFEBF8;
  --muted: #B3A8D6;
  --hair: #2A2340;
  --strip: #08060D;
}

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

html { scroll-behavior: smooth; }

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  background-color: #0D0B14;
  color: #EFEBF8;
  overflow-x: hidden;
}

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

a { color: #6E56CF; text-decoration: none; }

a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ---------- Shared navigation ---------- */

.brand {
  color: #6E56CF;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand:hover { text-decoration: none; color: #6E56CF; }

.nav-toggle {
  display: none;
  background-color: transparent;
  border: 1px solid #2A2340;
  color: #EFEBF8;
  font-size: 20px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.hero-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #2A2340;
}

.hero-nav-links,
.page-nav-links {
  display: flex;
  align-items: center;
}

.hero-nav-links a,
.page-nav-links a {
  color: #B3A8D6;
  font-size: 13px;
  padding: 8px 16px;
  border-right: 1px solid #2A2340;
}

.hero-nav-links a:first-child,
.page-nav-links a:first-child { border-left: 1px solid #2A2340; }

.hero-nav-links a:hover,
.page-nav-links a:hover { color: #EFEBF8; text-decoration: none; }

.hero-nav-links a.active,
.page-nav-links a.active {
  color: #EFEBF8;
  box-shadow: inset 0 -2px 0 #6E56CF;
}

/* ---------- Secondary page header ---------- */

.page-header {
  background-color: #0D0B14;
  border-bottom: 1px solid #2A2340;
}

.page-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary { background-color: #6E56CF; color: #FFFFFF; }
.btn-primary:hover { background-color: #5E48C4; color: #FFFFFF; }

.btn-outline { background-color: transparent; color: #6E56CF; border: 1px solid #6E56CF; }
.btn-outline:hover { background-color: #6E56CF; color: #FFFFFF; }

.btn-dark { background-color: #0D0B14; color: #FFFFFF; }
.btn-dark:hover { background-color: #171429; color: #FFFFFF; }

/* ---------- Homepage hero (three column) ---------- */

.hero { background-color: #0D0B14; }

.trio-hero {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 24px 96px;
}

.hero-graphic-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.four-point-star { position: relative; width: 72px; height: 72px; }

.star-outer {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 52px;
  height: 52px;
  background-color: #6E56CF;
  transform: rotate(45deg);
}

.star-inner {
  position: absolute;
  top: 23px;
  left: 23px;
  width: 26px;
  height: 26px;
  background-color: #EFEBF8;
  transform: rotate(45deg);
}

.star-dots { display: flex; flex-direction: column; gap: 16px; }

.star-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #B3A8D6;
}

.hero-eyebrow {
  display: inline-block;
  background-color: #6E56CF;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

.hero-title {
  color: #EFEBF8;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  margin: 26px 0 22px;
}

.hero-sub {
  color: #B3A8D6;
  font-size: 18px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-graphic-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring { position: relative; width: 140px; height: 140px; }

.ring-outer {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #6E56CF;
}

.ring-mid {
  position: absolute;
  top: 52px;
  left: 52px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #EFEBF8;
}

.ring-core {
  position: absolute;
  top: 65px;
  left: 65px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #B3A8D6;
}

/* ---------- General sections ---------- */

.section { padding: 96px 0; }

.section-head { max-width: 760px; margin-bottom: 40px; }

.section-head h2 {
  color: #EFEBF8;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.section-head p {
  color: #B3A8D6;
  margin-top: 16px;
  font-size: 17px;
}

/* ---------- Alternating blocks ---------- */

.alternating-blocks { background-color: #0D0B14; }

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 56px 0;
  border-bottom: 1px solid #2A2340;
}

.alt-row:last-child { border-bottom: none; }

.alt-text h3 {
  color: #EFEBF8;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.alt-text p { color: #B3A8D6; }

.alt-text p + p { margin-top: 14px; }

.alt-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.g-square-violet {
  position: relative;
  width: 90px;
  height: 90px;
  background-color: #6E56CF;
}

.g-square-violet::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  width: 34px;
  height: 34px;
  background-color: #FFFFFF;
}

.g-panel-square {
  position: relative;
  width: 90px;
  height: 90px;
  background-color: #171429;
  border: 1px solid #2A2340;
}

.g-panel-square::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #6E56CF;
}

.g-circle-violet {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #6E56CF;
}

.g-circle-violet::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

/* ---------- Metric band ---------- */

.metric-band { background-color: #6E56CF; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  text-align: center;
  padding: 64px 24px;
  border-right: 1px solid #0D0B14;
}

.metric:last-child { border-right: none; }

.metric-num {
  color: #FFFFFF;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  color: #FFFFFF;
  font-size: 15px;
  margin-top: 12px;
}

/* ---------- Statement band ---------- */

.statement-band { background-color: #0D0B14; padding: 110px 0; }

.statement-line {
  color: #EFEBF8;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 840px;
}

.statement-sub {
  color: #B3A8D6;
  margin-top: 20px;
  max-width: 680px;
}

.statement-sub + .statement-sub { margin-top: 14px; }

/* ---------- CTA band ---------- */

.cta-band { background-color: #6E56CF; padding: 96px 0; }

.cta-band h2 {
  color: #FFFFFF;
  font-size: 34px;
  font-weight: 800;
  max-width: 720px;
  line-height: 1.25;
}

.cta-band p {
  color: #FFFFFF;
  margin-top: 16px;
  max-width: 620px;
}

.cta-band .btn { margin-top: 32px; }

/* ---------- Four column footer ---------- */

.site-footer { background-color: #0D0B14; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer-col {
  padding: 48px 24px;
  border-right: 1px solid #2A2340;
}

.footer-col:last-child { border-right: none; }

.footer-brand {
  color: #6E56CF;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-blurb {
  color: #B3A8D6;
  font-size: 14px;
  margin-top: 12px;
}

.footer-copy {
  color: #B3A8D6;
  font-size: 13px;
  margin-top: 18px;
}

.footer-col h4 {
  color: #EFEBF8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a { color: #B3A8D6; font-size: 14px; }

.footer-col a:hover { color: #EFEBF8; }

.footer-contact {
  color: #B3A8D6;
  font-size: 14px;
  line-height: 1.9;
  word-break: break-word;
}

.legal-strip {
  background-color: #08060D;
  border-top: 1px solid #2A2340;
  padding: 22px 24px;
  text-align: center;
  color: #B3A8D6;
  font-size: 13px;
}

.legal-strip a { color: #B3A8D6; }
.legal-strip a:hover { color: #EFEBF8; }

.legal-strip .legal-sep { margin: 0 8px; color: #2A2340; }

/* ---------- Secondary page hero ---------- */

.page-hero { padding: 88px 0 72px; }

.page-hero h1 {
  color: #EFEBF8;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 18px;
}

.page-hero-sub {
  color: #B3A8D6;
  font-size: 18px;
  max-width: 740px;
  margin-top: 20px;
}

/* ---------- Services page ---------- */

.services-list { background-color: #0D0B14; }

.service-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid #2A2340;
}

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

.service-num {
  color: #6E56CF;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-block h2 {
  color: #EFEBF8;
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 14px;
}

.service-block p { color: #B3A8D6; }

.service-block p + p { margin-top: 14px; }

.process-section { background-color: #171429; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  background-color: #0D0B14;
  border: 1px solid #2A2340;
  padding: 28px;
}

.step-num {
  color: #6E56CF;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.process-step h3 {
  color: #EFEBF8;
  font-size: 18px;
  margin: 10px 0;
}

.process-step p { color: #B3A8D6; font-size: 14px; }

/* ---------- Contact page ---------- */

.contact-section { background-color: #0D0B14; padding-bottom: 96px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.info-card {
  background-color: #171429;
  border: 1px solid #2A2340;
  padding: 36px;
}

.info-card h2 {
  color: #EFEBF8;
  font-size: 22px;
  margin-bottom: 18px;
}

.info-line {
  color: #B3A8D6;
  margin-bottom: 22px;
  font-size: 15px;
}

.info-line strong {
  display: block;
  color: #EFEBF8;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-line a { color: #6E56CF; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #B3A8D6;
  padding: 9px 0;
  border-bottom: 1px solid #2A2340;
  font-size: 15px;
}

.hours-list li:last-child { border-bottom: none; }

.hours-list .hours-day { color: #EFEBF8; }

.contact-form {
  background-color: #171429;
  border: 1px solid #2A2340;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  color: #EFEBF8;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background-color: #0D0B14;
  border: 1px solid #2A2340;
  color: #EFEBF8;
  padding: 13px 14px;
  font-size: 16px;
  border-radius: 4px;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  border-color: #6E56CF;
  outline: none;
}

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

.form-note {
  color: #B3A8D6;
  font-size: 14px;
  margin-top: 10px;
}

.form-status {
  color: #EFEBF8;
  font-size: 15px;
  margin-top: 14px;
}

/* ---------- FAQ ---------- */

.faq-section { background-color: #0D0B14; padding-bottom: 96px; }

.faq-section h2 {
  color: #EFEBF8;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.faq-item { border-bottom: 1px solid #2A2340; }

.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: #EFEBF8;
  font-size: 17px;
  font-weight: 600;
  padding: 22px 0;
}

.faq-icon {
  color: #6E56CF;
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-a {
  display: none;
  color: #B3A8D6;
  padding-bottom: 22px;
  max-width: 760px;
}

.faq-item.open .faq-a { display: block; }

.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---------- Scroll reveal ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .trio-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 24px 72px;
  }

  .hero-sub { margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-graphic-left,
  .hero-graphic-right { justify-content: center; }

  .alt-row { grid-template-columns: 1fr; gap: 32px; text-align: center; }

  .metric-grid { grid-template-columns: 1fr 1fr; }

  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1),
  .metric:nth-child(2) { border-bottom: 1px solid #0D0B14; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .footer-col { border-right: none; border-bottom: 1px solid #2A2340; }
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) { border-bottom: none; }

  .service-block { grid-template-columns: 1fr; gap: 12px; }

  .process-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

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

  .hero-nav-links,
  .page-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #2A2340;
    padding: 12px 0;
  }

  .hero-nav-links.open,
  .page-nav-links.open { display: flex; }

  .hero-nav-links a,
  .page-nav-links a {
    border: none;
    border-bottom: 1px solid #2A2340;
    padding: 12px 0;
    font-size: 16px;
  }

  .hero-nav-links a:first-child,
  .page-nav-links a:first-child { border-left: none; }

  .hero-nav-links a.active,
  .page-nav-links a.active { box-shadow: none; color: #EFEBF8; }

  .hero-title { font-size: 38px; }

  .form-row { grid-template-columns: 1fr; }

  .process-grid { grid-template-columns: 1fr; }

  .metric-grid { grid-template-columns: 1fr; }

  .metric {
    border-right: none;
    border-bottom: 1px solid #0D0B14;
  }

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

  .footer-grid { grid-template-columns: 1fr; }

  .footer-col { border-bottom: 1px solid #2A2340; }
  .footer-col:last-child { border-bottom: none; }

  .statement-line { font-size: 24px; }

  .section-head h2 { font-size: 30px; }

  .page-hero h1 { font-size: 34px; }
}
