/* Industry listing page (/industry). Everything is scoped to .industries-page. */
.industries-page {
  --ind-ink: #0b1340;
  --ind-copy: #4a5875;
  --ind-blue: #1a5cf5;
  --ind-eyebrow: #2a4bb5;
  --ind-orange: #f56d25;
  --ind-border: #e4eaf4;
  --ind-shadow: 0 10px 30px rgba(17, 41, 89, 0.08);
  color: var(--ind-ink);
  background: #fff;
  overflow-x: hidden;
}

.industries-page .main-container {
  height: auto;
  min-height: 0;
}

.industries-page .main-container .header-container .header-container-box:not(.header-white) {
  background: #f2f8ff;
  box-shadow: none;
}

.industries-page main :where(h1, h2, h3, p, ul) {
  margin: 0;
}

.industries-page main ul {
  padding: 0;
  list-style: none;
}

.industries-page main a {
  text-decoration: none;
}

.industries-page main svg {
  display: block;
}

.ind-container {
  width: min(calc(100% - 96px), 1280px);
  margin-inline: auto;
}

.ind-accent {
  color: var(--ind-orange);
}

.ind-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px !important;
  color: var(--ind-eyebrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ind-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--ind-orange);
}

.ind-section-heading h2 {
  color: var(--ind-ink);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ind-section-heading > p:not(.ind-eyebrow) {
  margin-top: 10px !important;
  color: var(--ind-copy);
  font-size: 17px;
  line-height: 1.6;
}

/* Buttons */
.ind-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 26px;
  color: #fff !important;
  background: var(--ind-orange);
  border: 1.5px solid var(--ind-orange);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(245, 109, 37, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ind-btn svg {
  width: 18px;
  height: 18px;
}

.ind-btn:hover,
.ind-btn:focus-visible {
  background: #e35c15;
  border-color: #e35c15;
  transform: translateY(-2px);
}

.ind-btn-outline {
  min-width: 140px;
  color: var(--ind-blue) !important;
  background: #fff;
  border-color: var(--ind-blue);
  box-shadow: none;
}

.ind-btn-outline:hover,
.ind-btn-outline:focus-visible {
  color: #fff !important;
  background: var(--ind-blue);
  border-color: var(--ind-blue);
}

/* Round arrow button used on the industry cards */
.ind-arrow-btn {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--tone, var(--ind-blue));
  background: #fff;
  border: 1px solid #e3e9f3;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(17, 41, 89, 0.08);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ind-arrow-btn svg {
  width: 18px;
  height: 18px;
}

/* Hero: photo on the right; its left edge fades into the hero background. */
.ind-hero {
  position: relative;
  margin-top: 65px; /* clear the fixed navigation */
  padding-top: 24px;
  background:
    radial-gradient(ellipse 55% 75% at 87% 65%, rgba(209, 231, 251, 0.45), transparent 75%),
    linear-gradient(180deg, #f2f8ff 0%, #eaf4ff 100%);
  overflow: hidden;
}

.ind-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.25) 12%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.25) 12%, #000 34%);
}

.ind-hero-media img {
  display: block;
  width: 100%;
  height: clamp(380px, 31vw, 520px);
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 88%, transparent 100%);
}

.ind-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(550px, 42vw, 680px);
}

.ind-hero-copy {
  max-width: 560px;
  padding: 48px 0;
}

.ind-hero h1 {
  color: var(--ind-ink);
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ind-hero-line {
  display: block;
}

.ind-hero-intro {
  max-width: 520px;
  margin-top: 18px !important;
  color: var(--ind-copy);
  font-size: 18px;
  line-height: 1.6;
}

.ind-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ind-btn-outline {
  min-width: 170px;
}

/* Tones */
.ind-tone-blue { --tone: #1a5cf5; --tone-bg: #eaf1ff; }
.ind-tone-orange { --tone: #f56d25; --tone-bg: #fff1e8; }
.ind-tone-purple { --tone: #7247e8; --tone-bg: #f1ecff; }
.ind-tone-green { --tone: #1f9d4b; --tone-bg: #e7f8ec; }

/* Featured industries */
.ind-featured {
  padding: 80px 0 88px;
  background: #fff;
}

.ind-featured-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
}

.ind-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--ind-blue) !important;
  font-size: 16px;
  font-weight: 600;
}

.ind-view-all svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.ind-view-all:hover svg {
  transform: translateX(4px);
}

.ind-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px !important;
}

.ind-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--ind-ink);
  border-radius: 16px;
  box-shadow: var(--ind-shadow);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

