:root {
  --white: #ffffff;
  --gray: #f8f8f8;
  --gold: #c8a76d;
  --gold-dark: #b08f54;
  --dark: #1a1a1a;
  --heading: #2b2b2b;
  --muted: #777777;
  --border: #e7e7e7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--heading);
  background: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4, .brand-name, .btn-outline-white, .btn-outline-dark, .btn-gold {
  font-family: 'Montserrat', sans-serif;
}

.italic-eyebrow, .italic-sub {
  font-family: 'Lora', serif;
  font-style: italic;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.utility-row {
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.utility-inner {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 7px 0;
  flex-wrap: wrap;
}

.gold-link {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--heading);
}

.knight-logo {
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-sep {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 4px;
}

.brand-slogan {
  font-size: 0.75rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 8px 0;
  border-top: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold-dark);
  border-top-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

/* Hero */
.hero {
  position: relative;
  height: 78vh;
  min-height: 540px;
  background: var(--dark);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 22, 0.68);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
}

.italic-eyebrow {
  display: block;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.v-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
  margin: 20px auto;
}

.btn-outline-white {
  display: inline-block;
  border: 1.5px solid var(--white);
  color: var(--white);
  padding: 13px 26px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-outline-white:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  cursor: pointer;
}

.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

.hero-dashes {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.dash {
  width: 26px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
}

.dash.active {
  background: var(--gold);
}

/* Counters */
.counters-wrap {
  position: relative;
  z-index: 6;
  margin-top: -42px;
}

.counters-bar {
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.counter-box {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.counter-box:last-child {
  border-right: none;
}

.counter-box strong,
.counter-box span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--heading);
}

.counter-box span {
  color: var(--gold);
}

.counter-box small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

/* Sections */
.section-white {
  padding: 84px 0;
}

.section-gray {
  background: var(--gray);
  padding: 84px 0;
}

.section-head {
  margin-bottom: 42px;
}

.section-head.light {
  text-align: center;
  color: var(--white);
}

.italic-sub {
  display: block;
  color: var(--gold-dark);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.section-head h2, .head-flex h2, .help-panel h2, .section-gray h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
}

/* Story 3 col */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.big-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #e9e9e9;
  line-height: 1;
}

.story-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.story-card a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

.btn-outline-dark {
  display: inline-block;
  border: 1.5px solid var(--heading);
  color: var(--heading);
  padding: 12px 24px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Split Help */
.split-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.help-photo {
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.knight-frame {
  width: 96px;
  height: 96px;
  background: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.help-panel {
  background: var(--gray);
  padding: 64px 7%;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}

.help-item {
  display: flex;
  gap: 14px;
}

.help-item span {
  color: var(--gold);
  font-size: 1.5rem;
}

.help-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.help-item p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* 8 Tiles */
.head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.tile {
  border: 1px solid var(--border);
  padding: 36px 20px;
  text-align: center;
  transition: border-color 0.25s;
}

.tile:hover {
  border-color: var(--gold);
}

.tile span {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}

.tile h4 {
  font-size: 0.95rem;
}

/* Testimonials & News */
.tn-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--border);
  margin-top: 20px;
  position: relative;
}

.quote-badge {
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.test-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.test-footer strong {
  display: block;
}

.test-footer span {
  font-size: 0.82rem;
  color: var(--gold-dark);
}

.test-btns button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
}

.news-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
}

.blog-img {
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.gold-date {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.blog-body {
  padding: 18px;
}

.blog-body h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.blog-body p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Team 4 */
.team-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.member img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

.member h4 {
  font-size: 1rem;
}

.member span {
  font-size: 0.84rem;
  color: var(--gold-dark);
}

/* Consult Bg */
.consult-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 84px 0;
}

.consult-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 22, 0.82);
}

.consult-inner {
  position: relative;
  z-index: 2;
}

.floating-form {
  background: var(--white);
  padding: 36px;
}

.inputs-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.floating-form input,
.floating-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.85rem;
}

.floating-form textarea {
  margin-bottom: 16px;
}

.form-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.privacy-note {
  font-size: 0.84rem;
  color: var(--muted);
}

.form-msg {
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 700;
}

/* Clients */
.clients-strip {
  padding: 38px 0;
  border-bottom: 1px solid var(--border);
}

.clients-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #a0a0a0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #aaaaaa;
}

.footer-top-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid #2e2e2e;
}

.footer-top-strip strong {
  display: block;
  color: var(--white);
}

.footer-top-strip span {
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-mid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 48px 0;
}

.footer-mid h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-mid a {
  display: block;
  color: #aaaaaa;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.news-mini {
  display: flex;
}

.news-mini input {
  flex: 1;
  padding: 10px;
  border: none;
}

.news-mini button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  background: #121212;
  text-align: center;
  padding: 16px;
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .counters-bar,
  .story-grid,
  .split-help,
  .tiles-8,
  .tn-grid,
  .team-4,
  .inputs-3,
  .footer-top-strip,
  .footer-mid {
    grid-template-columns: 1fr;
  }

  .brand-sep, .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 108px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 18px 6%;
  }

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

@media (max-width: 600px) {
  .help-grid, .news-2 {
    grid-template-columns: 1fr;
  }
}
