/*
  Manufacturing Industries Page Styles
  Figma: node 2081:41757

  Reuses: intone-ind-* shared components from intone-design-system.css §14b
  Unique: mfg-why-section, mfg-trusted-section, mfg-related-section, mfg-faq-section

  Version: 1.0.0 (new)
*/

/* ═══════════════════════════════════════════════════════
   WHY INTONE — why-section header + gold image panel + 2×2 cards
   Figma (2076:2642) shows the same panel+2×2-grid layout as the
   Healthcare canonical template (.hc-why-section__panel/__cards) —
   this page was missing the panel and used a flat 1×4 row instead.
════════════════════════════════════════════════════════ */

.intone-mfg-page .mfg-why-section {
  position: relative;
  padding: 6.25rem 0;
}

.mfg-why-section__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 5.375rem;
}

.mfg-why-section__header {
  border-top: 1px solid #09101d;
  padding-top: 1.3125rem;
  display: flex;
  gap: 9.8125rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 0;
  text-align: left;
}

.mfg-why-section__title {
  display: block;
  font-size: 2.375rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ds-dark-900);
  white-space: nowrap;
  margin-bottom: 0;
}

.mfg-why-section__sub {
  display: block;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: normal;
  color: var(--ds-dark-900);
}

.mfg-why-section__layout {
  display: flex;
  gap: 1.875rem;
  align-items: stretch;
}

.mfg-why-cards {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.mfg-why-section__panel {
  flex: 0 0 406px;
  background: var(--ds-gold);
  overflow: hidden;
  position: relative;
  min-height: 753px;
}

.mfg-why-section__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mfg-why-card {
  background: var(--ds-light-200);
  padding: 2.75rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  min-height: 370px;
}

.mfg-why-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.175;
  color: var(--ds-dark-900);
  margin: 0;
}

.mfg-why-card__body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.175;
  color: #596068;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   TRUSTED BY — institution type chips
════════════════════════════════════════════════════════ */

.mfg-trusted-section {
  position: relative;
  padding: 6.25rem 0;
  background: #f3f5f8;
  border-top: 1px solid #d9dfe5;
  border-bottom: 1px solid #d9dfe5;
}

.mfg-trusted-section__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 4.6875rem;
}

.mfg-trusted-section__header {
  border-top: 1px solid #09101d;
  padding-top: 1.3125rem;
  margin-bottom: 0;
  text-align: left;
}

.mfg-trusted-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: normal;
  color: var(--ds-dark-900);
}

.mfg-trusted-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #d9dfe5;
  border: 1px solid #d9dfe5;
  margin: 0;
}

.mfg-trusted-chip {
  background: var(--ds-neutral-100, #fff);
  border: 0;
  border-radius: 0;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(77, 86, 96, 0.7);
  line-height: normal;
}

/* ═══════════════════════════════════════════════════════
   RELATED SERVICES — 3-card section
════════════════════════════════════════════════════════ */

.mfg-related-section {
  position: relative;
  padding: 6.25rem 0;
}

.mfg-related-section__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 4.25rem;
}

.mfg-related-section__header {
  border-top: 1px solid #181818;
  padding-top: 1.0625rem;
  text-align: left;
  margin-bottom: 0;
}

.mfg-related-section__title {
  font-size: 2.375rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #181818;
}

.mfg-related-section__display {
  font-size: clamp(2rem, 4.7vw, 4.25rem);
  font-weight: 200;
  text-transform: uppercase;
  color: #000;
  line-height: 1.175;
  margin: 0;
  text-align: left;
}

.mfg-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mfg-related-card {
  background: var(--ds-light-200);
  min-height: 297px;
  padding: 3.375rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mfg-related-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: normal;
  color: #09101d;
  margin: 0;
}