/* The body tint starts at the curved edge's colour (--card-top), so the curve
   and the text area read as one shape. The gradient sits on the body only;
   on the whole card it would already be darker where the body begins. */
.ind-feature-card.ind-tone-green { --card-top: #ecf6ed; --card-bottom: #e3f1e4; }
.ind-feature-card.ind-tone-blue { --card-top: #e6f3fe; --card-bottom: #dfebfd; }
.ind-feature-card.ind-tone-orange { --card-top: #ffecdf; --card-bottom: #ffe3d3; }

.ind-feature-card {
  background: var(--card-bottom);
}

.ind-feature-card:hover,
.ind-feature-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 41, 89, 0.14);
}

.ind-feature-media {
  position: relative;
  display: block;
  aspect-ratio: 2.2 / 1;
  overflow: hidden;
}

/* Curved bottom edge of the photo, filled with the card body's top colour. */
.ind-feature-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 18%;
}

.ind-feature-wave {
  color: var(--card-top);
}

.ind-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ind-feature-body {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 16px;
  margin-top: -1px;
  padding: 13px 22px 24px;
  background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
}

.ind-feature-text {
  flex: 1;
}

.ind-feature-title {
  display: block;
  margin-bottom: 10px;
  color: var(--ind-ink);
  font-size: 21px;
  font-weight: 700;
}

.ind-feature-desc {
  display: block;
  color: #34405e;
  font-size: 15px;
  line-height: 1.5;
}

.ind-feature-card:hover .ind-arrow-btn,
.ind-industry-card:hover .ind-arrow-btn {
  color: #fff;
  background: var(--tone, var(--ind-blue));
  border-color: var(--tone, var(--ind-blue));
}

/* Explore all industries */
.ind-all {
  padding: 56px 0 40px;
  scroll-margin-top: 70px;
}

.ind-all-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 40px;
}

.ind-all-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ind-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 18px;
  min-height: 48px;
  color: #6b7790;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 999px;
  cursor: text;
}

.ind-search svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.ind-search-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  color: var(--ind-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.ind-search:focus-within {
  border-color: var(--ind-blue);
  box-shadow: 0 0 0 3px rgba(26, 92, 245, 0.12);
}

/* All category chips stay on one line; on narrow screens the row scrolls
   sideways instead of wrapping. */
.ind-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ind-filters::-webkit-scrollbar {
  display: none;
}

.ind-filter {
  flex: 0 0 auto;
  padding: 8px 14px;
  white-space: nowrap;
  color: #26334f;
  background: #f1f3f6;
  border: 1px solid #f1f3f6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.ind-filter:hover {
  color: var(--ind-orange);
  border-color: var(--ind-orange);
}

.ind-filter.is-active {
  color: #fff;
  background: var(--ind-orange);
  border-color: var(--ind-orange);
}

.ind-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px !important;
}

.ind-industry-grid > li[hidden] {
  display: none;
}

.ind-industry-card {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 10px 16px 10px 10px;
  color: var(--ind-ink);
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(17, 41, 89, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ind-industry-card:hover,
.ind-industry-card:focus-visible {
  border-color: #cfdaf0;
  transform: translateY(-2px);
  box-shadow: var(--ind-shadow);
}

.ind-industry-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3fb;
}

.ind-industry-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ind-industry-text {
  flex: 1;
  min-width: 0;
}

.ind-industry-title {
  display: block;
  margin-bottom: 6px;
  color: var(--ind-ink);
  font-size: 17px;
  font-weight: 600;
}

.ind-industry-desc {
  display: block;
  color: #66718a;
  font-size: 13.5px;
  line-height: 1.5;
}

.ind-empty {
  margin-top: 24px !important;
  color: var(--ind-copy);
  text-align: center;
}

/* Platform capabilities */
.ind-capabilities {
  padding: 16px 0 0;
}

.ind-capabilities-wrap {
  width: min(calc(100% - 32px), 1340px);
  margin-inline: auto;
}

.ind-capabilities-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
  background: #f3f9fe;
  border-radius: 20px;
}

