/* services.css - HUMMBL Services page
   Page-specific styles. Design tokens from shared.css. */

.services-layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Hero ── */
.services-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3rem;
}

.services-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
  color: var(--text-primary);
}

.services-lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--border-prominent);
}

.service-card-featured {
  border-color: var(--border-prominent);
  position: relative;
}

.service-card-featured::before {
  content: "Most popular";
  position: absolute;
  top: -0.6rem;
  right: 1rem;
  background: var(--accent-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.service-header h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-green);
  white-space: nowrap;
}

.service-blurb {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-includes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.service-includes li {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}

.service-includes li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 600;
}

.service-cta {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-prominent);
  border-radius: 6px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.service-cta:hover {
  background: rgba(27, 122, 61, 0.15);
}

/* ── Approach section ── */
.services-approach {
  margin-bottom: 4rem;
}

.approach-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.approach-steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  color: var(--text-secondary);
}

.approach-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--border-prominent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-green);
}

.approach-steps strong {
  color: var(--text-primary);
}

/* ── Boundary section ── */
.services-boundary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.services-boundary h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.boundary-list {
  display: grid;
  gap: 1.25rem;
}

.boundary-list dt {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.boundary-list dd {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ── Final CTA ── */
.services-cta {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.services-cta h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.services-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ── CTA buttons (shared with landing) ── */
.cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.cta-primary {
  background: var(--accent-green);
  color: #fff;
}

.cta-primary:hover {
  background: var(--accent-green-hover);
}

/* ── Section heading ── */
.section-heading {
  margin-bottom: 1.5rem;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

/* ── Visually hidden ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-primary);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-header {
    flex-direction: column;
    gap: 0.25rem;
  }
}
