/* ==========================================================================
   Industry pages (Figma "Industries - Healthcare", prototype page 8)
   Header, footer and the "I need a…" picker come from style.css.
   ========================================================================== */

.ind-wrap { width: var(--container-width); margin: 0 auto; }

.ind-eyebrow {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
}
.ind-heading {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 42px;
  line-height: 50.4px;
  color: var(--color-heading);
}
.ind-text {
  font-family: var(--font-dm-sans);
  font-size: 18px;
  line-height: 28px;
  color: var(--color-body);
}

/* ---------- Banner ---------- */
/* Photo comes from the page (style="background-image:…"); the photos carry their own dark side */
.ind-hero { --banner-h: var(--hero-height, 1080px); --banner-x: 6px; }
/* Real Estate photo is bright on the left, so it gets the dark side the other photos have */
.ind-hero[style*="real-estate-"] { --banner-shade: linear-gradient(90deg, rgba(8, 12, 24, .88) 0%, rgba(8, 12, 24, .72) 32%, rgba(8, 12, 24, .25) 58%, rgba(8, 12, 24, 0) 75%); }
.ind-hero__title {
  width: 800px;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 50px;
  line-height: 62px;
  color: var(--color-white);
}
.ind-hero__text {
  width: 725px;
  margin-top: 30px;
  padding-left: 2px;
  font-family: var(--font-dm-sans);
  font-size: 18px;
  line-height: 30px;
  color: var(--color-white);
}
.ind-hero__actions { display: flex; align-items: center; gap: 48px; margin-top: 76px; }
.ind-hero__actions .circle-link { color: var(--color-white); }

/* ---------- Challenges ---------- */
.ind-challenges { padding: var(--section-space) 0; background: var(--color-white); }
.ind-challenges__top { display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.ind-challenges__intro { width: 600px; }
.ind-challenges__intro .ind-heading { margin-top: 12px; }
.ind-challenges__intro .ind-text { margin-top: 20px; }
.ind-challenges__image {
  flex: 0 0 711px;
  height: 318px;
  border-radius: 16px;
  object-fit: cover;
  background: #E9ECF5;
}
.ind-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px 48px;
  margin: 96px 0 0;
  padding: 0;
  list-style: none;
}
.ind-point { padding-top: 17px; border-top: 1px solid #3D95E6; }
.ind-point__title {
  max-width: 290px;
  min-height: 72px;                    /* every title takes two lines, so the texts line up */
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-heading);
}
.ind-point__text {
  margin-top: 14px;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  line-height: 24px;
  color: #6B7280;
}

/* ---------- Services list ---------- */
.ind-services { padding: var(--section-space) 0; background: var(--color-soft-bg); }
.ind-services__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.ind-services__intro { position: sticky; top: 120px; width: 586px; padding-top: 35px; }
.ind-services__intro .ind-text { margin-top: 24px; }
.ind-services__list { flex: 0 0 867px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #D0D5DD; }
.ind-service {
  display: grid;
  grid-template-columns: 50px 1fr 391px;
  gap: 0 24px;
  padding: 26px 0 30px 10px;
  border-bottom: 1px solid #D0D5DD;
}
.ind-service__num {
  padding-top: 8px;
  font-family: var(--font-dm-sans);
  font-weight: 700;
  font-size: 13px;
  line-height: 20px;
  color: #6B7280;
}
.ind-service__title {
  max-width: 340px;
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-heading);
}
.ind-service__text {
  font-family: var(--font-dm-sans);
  font-size: 18px;
  line-height: 28px;
  color: #1F2937;
}

