.spc-industries {
  --spc-ink: #17232d;
  --spc-ink-soft: #53616c;
  --spc-navy: #0c4058;
  --spc-navy-2: #145a7a;
  --spc-accent: #1097d8;
  --spc-accent-dark: #0875ad;
  --spc-accent-light: #72c8ec;
  --spc-paper: #ffffff;
  --spc-mist: #eef6f9;
  --spc-line: #d8e2e7;
  --spc-warn: #f4f7f8;
  --spc-warn-line: #1097d8;
  --spc-shadow: 0 18px 48px rgba(23, 35, 45, .12);
  color: var(--spc-ink);
  font-family: Exo, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  margin: 0 auto;
  max-width: none;
  overflow: clip;
  background: var(--spc-paper);
  width: 100%;
}

body.wp-theme-twentytwentyfour .spc-industries { margin-top: 0; }

.spc-industries *,
.spc-industries *::before,
.spc-industries *::after { box-sizing: border-box; }

.spc-industries a { color: #0875ad; text-decoration-thickness: .08em; text-underline-offset: .16em; }
.spc-industries a:hover { color: #0c4058; }
.spc-industries a:focus-visible,
.spc-industries summary:focus-visible { outline: 3px solid var(--spc-accent); outline-offset: 4px; }

.spc-shell { margin: 0 auto; max-width: 1180px; padding: 0 32px; }

.spc-hero {
  background: linear-gradient(90deg, rgba(10, 25, 53, .94) 0%, rgba(13, 43, 69, .84) 52%, rgba(13, 43, 69, .48) 100%),
    url("https://spcenter.pl/wp-content/uploads/2026/01/high-quality-shot-peening-2.jpg") center 44% / cover no-repeat;
  box-sizing: border-box;
  color: #fff;
  height: 560px;
  max-height: 560px;
  min-height: 560px;
  overflow: hidden;
  padding: 184px clamp(1rem, 5vw, 5rem) 36px;
  position: relative !important;
  width: 100%;
  inset: auto !important;
  z-index: 0 !important;
}

.spc-hero::after { content: none; }
.spc-hero .spc-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  max-width: 1440px;
  padding: 0;
}

.spc-eyebrow {
  color: var(--spc-accent-light);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 0 .8rem;
  text-transform: uppercase;
}

.spc-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
  max-width: 34ch;
}

.spc-hero-lower {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  margin-top: 1rem;
}
.spc-hero-copy {
  color: rgba(255,255,255,.9);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.5;
  margin: 0;
  max-width: 66ch;
}