.ind-capabilities .ind-section-heading h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.25;
}

.ind-capabilities-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ind-capabilities-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 16px;
  text-align: center;
}

.ind-capabilities-list li + li {
  border-left: 1px solid #d9e3f2;
}

.ind-capability-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--tone);
  background: var(--tone-bg);
  border-radius: 50%;
}

.ind-capability-icon svg {
  width: 24px;
  height: 24px;
}

.ind-capabilities-list h3 {
  max-width: 130px;
  color: var(--ind-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* Mid-page CTA: navy card with the laptop + phone visual on the right; the
   phone's top edge rises just above the card. */
.ind-mid-cta {
  padding: 8px 0 0;
  background: linear-gradient(180deg, #f2f8fe 0%, #fff 100%);
}

.ind-mid-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 40px 0 40px 48px;
  color: #fff;
  background:
    radial-gradient(50% 120% at 85% 20%, rgba(43, 98, 210, 0.45), transparent 70%),
    linear-gradient(100deg, #04215e 0%, #062765 45%, #0c3379 100%);
  border-radius: 18px;
}

.ind-mid-cta .ind-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.ind-mid-cta-copy h2 {
  color: #fff;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.ind-mid-cta-text {
  margin-top: 10px !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.55;
}

.ind-mid-cta-copy .ind-btn {
  margin-top: 24px;
}

.ind-mid-cta-visual {
  align-self: end;
  justify-self: end;
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: -48px 16px -40px 0;
}

/* Pre-footer CTA: soft peach card with the button and a trust note. */
.ind-cta {
  padding: 28px 0 56px;
}

.ind-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px 40px;
  padding: 30px 40px;
  background: linear-gradient(90deg, #feebe3 0%, #fdf0ea 50%, #feebe2 100%);
  border: 1px solid #fbe0d3;
  border-radius: 18px;
}

.ind-cta-message h2 {
  color: var(--ind-ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.ind-cta-message p {
  max-width: 560px;
  margin-top: 8px !important;
  color: var(--ind-copy);
  font-size: 15px;
  line-height: 1.55;
}

.ind-cta-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  color: #34405e;
  font-size: 13.5px;
  line-height: 1.4;
}

.ind-cta-trust img {
  flex: 0 0 auto;
  width: 72px;
  height: auto;
}

@media (max-width: 1199px) {
  .ind-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ind-container {
    width: calc(100% - 48px);
  }

  .ind-hero-media {
    position: relative;
    top: auto;
    width: 100%;
    order: 2;
  }

  .ind-hero-media img {
    height: auto;
  }

  .ind-hero {
    display: flex;
    flex-direction: column;
  }

  .ind-hero-inner {
    min-height: 0;
  }

  .ind-hero-copy {
    padding: 56px 0 40px;
  }

  .ind-feature-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .ind-all-top {
    grid-template-columns: 1fr;
  }

  .ind-capabilities-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .ind-mid-cta-card {
    grid-template-columns: 1fr;
    padding: 32px 24px 0;
    text-align: center;
  }

  .ind-mid-cta .ind-eyebrow {
    justify-content: center;
  }

  .ind-mid-cta-visual {
    justify-self: center;
    max-width: 380px;
    margin: 0;
  }

  .ind-cta-card {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 24px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .ind-container {
    width: calc(100% - 32px);
  }

  .ind-industry-grid {
    grid-template-columns: 1fr;
  }

  .ind-industry-thumb {
    width: 72px;
    height: 72px;
  }

  .ind-capabilities-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .ind-capabilities-list li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 770px) {
  .ind-hero {
    margin-top: 48px; /* clear the fixed mobile navigation */
    padding-top: 16px;
  }

  .ind-featured {
    padding: 64px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .industries-page *,
  .industries-page *::before,
  .industries-page *::after {
    transition: none !important;
  }
}
