/* Shared enquiry form (hero + case studies) */
.hero-lead {
  background: rgba(22,22,22,.92); color: #f4f4f4;
  border: 1px solid #393939; border-top: 3px solid var(--ji-green-60, #10b981);
  padding: 28px 28px 22px; box-shadow: 0 30px 70px rgba(0,0,0,.5);
  animation: heroFadeUp .9s ease .2s both;
}
.hero-lead-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono, ui-monospace, monospace); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ji-green-60, #10b981); font-weight: 500; margin-bottom: 10px; }
.hero-lead-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ji-green-60, #10b981); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.hero-lead h2 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 6px; color: #fff; font-weight: 500; letter-spacing: 0; }
.hero-lead-sub { font-size: .85rem; line-height: 1.5; color: #a8a8a8; margin: 0 0 20px; max-width: none; }
.hero-lead .form-group { margin-bottom: 14px; }
.hero-lead .form-group label { color: #8d8d8d; font-family: var(--font-mono, ui-monospace, monospace); font-size: .68rem; font-weight: 500; letter-spacing: .08em; margin-bottom: 6px; }
.hero-lead .form-group input,
.hero-lead .form-group textarea {
  background: #262626; color: #f4f4f4; border: 0; border-bottom: 1px solid #6f6f6f;
  padding: 12px 14px; font-size: .9rem; transition: border-color .15s, background .15s;
}
.hero-lead .form-group input::placeholder,
.hero-lead .form-group textarea::placeholder { color: #6f6f6f; }
.hero-lead .form-group input:focus,
.hero-lead .form-group textarea:focus { background: #2e2e2e; border-bottom-color: var(--ji-green-60, #10b981); box-shadow: 0 1px 0 var(--ji-green-60, #10b981); }
.hero-lead .form-group input:-webkit-autofill { -webkit-text-fill-color: #f4f4f4; -webkit-box-shadow: 0 0 0 100px #262626 inset; }
.hero-lead .form-group textarea { min-height: 76px; }
.hero-lead-btn { width: 100%; justify-content: center; margin-top: 4px; }
.hero-lead .form-status { margin-top: 12px !important; }
.hero-lead-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #393939; list-style: none; font-size: .76rem; color: #a8a8a8; }
.hero-lead-trust li::before { content: '✓'; color: var(--ji-green-60, #10b981); margin-right: 6px; font-weight: 700; }
.hero-lead-note { margin: 10px 0 0; font-size: .72rem; color: #6f6f6f; max-width: none; }
.hero-lead-note a { text-decoration: underline; color: #a8a8a8; }
.hero-lead .phone-row { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.hero-lead .phone-row select { background: #262626; color: #f4f4f4; border: 0; border-bottom: 1px solid #6f6f6f; border-radius: 0; padding: 12px 8px; font: inherit; font-size: .95rem; width: 100%; }
.hero-lead .phone-row select:focus { outline: 0; background: #2e2e2e; border-bottom-color: var(--ji-green-60, #10b981); box-shadow: 0 1px 0 var(--ji-green-60, #10b981); }

@media (max-width: 520px) { .hero-lead { padding: 22px 18px 18px; } }
.hero-lead { max-width: 560px; width: 100%; }
/* homepage hero with form */
.hero-inner.has-lead { grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); gap: 56px; align-items: center; max-width: 1360px; margin: 0 auto; padding: 56px var(--grid-gutter); }
.hero-inner.has-lead .hero-content.container { padding: 0; margin: 0; max-width: none; }
.hero-inner.has-lead .hero-lead { justify-self: end; }
@media (max-width: 1000px) { .hero-inner.has-lead { grid-template-columns: 1fr; gap: 36px; padding: 40px var(--grid-gutter) 48px; } .hero-inner.has-lead .hero-lead { justify-self: start; } .hero-inner.has-lead .hero-actions { display: none; } }
/* case-study enquiry section */
.cs-enquire { background: #0f0f0f; color: #f4f4f4; padding: 72px 0; border-top: 1px solid #262626; }
.cs-enquire-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,520px); gap: 56px; align-items: center; }
.cs-enquire h2 { color: #fff; font-size: clamp(1.7rem,3vw,2.3rem); font-weight: 300; line-height: 1.2; margin: 0 0 14px; }
.cs-enquire-copy p { color: #a8a8a8; line-height: 1.6; max-width: 46ch; margin: 0 0 18px; }
.cs-enquire-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: #c6c6c6; font-size: .95rem; }
.cs-enquire-copy li::before { content: '✓'; color: var(--ji-green-60, #10b981); margin-right: 10px; font-weight: 700; }
.cs-enquire .hero-lead { justify-self: end; }
@media (max-width: 900px) { .cs-enquire { padding: 48px 0; } .cs-enquire-grid { grid-template-columns: 1fr; gap: 28px; } .cs-enquire .hero-lead { justify-self: start; } }
.cs-enquire .hero-lead h2 { font-size: 1.3rem; font-weight: 500; line-height: 1.3; margin: 0 0 6px; }
.hero-inner.has-lead .hero-stats .stat-num { white-space: nowrap; }

/* banner form (services, portfolio) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero.has-lead { background: radial-gradient(900px 420px at 85% 40%, rgba(16,185,129,.16), transparent 70%), var(--ji-black); }
.page-hero.has-lead .ph-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,500px); gap: 64px; align-items: center; }
.page-hero.has-lead .hero-lead { justify-self: end; max-width: 500px; }
@media (max-width: 900px) { .page-hero.has-lead .ph-grid { grid-template-columns: 1fr; gap: 32px; } .page-hero.has-lead .hero-lead { justify-self: start; } .page-hero.has-lead { padding: 56px 0; } .page-hero.has-lead .hero-lead .cs-actions { display: none; } }
