/* Shared styles for Synvert industry sector pages */

.ind-hero {
  position: relative;
  padding: 170px 0 90px;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.ind-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ind-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.ind-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 72%, transparent) 0%, var(--bg) 88%),
    radial-gradient(ellipse 70% 60% at 50% 0%, color-mix(in srgb, var(--red) 10%, transparent), transparent 65%);
  pointer-events: none;
}
html[data-theme="dark"] .ind-hero-media img { opacity: 0.14; }

.breadcrumb {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .25s ease; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep, .breadcrumb .current { color: var(--red); }

.ind-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ind-num::before {
  content: '';
  flex: 0 0 36px;
  height: 1px;
  background: var(--red);
}
.ind-hero h1 {
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 900px;
}
.ind-hero h1 .it { font-style: italic; font-weight: 500; }
.ind-hero h1 .accent { color: var(--red); }
.ind-hero p.lead {
  margin-top: 32px;
  font-size: 19px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}
.ind-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--red);
}
.ind-meta .m-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ind-meta .m-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.ind-meta .m-value .em { color: var(--red); font-weight: 600; }

.ind-section { padding: 90px 0; }
.ind-section.alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ind-section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.ind-section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ind-section-head .section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ind-section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.ind-section-head h2 .it { font-style: italic; font-weight: 500; }
.ind-section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.ind-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.ind-prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}
.ind-prose p:last-child { margin-bottom: 0; }
.ind-highlight {
  border: 1px solid var(--red);
  border-radius: 20px;
  padding: 32px 28px;
  background: var(--bg);
}
.ind-highlight .hl-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
}
.ind-highlight ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ind-highlight li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.ind-highlight li::before {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--red);
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.challenge-card {
  border: 1px solid var(--red);
  border-radius: 16px;
  padding: 28px 24px;
  background: var(--bg);
  min-height: 180px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.ind-section.alt .challenge-card { background: var(--bg-2); }
.challenge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px color-mix(in srgb, var(--red) 12%, transparent);
}
.challenge-card .c-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 16px;
}
.challenge-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.challenge-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.solution-rows { border-top: 1px solid var(--border); }
.solution-row {
  display: grid;
  grid-template-columns: 56px 1fr 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
}
.solution-row:hover {
  background: color-mix(in srgb, var(--red) 4%, transparent);
}
.solution-row .s-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
}
.solution-row h4 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.solution-row p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.solution-row .s-go {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: gap .25s ease;
}
.solution-row:hover .s-go { color: var(--red); }

.app-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 980px;
  border: 1px solid var(--red);
  color: var(--text);
  background: var(--bg);
  transition: background .25s ease, color .25s ease;
}
.ind-section.alt .app-chip { background: var(--bg-2); }
.app-chip:hover {
  background: var(--red);
  color: #fff;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.partner-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--bg);
}
.ind-section.alt .partner-pill { background: var(--bg-2); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.related-card {
  border: 1px solid var(--red);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--red) 12%, transparent);
}
.related-card .rc-img {
  height: 100px;
  overflow: hidden;
}
.related-card .rc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.related-card:hover .rc-img img { transform: scale(1.05); }
.related-card .rc-body {
  padding: 16px 16px 18px;
}
.related-card h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.related-card span {
  font-size: 12px;
  color: var(--navy);
  font-weight: 500;
}

.cta-section {
  padding: 120px 0;
  text-align: center;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.cta-section .section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cta-section h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.05;
}
.cta-section h2 .it { font-style: italic; font-weight: 500; color: var(--red); }
.cta-section p {
  margin: 22px auto 0;
  color: var(--muted);
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 980px;
  border: 0;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-link {
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  padding: 13px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .25s ease;
}
.btn-link:hover { gap: 9px; }

@media (max-width: 980px) {
  .ind-overview { grid-template-columns: 1fr; gap: 32px; }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-row {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 16px;
  }
  .solution-row p { grid-column: 2; }
  .solution-row .s-go { grid-column: 2; }
}
@media (max-width: 700px) {
  .ind-hero { padding: 140px 0 60px; }
  .ind-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ind-section { padding: 70px 0; }
  .challenge-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 90px 0; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 8px; }
}
