/* Hero geometry matches the sector pages (css/pages/healthcare.css). */
#naming-hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

#naming-hero .container {
  width: 100%;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

#naming-hero h1 {
  margin-bottom: 20px;
}

#naming-hero p {
  max-width: 600px;
  margin-bottom: 30px;
}

#naming-hero .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-spacer {
  height: 56px;
}

#about .naming-about-title {
  color: #ff7a1a;
}

/* Text sections: same 4vw side gutter as .sec3-title so the page edges line up. */
.naming-steps-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
}

.naming-steps-inner > h2 {
  margin: 0 0 16px;
}

.naming-steps-lead {
  max-width: 760px;
  margin-bottom: 28px;
}

.naming-steps .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* The base buttons are white for dark heroes; on white sections use the
   header's Book a Demo colours instead. */
.naming-steps .btn-primary {
  background: rgba(236, 173, 44, 1);
  border-color: rgba(236, 173, 44, 1);
  color: #ffffff;
}

.naming-steps .btn-primary:hover {
  background: rgba(216, 156, 33, 1);
  border-color: rgba(216, 156, 33, 1);
}

.naming-steps .btn-secondary {
  color: #0e141b;
  border-color: #0e141b;
}

#naming-strategy {
  padding-bottom: 84px;
}

.naming-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  counter-reset: step;
}

.naming-steps-list li {
  counter-increment: step;
  background: #f2f3f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px 24px;
}

.naming-steps-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: #ff7a1a;
  font-weight: 700;
}

.naming-steps-list h3 {
  margin: 0 0 10px;
}

/* Text card: same treatment the sector pages give theirs. */
#naming-projects .campaign-card--text {
  background: #ffffff;
  color: #0e141b;
  border-color: rgba(0, 0, 0, 0.12);
  cursor: default;
}

#naming-projects .campaign-card--text::after {
  opacity: 0;
}

#naming-projects .campaign-copy {
  text-shadow: none;
  color: #0e141b;
}

#naming-projects .campaign-note {
  color: #071b75;
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.45;
}

#naming-projects .campaign-note a {
  color: inherit;
  text-decoration: underline;
}

#naming-projects .campaign-card--text .campaign-label {
  color: #0e141b;
}

@media (max-width: 960px) {
  .naming-steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  #naming-hero {
    padding: 60px 20px;
  }

  #naming-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
  }

  #naming-hero p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .section-spacer {
    height: 36px;
  }
}

@media (max-width: 520px) {
  #naming-hero {
    padding: 40px 16px;
  }

  #naming-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
  }

  .naming-steps-inner {
    padding: 0 16px;
  }

  .naming-steps-list {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