.mfg-related-card__body {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.64;
  color: #596068;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   CTA SECTION — ready-kicker + ready-alt
════════════════════════════════════════════════════════ */

.intone-mfg-page .home-ready {
  width: min(1352px, calc(100% - 5.5rem));
  margin-left: auto;
  margin-right: auto;
}
.intone-mfg-page .home-ready__bg-text span {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800;
}
.intone-mfg-page .mfg-ready-kicker {
  font-size: 0.75rem;
  font-weight: 400;
  color: #141414;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.1em;
}

.intone-mfg-page .mfg-ready-alt {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(20, 20, 20, 0.6);
  margin: 0;
}

/* The shared .home-ready__arch is an unconditional white shape — this
   button was left white-fill/black-text (the shared .btn-cta-white
   default, built for a dark arch), making it invisible/borderless. */
.intone-mfg-page .home-ready .btn-cta-white {
  background: #141414;
  color: #fff;
}
.intone-mfg-page .home-ready .btn-cta-white:hover {
  background: var(--ds-gold, #f6b43f);
  color: #000;
}

/* ═══════════════════════════════════════════════════════
   FAQ SECTION — searchable accordion
════════════════════════════════════════════════════════ */

.mfg-faq-section {
  position: relative;
  padding: 6.25rem 0;
  background: var(--ds-neutral-100, #fff);
}

.mfg-faq-section__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mfg-faq-section__header {
  border-top: 1px solid #181818;
  padding-top: 1.0625rem;
  margin-bottom: 0;
  text-align: left;
}

.mfg-faq-section__title {
  font-size: 2.375rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: normal;
  color: #181818;
  margin: 0;
}

.mfg-faq-search {
  border-top: 1px solid #181818;
  padding-top: 1.0625rem;
  margin-top: 4rem;
  display: block;
}

.mfg-faq-search__input {
  width: 100%;
  max-width: none;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  background: var(--ds-neutral-100, #fff);
  font-family: inherit;
  color: #303030;
}

.mfg-faq-search__input::placeholder {
  color: #999;
}

.mfg-faq-list {
  display: flex;
  flex-direction: column;
}

.mfg-faq-item {
  border: 0;
  border-top: 1px solid #181818;
  border-radius: 0;
  background: none;
  padding: 1.25rem 0;
  overflow: visible;
}

.mfg-faq-list .mfg-faq-item:last-child {
  border-bottom: 1px solid #181818;
}

.mfg-faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  color: #303030;
  transition: none;
}

.mfg-faq-item__q:hover {
  background: none;
  color: #000;
}

.mfg-faq-item__q span {
  flex: 1;
  min-width: 0;
  margin-right: 0;
  overflow-wrap: break-word;
}

.mfg-faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: currentColor;
  margin-top: 0;
}

.mfg-faq-item.is-open .mfg-faq-item__chevron {
  transform: rotate(180deg);
}

.mfg-faq-item__a {
  display: none;
  padding: 0.875rem 0 0;
  max-width: 1269px;
  font-size: 1rem;
  line-height: 1.5;
  color: #596068;
}

.mfg-faq-item.is-open .mfg-faq-item__a {
  display: block;
}

.mfg-faq-item__a p {
  margin: 0;
  font-weight: 400;
}

.mfg-faq-empty {
  text-align: left;
  padding: 0;
  font-size: 1rem;
  color: #596068;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — tablet & mobile
════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .intone-mfg-page .mfg-why-section {
    padding: 5rem 2rem;
  }

  .mfg-why-section__layout {
    flex-direction: column;
  }

  .mfg-why-section__panel {
    flex: none;
    width: 100%;
    min-height: 320px;
  }

  .mfg-why-section__panel img {
    position: static;
    height: 320px;
  }

  .mfg-why-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .mfg-why-section__title {
    font-size: 1rem;
  }

  .mfg-why-section__sub {
    font-size: 1.75rem;
  }

  .mfg-trusted-section {
    padding: 4rem 2rem;
  }

  .mfg-related-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mfg-faq-section {
    padding: 4rem 2rem;
  }
}

@media (max-width: 640px) {
  .intone-mfg-page .home-ready {
    width: calc(100% - 2.5rem);
  }

  .intone-mfg-page .mfg-why-section {
    padding: 3rem 1.5rem;
  }

  .mfg-why-cards {
    grid-template-columns: 1fr;
  }

  .mfg-why-card__title {
    font-size: 1.125rem;
  }

  .mfg-why-section__sub {
    font-size: 1.375rem;
  }

  .mfg-trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mfg-related-section {
    padding: 3rem 1.5rem;
  }

  .mfg-related-section__display {
    font-size: 1.75rem;
  }

  .mfg-faq-section {
    padding: 3rem 1.5rem;
  }

  .mfg-faq-item__q {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .mfg-faq-item__a {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════
   DARK MODE
════════════════════════════════════════════════════════ */

[data-theme="dark"] .mfg-why-section__title,
[data-theme="dark"] .mfg-why-section__sub,
[data-theme="dark"] .mfg-why-card__title,
[data-theme="dark"] .mfg-trusted-section__title,
[data-theme="dark"] .mfg-trusted-chip,
[data-theme="dark"] .mfg-related-section__title,
[data-theme="dark"] .mfg-related-section__display,
[data-theme="dark"] .mfg-related-card__title,
[data-theme="dark"] .mfg-faq-section__title,
[data-theme="dark"] .mfg-faq-item__q {
  color: var(--t-text);
}

[data-theme="dark"] .mfg-why-card__body,
[data-theme="dark"] .mfg-related-card__body,
[data-theme="dark"] .mfg-faq-item__a p {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .mfg-trusted-section {
  background-color: #1a1a1a;
}

[data-theme="dark"] .mfg-trusted-chip {
  background-color: #222;
  border-color: #333;
  color: var(--t-text);
}

[data-theme="dark"] .mfg-faq-section {
  background-color: #1a1a1a;
}

[data-theme="dark"] .mfg-faq-item {
  background-color: #222;
  border-color: #333;
}

[data-theme="dark"] .mfg-faq-item__q {
  background-color: #222;
}

[data-theme="dark"] .mfg-faq-item__q:hover {
  background-color: #2a2a2a;
}

[data-theme="dark"] .mfg-faq-search__input {
  background-color: #222;
  border-color: #333;
  color: var(--t-text);
}

[data-theme="dark"] .mfg-faq-search__input::placeholder {
  color: #777;
}
