/* kosh-industries.css — the industry pages: the hub (/industry/industries/) and
   each industry (/industries/<name>/). Their heroes, contact form, FAQ, proof
   block and numbered steps. Everything else on them is a home-page component
   from kosh-home.css, which is linked before this file. */

/* simple hero (industries hub — matches the live /industry/industries page).
   Shuttle-blue: a soft sky-blue gradient wash behind the hero text only,
   so this page reads as its own section instead of flat white-on-white. */
.kh-hero-simple {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(120% 180% at 50% 0%, #eaf6ff 0%, #dbeffe 32%, #f5fbff 62%, #fff 100%);
}
.kh-hero-head {
  max-width: 760px;
  margin: 0 auto;
}
.kh-hero-head .kh-eyebrow {
  text-align: center;
}
.kh-hero-head h1 {
  margin: 0 0 1rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.12;
  text-transform: none;
  color: #1e1e1e;
}
.kh-hero-head p {
  font-size: 1.05rem;
  color: #5b6270;
}
@media (max-width: 640px) {
  .kh-hero-simple {
    padding: 3rem 0 2.5rem;
  }
  .kh-hero-head h1 {
    font-size: 2.1rem;
  }
}

/* contact us — info on the left, working form on the right */
.kh-contact-wrap {
  display: grid;
  gap: 3.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
@media (max-width: 860px) {
  .kh-contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.kh-contact-info h2 {
  margin: 0 0 1rem;
  text-align: left;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none;
  color: #1e1e1e;
}
.kh-contact-info p {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #4a4f57;
}
.kh-contact-info .kh-contact-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1.1rem;
}
.kh-contact-info .kh-contact-point i {
  margin-top: 0.15rem;
  font-size: 1.15rem;
  color: var(--primary-color, #fc7500);
}
.kh-contact-info .kh-contact-point strong {
  display: block;
  font-size: 0.95rem;
  color: #1e1e1e;
}
.kh-contact-info .kh-contact-point span,
.kh-contact-info .kh-contact-point a {
  font-size: 0.95rem;
  color: #4a4f57;
  text-decoration: none;
}
.kh-contact-info .kh-contact-point a:hover {
  color: var(--primary-color, #fc7500);
  text-decoration: underline;
}
.kh-contact-form {
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 24px -4px rgba(26, 31, 43, 0.08);
}
.kh-contact-form .hs-form-field {
  margin: 0 0 1.15rem;
}
.kh-contact-form .hs-form-field label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e1e1e;
}
.kh-contact-form .hs-form-field .input {
  position: relative;
}
.kh-contact-form input,
.kh-contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.4px solid #d9dde3;
  border-radius: 8px;
  font-size: 0.97rem;
  line-height: 1.4;
  color: #1e1e1e;
  background: #fff;
  font-family: inherit;
}
.kh-contact-form input:focus,
.kh-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color, #fc7500);
}
.kh-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.kh-contact-form .hs-form-field.kosh-invalid input,
.kh-contact-form .hs-form-field.kosh-invalid textarea {
  border-color: #d92d20;
}
.kh-contact-form ul.hs-error-msgs {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
.kh-contact-form ul.hs-error-msgs .hs-error-msg {
  font-size: 0.82rem;
  color: #d92d20;
}
.kh-contact-form input[type='submit'] {
  width: 100%;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 130px;
  background: var(--primary-color, #fc7500);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.kh-contact-form input[type='submit']:hover {
  opacity: 0.9;
}
.kh-contact-form input[type='submit']:disabled {
  cursor: default;
  opacity: 0.7;
}
.kh-contact-form .submitted-message {
  padding: 2.25rem 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e1e1e;
}

/* FAQs — reuses the theme's existing .faq-sec/.accordion pattern */
.kh-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

/* the Solutions menu links to each card (#payments, #retail …); keep the
   card clear of the fixed navbar when the page jumps to it */
#by-industry .kh-card[id] {
  scroll-margin-top: 120px;
}

/* industry pages (/industries/<name>/): customer proof, hero, numbered steps */
.kh-proof-wrap {
  display: grid;
  gap: 3rem;
  align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
@media (max-width: 860px) {
  .kh-proof-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* hero — simple, centered: H1 + short description + a small CTA that opens
   the demo-request modal (client's request — no image, no two-column
   split). Shuttle-blue: the same soft sky-blue gradient wash used on the
   industries hub. */
.kh-hero-split {
  padding: 4.5rem 0;
  background: radial-gradient(120% 180% at 50% 0%, #eaf6ff 0%, #dbeffe 32%, #f5fbff 62%, #fff 100%);
}
.kh-hero-split .kh-hero-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.kh-hero-split h1 {
  margin: 0 0 1rem;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
  color: #1e1e1e;
}
.kh-hero-split .kh-lede {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #4a4f57;
}
/* keep the theme's default .button padding here — it reserves space on the
   right for the circular arrow icon the theme draws with ::after; shrinking
   that padding (as an earlier pass did) makes the arrow overlap the label */
@media (max-width: 640px) {
  .kh-hero-split {
    padding: 3rem 0;
  }
  .kh-hero-split h1 {
    font-size: 2rem;
  }
}

/* how it works — numbered workflow steps */
.kh-steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: khstep;
}
@media (max-width: 900px) {
  .kh-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .kh-steps {
    grid-template-columns: 1fr;
  }
}
.kh-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}
.kh-step::before {
  counter-increment: khstep;
  content: counter(khstep);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary-color, #fc7500);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.kh-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e1e1e;
}
.kh-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a4f57;
}