.spc-hero-controls { min-width: 0; }
.spc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.spc-button {
  align-items: center;
  border: 2px solid var(--spc-accent);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.spc-button:hover { transform: translateY(-2px); }
.spc-button--primary { background: var(--spc-accent); color: #fff !important; }
.spc-button--secondary { background: transparent; border-color: #fff; color: #fff !important; }

.spc-industries-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.spc-industries-sidebar {
  align-self: start;
  margin-top: 76px;
  position: sticky;
  top: calc(var(--spc-fixed-header-height, 110px) + 1.25rem);
}

.spc-industries-sidebar__disclosure {
  background: #fff;
  border: 1px solid var(--spc-line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 55, 72, .08);
  overflow: hidden;
}

.spc-industries-sidebar__disclosure > summary {
  background: var(--spc-mist);
  color: var(--spc-ink);
  cursor: pointer;
  display: none;
  font-weight: 800;
  list-style-position: inside;
  padding: 1rem 1.1rem;
}

.spc-industries-sidebar__body { padding: 1rem; }
.spc-industries-family-nav ul,
.spc-industries-toc ol { list-style: none; margin: 0; padding: 0; }
.spc-industries-family-nav li + li,
.spc-industries-toc li + li { margin-top: .35rem; }
.spc-industries-family-nav a,
.spc-industries-toc a {
  border-left: 3px solid transparent;
  color: #34424d;
  display: block;
  font-size: .94rem;
  line-height: 1.35;
  padding: .65rem .75rem;
  text-decoration: none;
}
.spc-industries-family-nav a:hover,
.spc-industries-family-nav a:focus-visible,
.spc-industries-toc a:hover,
.spc-industries-toc a:focus-visible { background: #f5fafc; color: var(--spc-navy); }
.spc-industries-family-nav a[aria-current="page"] {
  background: #e8f4f9;
  border-left-color: #1599d2;
  color: var(--spc-navy);
  font-weight: 750;
}
.spc-industries-toc { border-top: 1px solid var(--spc-line); margin-top: 1rem; padding-top: 1rem; }
.spc-industries-toc h2 {
  color: var(--spc-ink);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.spc-industries-toc a.is-active {
  border-left-color: #1599d2;
  color: var(--spc-navy);
  font-weight: 750;
}

.spc-section { padding: 76px 0; }
.spc-section, .spc-industries-layout { scroll-margin-top: 130px; }
.spc-section + .spc-section { border-top: 1px solid var(--spc-line); }
.spc-section--tint { background: var(--spc-mist); }
.spc-section--technical { background: #eef6f9; position: relative; }
.spc-section--technical::before { background: var(--spc-accent); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 7px; }
.spc-section--warning { background: var(--spc-warn); border-top: 1px solid var(--spc-line) !important; }
.spc-section--warning .spc-shell { border-left: 6px solid var(--spc-warn-line); padding-top: 6px; padding-bottom: 6px; }

.spc-section h2 {
  color: var(--spc-navy);
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0 0 28px;
  max-width: 940px;
}
.spc-section h3 { color: var(--spc-navy); font-size: 23px; line-height: 1.25; margin: 32px 0 12px; }
.spc-section p { margin: 0 0 17px; max-width: 960px; }
.spc-section ul { margin: 18px 0 22px; max-width: 980px; padding-left: 24px; }
.spc-section li { margin-bottom: 9px; padding-left: 5px; }
.spc-section strong { color: var(--spc-navy); }

.spc-component-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.spc-component-card {
  background: #fff;
  border: 1px solid var(--spc-line);
  border-top: 5px solid var(--spc-accent);
  box-shadow: 0 8px 24px rgba(23, 35, 45, .08);
  min-width: 0;
  padding: 25px 24px 22px;
}
.spc-component-card h3 { font-size: 25px; margin: 0 0 16px; }
.spc-component-card p { font-size: 15.5px; line-height: 1.58; margin: 0 0 12px; }
.spc-component-card p:last-child { margin-bottom: 0; }

.spc-industry { counter-increment: industry; }
.spc-industry .spc-shell { position: relative; }
.spc-industry .spc-shell::before {
  color: #d8e2e7;
  content: "0" counter(industry);
  font-size: 70px;
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: 1;
  position: absolute;
  right: 32px;
  top: -8px;
}
.spc-industry:nth-of-type(even) { background: #f7f9fa; }
.spc-industry h2 { padding-right: 120px; }
.spc-industries-body { counter-reset: industry; min-width: 0; }

.spc-table-wrap { border: 1px solid var(--spc-line); border-radius: 4px; overflow-x: auto; box-shadow: var(--spc-shadow); }
.spc-industries table { border-collapse: collapse; min-width: 840px; width: 100%; }
.spc-industries th { background: var(--spc-navy); color: #fff; font-size: 14px; letter-spacing: .015em; padding: 17px; text-align: left; vertical-align: top; }
.spc-industries td { border-bottom: 1px solid var(--spc-line); font-size: 15px; padding: 16px 17px; vertical-align: top; }
.spc-industries tbody tr:nth-child(even) { background: #f7f9fa; }
.spc-industries tbody tr:last-child td { border-bottom: 0; }

.spc-checklist { columns: 2; column-gap: 48px; list-style: none; padding: 0 !important; }
.spc-checklist li { break-inside: avoid; padding: 0 0 13px 33px; position: relative; }
.spc-checklist li::before { background: var(--spc-accent); border-radius: 50%; color: #fff; content: "✓"; font-size: 13px; font-weight: 900; height: 22px; left: 0; line-height: 22px; position: absolute; text-align: center; top: 3px; width: 22px; }

.spc-callout { background: #17232d; color: #eef6f9; padding: 38px; }
.spc-callout h2, .spc-callout strong { color: #fff; }
.spc-callout a { color: var(--spc-accent-light); }

.spc-faq { border-top: 1px solid var(--spc-line); }
.spc-faq details { border-bottom: 1px solid var(--spc-line); }
.spc-faq summary { color: var(--spc-navy); cursor: pointer; font-size: 19px; font-weight: 800; list-style: none; padding: 20px 48px 20px 0; position: relative; }
.spc-faq summary h3 { color: inherit; font-size: inherit; line-height: 1.4; margin: 0; }
.spc-faq summary::-webkit-details-marker { display: none; }
.spc-faq summary::after { color: var(--spc-accent-dark); content: "+"; font-size: 30px; font-weight: 400; line-height: 1; position: absolute; right: 10px; top: 17px; }
.spc-faq details[open] summary::after { content: "−"; }
.spc-faq details > div { max-width: 900px; padding: 0 40px 20px 0; }

.spc-review {
  align-items: flex-start;
  background: #eef6f9;
  border-left: 6px solid var(--spc-accent);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  margin-top: 48px;
  padding: 24px 26px;
}
.spc-review-badge { align-items: center; background: var(--spc-accent); border-radius: 50%; color: #fff; display: flex; font-weight: 850; height: 54px; justify-content: center; width: 54px; }
.spc-review h2 { font-size: 24px; margin: 0 0 7px; }
.spc-review p { font-size: 15px; margin: 0; }

.spc-preview-notice { background: #fff3cd; border: 2px solid #bc8700; color: #543b00; font-weight: 800; padding: 14px 20px; text-align: center; }
.spc-footer-cta { background: #17232d; color: #fff; padding: 64px 0; text-align: center; }
.spc-footer-cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 0 auto 22px; max-width: 850px; }
.spc-footer-cta .spc-actions { justify-content: center; }

@media (max-width: 900px) {
  .spc-component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spc-proof-strip { grid-template-columns: 1fr; }
  .spc-proof-strip span { border-bottom: 1px solid rgba(255,255,255,.12); border-right: 0; }
}

@media (max-width: 1024px) {
  .spc-hero { height: auto; max-height: none; min-height: 0; overflow: visible; padding: 160px 20px 56px; }
  .spc-hero .spc-shell { height: auto; }
  .spc-hero-lower { display: block; }
  .spc-hero-controls { margin-top: 22px; }
  .spc-industries-layout { display: block; padding-top: 1.5rem; }
  .spc-industries-sidebar { margin-bottom: 2rem; margin-top: 0; position: static; }
  .spc-industries-sidebar__disclosure > summary { display: block; }
}

@media (max-width: 640px) {
  .spc-industries { font-size: 16px; }
  .spc-shell { padding: 0 20px; }
  .spc-industries-layout { overflow: hidden; padding-left: 20px; padding-right: 20px; }
  .spc-hero { padding: 136px 20px 44px; }
  .spc-hero h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .spc-hero-copy { font-size: 17px; line-height: 1.46; margin-top: 20px; }
  .spc-actions { margin-top: 21px; }
  .spc-actions { align-items: stretch; flex-direction: column; }
  .spc-button { width: 100%; }
  .spc-section { padding: 54px 0; }
  .spc-component-grid { grid-template-columns: 1fr; }
  .spc-industry .spc-shell::before { font-size: 44px; right: 20px; }
  .spc-industry h2 { padding-right: 64px; }
  .spc-checklist { columns: 1; }
  .spc-callout { padding: 28px 22px; }
  .spc-review { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .spc-button { transition: none; }
}