/* ---------- Case study slider ---------- */
.ind-cases { padding: var(--section-space) 0; background: var(--color-white); }
.ind-cases__slider { position: relative; margin-top: var(--head-gap); overflow: hidden; border-radius: 32px; cursor: grab; touch-action: pan-y; }
.ind-cases__slider.is-dragging { cursor: grabbing; }
.ind-cases__track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .6s ease; user-select: none; }
.ind-cases__slider.is-dragging .ind-cases__track { transition: none; }
.ind-case {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 798px;
  padding: 0 76px 64px;
  background: #0B3D7A;
}
.ind-case::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 119, 224, .95) 0%, rgba(0, 119, 224, .7) 40%, rgba(0, 119, 224, .15) 100%);
}
.ind-case > * { position: relative; z-index: 1; }
.ind-case { isolation: isolate; }
.ind-case > .ind-case__ph { position: absolute; z-index: -1; place-items: start end; }
.ind-case__title {
  width: 640px;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  color: var(--color-white);
}
.ind-case__text {
  width: 640px;
  margin-top: 20px;
  font-family: var(--font-dm-sans);
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, .9);
}
.ind-case__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 60px;
  margin-top: 56px;
  padding: 0 40px;
  border-radius: 6px;
  background: #1CD6F2;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 16px;
  color: #050A1A;
  transition: background-color .2s ease;
}
.ind-case__btn:hover { background: #FFFFFF; color: #050A1A; }

.ind-cases__dots { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.ind-cases__dot {
  width: 20px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #D8D8D8;
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
.ind-cases__dot.is-active { width: 40px; background: var(--color-primary); }

/* ---------- Benefits ---------- */
.ind-benefits { padding: var(--section-space) 0; background: var(--color-soft-bg); }
.ind-benefits__head { width: 760px; }
.ind-benefits__head .ind-text { margin-top: 24px; }
.ind-benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.ind-benefit { grid-column: span 2; padding: 34px 32px 40px; border-radius: 8px; background: var(--color-white); }
.ind-benefit:nth-child(n+4) { grid-column: span 3; }
.ind-benefit__num {
  display: block;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 56px;
  line-height: 60px;
  color: #CFE4F8;
}
.ind-benefit__title {
  margin-top: 20px;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #0F172A;
}
.ind-benefit__text {
  margin-top: 10px;
  font-family: var(--font-dm-sans);
  font-size: 15px;
  line-height: 25px;
  color: var(--color-body);
}

/* ---------- Plan your project (form) ---------- */
.ind-plan { padding: var(--section-space) 0; background: var(--color-white); }
.ind-plan__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; padding: 0 72px 0 47px; }
.ind-plan__intro { width: 560px; padding-top: 40px; }
.ind-plan__intro .ind-text { margin-top: 24px; font-size: 18px; line-height: 28px; }

.ind-form {
  flex: 0 0 682px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  padding: 40px;
  border: 1px solid #E6E8F0;
  border-radius: 20px;
  background: #F5F6FD;
}
.ind-form__field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ind-form__field--wide { grid-column: 1 / -1; }
.ind-form__label {
  font-family: var(--font-poppins);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #0B1324;
}
.ind-form input,
.ind-form select,
.ind-form textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid #E2E5EC;
  border-radius: 10px;
  background-color: #FFFFFF;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  color: #0B1324;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ind-form textarea { height: 128px; padding: 14px 16px; resize: vertical; }
.ind-form select { appearance: none; padding-left: 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%230B1324' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.ind-form input::placeholder, .ind-form textarea::placeholder { color: #1F2937; }
.ind-form input:focus, .ind-form select:focus, .ind-form textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 119, 224, .12); }
.ind-form__note {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-family: var(--font-dm-sans);
  font-size: 13px;
  line-height: 22px;
  color: #0B1324;
}
.ind-form__submit {
  grid-column: 1 / -1;
  height: 60px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--color-primary);
  box-shadow: 0 10px 30px -6px rgba(170, 110, 230, .35);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ind-form__submit:hover { background: #0062BA; transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(0, 119, 224, .45); }
.ind-form .svc-form__status { grid-column: 1 / -1; min-height: 0; margin: 0; font-family: var(--font-dm-sans); font-size: 14px; color: #0B1324; }
.ind-form .svc-form__status:empty { display: none; }

/* Plan intro: three points with round icons */
.ind-plan__points { display: flex; flex-direction: column; gap: 21px; margin: 46px 0 0; padding: 0; list-style: none; }
.ind-plan__points li { display: flex; align-items: center; gap: 14px; font-family: var(--font-dm-sans); font-size: 15px; line-height: 22px; color: #4B5563; }
.ind-plan__points strong { font-weight: 600; color: #374151; }
.ind-plan__icon { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #2A1B5C; }
.ind-plan__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ind-plan__icon--team  { color: #7DD3FC; }
.ind-plan__icon--route { color: #F0A6E8; }
.ind-plan__icon--smile { color: #4ADE80; }

/* ---------- FAQ ---------- */
.ind-faq { padding: var(--section-space) 0; background: #0C1470; text-align: center; }
.ind-faq .ind-eyebrow { font-size: 18px; line-height: 24px; letter-spacing: 0; color: #6CCBFF; }
.ind-faq .ind-heading { margin-top: 16px; color: var(--color-white); }
.ind-faq__text {
  margin-top: 8px;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, .85);
}
.ind-faq__list { width: 817px; margin: 60px auto 0; text-align: left; }
.ind-faq-item { border-radius: 10px; background: var(--color-white); }
.ind-faq-item + .ind-faq-item { margin-top: 17px; }
.ind-faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 75px;
  padding: 18px 24px;
  border: 0;
  background: none;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 19px;
  line-height: 28px;
  color: #191919;
  text-align: left;
  cursor: pointer;
}
.ind-faq-item__icon { flex: 0 0 14px; width: 14px; height: 14px; transition: transform .25s ease; }
.ind-faq-item__q[aria-expanded="true"] .ind-faq-item__icon { transform: rotate(180deg); }
.ind-faq-item__a {
  padding: 0 24px 24px;
  font-family: var(--font-dm-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-body);
}

/* ==========================================================================
   Visible spacing: 85px from a section's edge to the top of the first
   letters / first card, and from the last line or card to the edge.
   ========================================================================== */
@media (min-width: 1200px) {
  .ind-heading { margin-top: -10px; }
  .ind-challenges__intro .ind-heading { margin-top: 6px; }
  .ind-services { padding-bottom: var(--section-space); }
  .ind-faq .ind-eyebrow { margin-top: -6px; }
  .ind-faq .ind-heading { margin-top: 33px; }
  .ind-page .cta-needs { padding-top: calc(var(--section-space) - 4px); }
}

/* ==========================================================================
   Smaller screens
   ========================================================================== */
@media (max-width: 1199.98px) {
  .ind-wrap { width: auto; padding: 0 16px; }
  .ind-heading { font-size: 32px; line-height: 40px; }

  .ind-hero__title { width: auto; max-width: 760px; font-size: 40px; line-height: 48px; }
  .ind-hero__text { width: auto; max-width: 740px; margin-top: 24px; font-size: 17px; line-height: 28px; }
  .ind-hero__actions { flex-wrap: wrap; gap: 24px; margin-top: 40px; }

  .ind-challenges__top { flex-direction: column; align-items: stretch; gap: 40px; }
  .ind-challenges__intro { width: auto; }
  .ind-challenges__image { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 711 / 318; }
  .ind-points { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; margin-top: 56px; }

  .ind-services__inner { flex-direction: column; gap: 40px; }
  .ind-services__intro { position: static; width: auto; padding-top: 0; }
  .ind-services__list { flex-basis: auto; width: 100%; }
  .ind-service { grid-template-columns: 48px 1fr; padding: 24px 0; }
  .ind-service__text { grid-column: 2; margin-top: 8px; font-size: 16px; line-height: 26px; }

  .ind-cases__slider { border-radius: 20px; }
  .ind-case { height: auto; min-height: 560px; padding: 48px 24px; }
  .ind-case__title, .ind-case__text { width: auto; }
  .ind-case__title { font-size: 30px; line-height: 38px; }

  .ind-benefits__head { width: auto; }
  .ind-benefits__grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
  .ind-benefit, .ind-benefit:nth-child(n+4) { grid-column: auto; padding: 28px 24px; }

  .ind-plan__inner { flex-direction: column; align-items: stretch; gap: 40px; padding: 0 16px; }
  .ind-plan__intro { width: auto; padding-top: 0; }
  .ind-form { flex-basis: auto; padding: 32px 24px; }

  .ind-faq { padding-left: 16px; padding-right: 16px; }
  .ind-faq__list { width: auto; max-width: 817px; margin-top: 40px; }
  .ind-faq-item__q { font-size: 17px; line-height: 26px; }
}

@media (max-width: 575.98px) {
  .ind-hero__title { font-size: 30px; line-height: 38px; }
  .ind-hero__actions .circle-link { width: auto; max-width: 100%; white-space: normal; }
  .ind-points, .ind-benefits__grid { grid-template-columns: 1fr; }
  .ind-service { grid-template-columns: 1fr; }
  .ind-service__text { grid-column: 1; }
  .ind-form { grid-template-columns: 1fr; }
  .ind-case { min-height: 520px; padding: 40px 24px; }
  .ind-case__title { font-size: 26px; line-height: 34px; }
}



/* Healthcare banner: compliance badges under the button, as in the design */
.ind-hero__badges { display: flex; align-items: center; gap: 46px; margin: 98px 0 0; padding: 0; list-style: none; }
.ind-hero__badges img { display: block; width: auto; }
.ind-hero__badges li:nth-child(1) img { height: 58px; }
.ind-hero__badges li:nth-child(2) img { height: 48px; }
.ind-hero__badges li:nth-child(3) img { height: 60px; }
.ind-hero__badges li:nth-child(4) img { height: 51px; }
@media (max-width: 1199.98px) { .ind-hero__badges { gap: 28px; margin-top: 40px; flex-wrap: wrap; } }

/* ==========================================================================
   Review updates (developer feedback)
   ========================================================================== */

/* Banner: even steps between heading, paragraph, button and badges */
@media (min-width: 1200px) {
  .ind-hero__actions { margin-top: 44px; }
  .ind-hero__badges { margin-top: 56px; }
}

/* "What Better … Software Enables": same gap under the heading as other sections,
   even padding inside the cards */
.ind-benefits__grid { margin-top: var(--head-gap); gap: 24px; }
.ind-benefit { padding: 36px 36px 38px; border: 1px solid #E6E8F0; border-radius: 12px; }
.ind-benefit__num { line-height: 56px; }
.ind-benefit__title { margin-top: 24px; }
.ind-benefit__text { margin-top: 12px; }
/* Tablets: every card gets the same padding (cards 4 and 5 were narrower inside than 1–3) */
@media (max-width: 1199.98px) {
  .ind-benefit, .ind-benefit:nth-child(n+4) { padding: 28px 24px; }
}

/* "Plan Your Next … Launch": heading and form line up at the top and with the page edges */
@media (min-width: 1200px) {
  .ind-plan__inner { padding: 0; }
  .ind-plan__intro { padding-top: 0; }
}

/* Case study slider: same corner rounding as the other boxes, and the corners
   stay rounded while slides move (Safari) */
.ind-cases__slider { border-radius: 20px; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }

/* "Read the story": site colours instead of the one-off cyan */
.ind-case__btn {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.ind-case__btn:hover,
.ind-case__btn:focus-visible { background: #050A1A; color: var(--color-white); transform: translateY(-2px); }
