/* =============================================================
   Industry Applications page (Solutions) - page-level styles
   Used by: lists_single_jiejue.htm (/index.php/solutions/ and children)
   Depends on: styles.css design tokens (.page-shell, .section-heading,
   .button, .text-button are global).
   ============================================================= */

/* ---------- Hero ---------- */
.industry-page-hero {
  padding-top: var(--header-h);
  background:
    radial-gradient(1200px 480px at 85% -10%, var(--soft-blue) 0%, rgba(234, 244, 255, 0) 62%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.industry-hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  gap: clamp(36px, 4vw, 78px);
  align-items: center;
  padding-block: clamp(46px, 5vw, 88px);
}

.industry-hero-copy { position: relative; z-index: 2; }

.hero-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.industry-page-hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(42px, 3.4vw, 64px);
  line-height: 1.12;
  font-weight: 760;
}

.industry-hero-copy > p {
  max-width: 580px;
  margin: 30px 0 0;
  color: #526276;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.9;
}

.industry-hero-copy .hero-actions { margin-top: 36px; }

.industry-hero-visual { position: relative; margin: 0; }

.industry-hero-visual img {
  width: 100%;
  height: clamp(340px, 36vw, 520px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(16, 28, 44, .10);
}

.industry-hero-visual figcaption {
  position: absolute;
  left: clamp(14px, 1.6vw, 26px);
  bottom: clamp(14px, 1.6vw, 26px);
  display: grid;
  gap: 2px;
  max-width: min(88%, 460px);
  padding: 16px 20px;
  border: 1px solid rgba(216, 228, 239, .9);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.industry-hero-visual figcaption span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.industry-hero-visual figcaption strong { font-size: 15px; line-height: 1.5; }

/* ---------- Industry sub navigation ---------- */
.industry-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.industry-subnav span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.industry-subnav a {
  position: relative;
  padding-bottom: 4px;
  font-weight: 600;
  color: #33445c;
  transition: color .2s ease;
}

.industry-subnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.industry-subnav a:hover { color: var(--blue); }
.industry-subnav a:hover::after { transform: scaleX(1); }

/* ---------- Intro ---------- */
.industry-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 1fr);
  gap: clamp(30px, 4vw, 72px);
  align-items: end;
}

.industry-intro-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--soft);
}

.industry-intro-note i { color: var(--blue); margin-top: 3px; }
.industry-intro-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- Industry solutions ---------- */
.industry-solutions { border-top: 1px solid var(--line); counter-reset: solution-idx; }

.industry-solution { border-bottom: 1px solid var(--line); }

.industry-solution:nth-child(even) { background: var(--soft); }

.solution-inner {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(360px, .95fr);
  gap: clamp(34px, 4.5vw, 84px);
  align-items: start;
  padding-block: clamp(58px, 6vw, 104px);
}

/* Long-form backend content: keep the visual in view while scrolling the text */
@media (min-width: 1025px) {
  .solution-media { position: sticky; top: calc(var(--header-h) + 32px); }
}

.solution-media { margin: 0; }

.solution-media img {
  width: 100%;
  height: auto; /* override the HTML height attribute so aspect-ratio applies */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(16, 28, 44, .08);
  transition: transform .6s ease;
}

.solution-media:hover img { transform: translateY(-4px); }

/* Alternate rows: swap media and copy sides */
.industry-solution:nth-child(even) .solution-media { order: 2; }
.industry-solution:nth-child(even) .solution-copy { order: 1; }

.solution-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Auto-numbered kicker: 01 / Industrial Equipment */
.solution-kicker::before {
  content: "0" counter(solution-idx) " / ";
  counter-increment: solution-idx;
}

.solution-copy h2 {
  margin: 0;
  font-size: clamp(30px, 2.6vw, 44px);
  line-height: 1.18;
}

/* Rich-text body rendered from each channel's backend content */
.solution-body { margin-top: 18px; }

.solution-body figure { margin: 20px 0 0; }

.solution-body p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.solution-body p:last-child { margin-bottom: 0; }

/* Subsection headings inside the backend rich text stay subordinate to the
   channel-name h2 rendered by the template */
.solution-body h2 {
  margin: 30px 0 0;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

.solution-body h3, .solution-body h4 {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 640;
  color: #33445c;
}

.solution-body ul, .solution-body ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.solution-body ul li, .solution-body ol li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #33445c;
  font-size: 14px;
  line-height: 1.6;
}

/* Decorative check mark for bullet lists, added purely via CSS */
.solution-body ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--blue);
  font-size: 12px;
  margin-top: 4px;
}

.solution-body img {
  max-width: 100%;
  height: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.solution-copy .text-button { margin-top: 26px; }

/* ---------- Process ---------- */
.industry-process-list {
  margin: clamp(48px, 4.5vw, 72px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-process-list li {
  min-height: 220px;
  padding: clamp(28px, 3vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 12px;
  background: var(--white);
  counter-increment: process-step;
}

.industry-process-list li span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 740;
}

.industry-process-list li span::before {
  content: "0" counter(process-step);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}

.industry-process-list li p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- Bottom CTA ---------- */
.industry-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 3.5vw, 60px);
  align-items: center;
  padding: clamp(38px, 4vw, 64px) clamp(26px, 3.5vw, 64px);
  border: 1px solid #d5e4f4;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--soft-blue) 0%, #f7fbff 68%);
}

.industry-cta-inner h2 {
  margin: 0;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.25;
}

.industry-cta-inner p { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.industry-cta-inner .button { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .industry-hero-inner { grid-template-columns: 1fr; padding-block: 42px 52px; }
  .industry-hero-visual img { height: clamp(280px, 44vw, 420px); }
  .industry-intro-inner { grid-template-columns: 1fr; align-items: start; }
  .solution-inner { grid-template-columns: 1fr; padding-block: 52px; }
  .industry-solution:nth-child(even) .solution-media { order: 0; }
  .industry-solution:nth-child(even) .solution-copy { order: 0; }
  .industry-process-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .industry-page-hero h1 { font-size: clamp(34px, 7.4vw, 44px); }
  .industry-subnav { gap: 8px 18px; }
  .industry-cta-inner { grid-template-columns: 1fr; }
  .industry-cta-inner .button { justify-self: start; }
}

@media (max-width: 560px) {
  .industry-process-list { grid-template-columns: 1fr; }
  .industry-process-list li { min-height: 0; }
  .industry-hero-visual figcaption { position: static; max-width: none; margin-top: 12px; }
  .industry-hero-visual img { height: 240px; border-radius: 6px; }
}
