/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 4px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 20px;
}

.page-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

.page-breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.page-breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb span { margin: 0 6px; }

/* ---- PAGE CONTENT ---- */
.page-content {
  padding: 64px 0 100px;
}

/* ---- INTAKE FORM ---- */
.intake-form {
  max-width: 760px;
}

.form-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type { border-bottom: none; }

.form-section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.form-row { display: flex; gap: 20px; }
.form-row-2 > .field { flex: 1; }
.form-row-3 > .field { flex: 1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field-narrow { max-width: 300px; }

.field label {
  font-size: 0.87rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.required { color: var(--accent); }

.field input,
.field select,
.field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(0,255,136,0.4);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.5;
}

.field select option { background: var(--bg-card); }

.form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.form-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,68,68,0.08);
  border: 1px solid rgba(255,68,68,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  color: #ff7777;
  font-size: 0.9rem;
  margin-bottom: 32px;
  max-width: 760px;
}

.form-error-banner .icon {
  font-family: var(--font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.success-card {
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
}

.success-icon {
  width: 56px; height: 56px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,255,136,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent);
  margin: 0 auto 24px;
}

.success-card h2 { font-size: 1.6rem; margin-bottom: 12px; }
.success-card p { color: var(--fg-muted); line-height: 1.7; }

/* ---- SERVICE DETAIL ---- */
.service-intro {
  max-width: 680px;
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.service-section {
  margin-bottom: 48px;
}

.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.how-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.how-step:first-child { border-radius: 10px 10px 0 0; }
.how-step:last-child { border-radius: 0 0 10px 10px; }

.how-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
  width: 28px;
}

.how-step-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.how-step-body p { color: var(--fg-muted); font-size: 0.93rem; line-height: 1.6; }

.service-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.pain-list, .tools-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-list li, .tools-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.pain-icon { color: #ff4444; flex-shrink: 0; font-family: var(--font-mono); }
.tool-icon { color: var(--accent-dim); flex-shrink: 0; font-family: var(--font-mono); }

.service-cta {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
}

.service-cta-inner h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-cta-inner p {
  color: var(--fg-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ---- RESPONSIVE (pages) ---- */
@media (max-width: 768px) {
  .form-row-2, .form-row-3 { flex-direction: column; }
  .service-two-col { grid-template-columns: 1fr; gap: 32px; }
  .service-cta { padding: 32px 24px; }
  .form-submit { flex-direction: column; align-items: flex-start; }
  .field-narrow { max-width: 100%; }
}
