/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(19, 19, 19, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.navbar-brand span { color: var(--yellow); }

/* Matches landing Navbar.js: text-base (16px), font-medium, leading 120%. */
.navbar-links {
  display: none;
  gap: 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
}

@media (min-width: 1100px) {
  .navbar-links { display: flex; gap: 48px; }
}

@media (min-width: 1400px) {
  .navbar-links { gap: 62px; }
}

.navbar-links a { transition: color 0.2s ease; }
.navbar-links a:hover { color: var(--yellow); }

/* ---------- Hero ---------- */

.hero {
  padding-top: 160px;
  padding-bottom: 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .hero { padding-top: 200px; padding-bottom: 100px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--yellow);
  margin-bottom: 24px;
}

/* Centered layout mirrors landing's /consultant hero. */
.hero-text { text-align: center; width: 100%; }

.hero-description {
  font-size: 17px;
  line-height: 160%;
  color: var(--white-soft);
  max-width: 640px;
  margin: 32px auto 40px;
}

@media (min-width: 768px) { .hero-description { font-size: 18px; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.hero-secondary-link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--white-soft);
}

.hero-secondary-link:hover { color: var(--yellow); }

/* ---------- Problems ---------- */

.problem-grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

.problem-item {
  border-top: 2px solid rgba(229, 229, 229, 0.2);
  padding-top: 20px;
}

.problem-item-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}

.problem-item p {
  font-size: 16px;
  line-height: 150%;
  color: var(--white-soft);
  margin: 0;
}

/* ---------- Approach steps ---------- */

.steps-list {
  margin-top: 48px;
  display: grid;
  gap: 0;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(229, 229, 229, 0.15);
}

.step-item:first-child { border-top: 1px solid rgba(229, 229, 229, 0.15); }

.step-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--yellow);
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}

@media (min-width: 768px) { .step-title { font-size: 20px; } }

.step-desc {
  font-size: 15px;
  line-height: 150%;
  color: var(--white-soft);
  margin: 0 0 8px;
}

.step-why {
  font-size: 14px;
  line-height: 150%;
  color: var(--muted);
  margin: 0;
}

.step-why strong { color: var(--white-soft); font-weight: 600; }

/* ---------- Portfolio grid ---------- */

.portfolio-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

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

.services-list {
  margin-top: 40px;
  display: grid;
  gap: 1px;
  background: rgba(229, 229, 229, 0.15);
  border-top: 1px solid rgba(229, 229, 229, 0.15);
}

.service-row {
  background: var(--black);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.service-row-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.service-row-desc {
  font-size: 14px;
  color: var(--white-soft);
  max-width: 560px;
}

/* ---------- Team ---------- */

/* Flex (not grid) so cards sit next to each other instead of centered inside
   wide 1fr columns, matching landing's .team-cards spacing. */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .team-grid { gap: 64px; }
}

/* ---------- Trust / talks ---------- */

.trust-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(5, 1fr); }
}

.trust-item {
  border: 1px solid rgba(229, 229, 229, 0.15);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--white-soft);
  transition: border-color 0.3s ease;
}

.trust-item:hover { border-color: var(--yellow); }

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--white);
}

/* ---------- CTA / Lead form ---------- */

.lead-section-inner {
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .lead-section-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.lead-copy p {
  font-size: 16px;
  line-height: 160%;
  color: var(--white-soft);
}

.lead-copy-list { margin-top: 24px; }

.lead-copy-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--white-soft);
}

.lead-copy-list li::before { content: '→'; color: var(--yellow); flex-shrink: 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid rgba(229, 229, 229, 0.15);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--white-soft);
}

.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(229, 229, 229, 0.1);
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
