/* ==========================================================
   Winways Chemtech – Industries listing + industry detail pages
   Loaded after style.css
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap");

:root {
  --ind-body: #4a5a75;
  --ind-line: #e3eaf3;
  --ind-chip: #eef6fb;
  --ind-row: #2b3955;
  --ind-row-alt: #f7f9fc;
  --ind-icon-bg: #e8f4fa;
}

/* ---------- Breadcrumb tint (Industries listing) ---------- */
.page-banner--soft .ww-breadcrumb .breadcrumb-item,
.page-banner--soft .ww-breadcrumb .breadcrumb-item a,
.page-banner--soft .ww-breadcrumb .breadcrumb-item::before,
.page-banner--soft .ww-breadcrumb .breadcrumb-item.active { color: #9fd8ec; }
.page-banner--soft .ww-breadcrumb a:hover { color: #fff; }

/* ---------- Industries listing ---------- */
.ind-listing { padding-block: 88px 96px; }
.ind-listing__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 41px; }
.ind-listing__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ww-cyan);
  margin: 0;
}
.ind-listing__sub {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--ww-navy);
  margin: 0;
}
.ind-listing .row { --bs-gutter-x: 20px; --bs-gutter-y: 31px; }
@media (max-width: 991.98px) { .ind-listing { padding-block: 64px; } }
@media (max-width: 575.98px) {
  .ind-listing { padding-block: 48px; }
  .ind-listing__title { font-size: 28px; }
  .ind-listing__sub { font-size: 19px; }
  .ind-listing .row { --bs-gutter-x: 12px; --bs-gutter-y: 16px; }
}

/* ---------- Industry intro (hero) ---------- */
.ind-intro { padding-block: 72px; background: #fff; }
.ind-intro__row { display: flex; align-items: center; gap: 56px; }
.ind-intro__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ind-intro__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  color: var(--ww-navy);
  margin: 0;
}
.ind-intro__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ind-body);
  margin: 0;
}
.ind-intro__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ww-muted);
  text-transform: uppercase;
  margin: 0;
}
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--ind-chip);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ww-navy);
  transition: background .2s ease, transform .2s ease;
}
.ind-chip img { width: 14px; height: 14px; flex-shrink: 0; }
.ind-chip:hover { background: #dff0f9; transform: translateY(-1px); }

.btn-ind-enquire {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--ww-navy);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-ind-enquire img { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-ind-enquire:hover,
.btn-ind-enquire:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(35, 62, 129, .3);
  filter: brightness(1.08);
}
.btn-ind-enquire:hover img { transform: translateX(3px); }

.ind-intro__media {
  flex: 0 0 520px;
  width: 520px;
  aspect-ratio: 520 / 400;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(3, 27, 78, .15);
}
.ind-intro__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1199.98px) {
  .ind-intro__row { gap: 40px; }
  .ind-intro__media { flex-basis: 440px; width: 440px; }
}
@media (max-width: 991.98px) {
  .ind-intro { padding-block: 48px 56px; }
  .ind-intro__row { flex-direction: column-reverse; align-items: stretch; gap: 32px; }
  .ind-intro__media { flex-basis: auto; width: 100%; max-width: 640px; }
}
@media (max-width: 575.98px) {
  .ind-intro { padding-block: 32px 48px; }
  .ind-intro__title { font-size: 28px; }
  .ind-intro__title br { display: none; }
  .ind-intro__media { border-radius: 18px; }
  .ind-chip { font-size: 13px; padding: 7px 12px; }
}

/* ---------- Section headings ---------- */
.ind-section-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--ww-navy);
  margin: 0;
}
.ind-section-title--lg { font-size: 32px; }
.ind-rule { display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--ww-cyan); margin-top: 8px; }
@media (max-width: 575.98px) {
  .ind-section-title, .ind-section-title--lg { font-size: 24px; }
}

/* ---------- Brands (applications header + brand portfolio) ---------- */
.ind-brands { background: #fff; padding-block: 72px 64px; --brand-ink: #3f3a96; --brand-icon: #3a78c2; }
.brand-head { position: relative; display: flex; align-items: center; margin-bottom: 56px; }
.brand-head__card {
  flex: 1;
  background: #f4f3fb;
  border: 1.5px solid #d4d1ee;
  border-radius: 22px;
  padding: 34px 300px 30px 40px;
  text-align: right;
}
.brand-head__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: .5px;
  color: var(--brand-ink);
  margin: 0 0 18px;
}
.brand-head__apps { margin: 0; font-size: 15.5px; line-height: 1.75; color: #2b2b3a; }
.brand-head__apps span { display: block; }
.brand-head__img {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 260px; height: 230px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(3, 27, 78, .14);
}
.brand-grid { --bs-gutter-y: 0; }
.brand-list { display: flex; flex-direction: column; gap: 26px; }
.brand-item { display: flex; align-items: flex-start; gap: 18px; }
.brand-icon {
  flex: 0 0 26px; width: 26px; height: 26px; margin-top: 8px;
  fill: none; stroke: var(--brand-icon); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.brand-icon--img { object-fit: contain; stroke: none; }
.brand-name {
  margin: 0;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: 4px;
  color: var(--brand-ink);
  display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px;
}
.brand-name--title { letter-spacing: .5px; font-size: 34px; }
.brand-desc { margin: 4px 0 0; font-weight: 600; font-size: 16px; color: #1f1f2e; }
.brand-from { font-weight: 700; font-size: 13px; letter-spacing: .3px; color: #1aa3cf; }
.brand-from--block { display: block; margin: 4px 0 0; }
.brand-logo-rheoplus {
  font-size: 34px; letter-spacing: 0; color: #a3247f; font-weight: 700; line-height: .9;
  display: inline-flex; flex-direction: column;
}
.brand-logo-rheoplus small { font-size: 10px; font-weight: 600; letter-spacing: .2px; color: #a3247f; margin-top: 2px; }
/* supplied rheoplus logo image */
.brand-name--partner:has(.brand-logo-img) { align-items: center; }
.brand-logo-img { display: block; height: 44px; width: auto; }
.brand-grid--compact .brand-logo-img { height: 38px; }
@media (max-width: 767.98px) {
  .brand-logo-img { height: 36px; }
  .brand-grid--compact .brand-logo-img { height: 32px; }
}
@media (max-width: 991.98px) {
  .brand-head__card { padding: 28px 230px 26px 28px; }
  .brand-head__title { font-size: 32px; }
  .brand-head__img { width: 200px; height: 190px; }
  .brand-name { font-size: 30px; letter-spacing: 3px; }
  .brand-name--title, .brand-logo-rheoplus { font-size: 28px; }
}
@media (max-width: 767.98px) {
  .ind-brands { padding-block: 48px; }
  .brand-head { flex-direction: column; align-items: stretch; margin-bottom: 36px; }
  .brand-head__img { position: static; transform: none; width: 100%; height: 200px; order: -1; margin-bottom: -24px; position: relative; z-index: 1; }
  .brand-head__card { border-radius: 18px; padding: 44px 20px 22px; text-align: left; }
  .brand-head__title { font-size: 27px; }
  .brand-head__apps { font-size: 14px; }
  .brand-grid > div + div { margin-top: 26px; }
  .brand-name { font-size: 26px; letter-spacing: 2px; }
  .brand-name--title, .brand-logo-rheoplus { font-size: 24px; }
}

/* every header card is exactly as tall as its photo, text centred */
@media (min-width: 768px) {
  .brand-head__card { min-height: 230px; display: flex; flex-direction: column; justify-content: center; }
  /* photo always spans the card's full height so their rounded corners line up */
  .brand-head__img { top: 0; height: 100%; transform: none; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-head__card { min-height: 190px; }
}

/* Additional industry brand blocks (Paints, Personal Care) */
.brand-block { margin-top: 96px; }
.brand-head--left .brand-head__img { right: auto; left: 0; }
.brand-head--left .brand-head__card { border-radius: 22px; padding: 34px 40px 30px 300px; text-align: left; }
/* alternating card colours: 1st & 3rd lavender (indigo title), 2nd light teal (teal title) */
.brand-block--paints .brand-head__card { background: #f0f8fb; border-color: #a8d8e8; }
.brand-block--paints .brand-head__title { color: #1797c2; font-size: 36px; }
.brand-block--care .brand-head__card { background: #f4f3fb; border-color: #d4d1ee; }
.brand-block--care .brand-head__title { color: #3f3a96; font-size: 36px; }
.brand-block--paints { --brand-ink: #4b8a1c; }
.brand-block--care   { --brand-ink: #3b1a08; }
.brand-name--navy { color: #3f3a96 !important; }
.brand-block--paints .brand-icon, .brand-block--care .brand-icon { stroke: #2c8fc0; }
.brand-group {
  margin: 0 0 14px 44px;
  font-weight: 700; font-size: 17px;
  color: #2b4594;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.brand-grid--compact .brand-list { gap: 20px; }
.brand-grid.gy-5 { --bs-gutter-y: 3.5rem; }
.brand-grid--compact .brand-name { font-size: 32px; letter-spacing: 3px; font-weight: 600; }
.brand-grid--compact .brand-logo-rheoplus { font-size: 28px; font-weight: 700; letter-spacing: 0; }
.brand-grid--compact .brand-icon { margin-top: 6px; }
@media (max-width: 991.98px) {
  .brand-block { margin-top: 72px; }
  .brand-head--left .brand-head__card { padding: 28px 28px 26px 230px; }
  .brand-block--paints .brand-head__title, .brand-block--care .brand-head__title { font-size: 30px; }
  .brand-grid--compact .brand-name { font-size: 26px; }
}
@media (max-width: 767.98px) {
  .brand-block { margin-top: 56px; }
  .brand-head--left .brand-head__card { padding: 44px 20px 22px; border-radius: 18px; }
  .brand-block--paints .brand-head__title, .brand-block--care .brand-head__title { font-size: 25px; }
  .brand-grid--compact .brand-name { font-size: 24px; letter-spacing: 2px; }
  .brand-group { margin-left: 0; }
}

/* ---------- Products (zebra cards) ---------- */
.ind-products { background: var(--ww-bg-soft); padding-block: 64px; }
.ind-products__head { margin-bottom: 36px; }
.ind-products .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }

.prod-card {
  --accent: var(--ww-navy);
  --tint: rgba(35, 62, 129, .06);
  height: 100%;
  min-height: 99px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ind-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(3, 27, 78, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(3, 27, 78, .1); }
.prod-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: var(--tint);
}
/* Brand-type icon (Proprietary / Partner / Essential) beside the product name */
.prod-card .prod-card__head.prod-card__head--icon { flex-direction: row; align-items: flex-start; gap: 16px; }
.prod-card__head-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.prod-card__icon { width: 26px; height: 26px; flex: none; object-fit: contain; margin-top: 3px; }
/* Supplier origin, e.g. "from JRS, GERMANY" (matches the Industries page) */
.prod-card__from { margin: 0; font-weight: 700; font-size: 13px; line-height: 1.3; letter-spacing: .3px; color: #1aa3cf; }
.prod-card__name-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; row-gap: 2px; }
.prod-card__name-row .prod-card__name { margin: 0; }
.prod-card__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ww-ink);
  margin: 0;
}
.prod-card__name:has(.prod-card__icon) { display: flex; align-items: center; gap: 8px; }
/* brand wordmarks on product cards – same look as the Industries page brand list */
.prod-card__name--brand { font-size: 26px; font-weight: 700; letter-spacing: 3.5px; line-height: 1.1; color: var(--brand-ink, #3f3a96); }
.prod-card__name--brand.prod-card__name--navy { color: #3f3a96; }
/* per-industry brand colours, matching the Industries page brand lists */
.ind-products--paints { --brand-ink: #4b8a1c; }
.ind-products--care   { --brand-ink: #3b1a08; }
.prod-card__name--brand.prod-card__name--title { font-size: 22px; letter-spacing: .5px; }
.prod-card__name--logo { line-height: 0; }
.prod-card__name--logo img { display: block; height: 34px; width: auto; }
.prod-card__icon { flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; }
.prod-card__type {
  font-family: "Inter", var(--bs-body-font-family);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  color: var(--accent);
  margin: 0;
}
.prod-card__list { list-style: none; margin: 0; padding: 0; }
.prod-card__list li {
  padding: 9px 18px;
  font-family: "Inter", var(--bs-body-font-family);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ind-row);
  background: #fff;
}
.prod-card__list li:nth-child(even) { background: var(--ind-row-alt); }
.prod-card__list li:last-child { margin-bottom: 7px; }

/* accent presets */
.prod-card--cyan   { --accent: #1a9cc5; --tint: rgba(26, 156, 197, .06); }
.prod-card--rose   { --accent: #be123c; --tint: rgba(190, 18, 60, .06); }
.prod-card--teal   { --accent: #0f766e; --tint: rgba(15, 118, 110, .06); }
.prod-card--purple { --accent: #9333ea; --tint: rgba(147, 51, 234, .06); }
.prod-card--amber  { --accent: #b45309; --tint: rgba(180, 83, 9, .06); }
.prod-card--grey   { --accent: #4b5563; --tint: rgba(75, 85, 99, .06); }

@media (max-width: 575.98px) {
  .ind-products { padding-block: 48px; }
  .ind-products__head { margin-bottom: 24px; }
  .ind-products .row { --bs-gutter-y: 16px; }
}

/* ---------- Why source with Winways ---------- */
.ind-why { background: #fff; padding-block: 72px; }
.ind-why__head { margin-bottom: 28px; }
.ind-why .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.why-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--ind-line);
  border-radius: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: #cfe3f1; box-shadow: 0 14px 28px rgba(3, 27, 78, .08); }
.why-card__icon {
  display: inline-flex;
  padding: 12px;
  border-radius: 12px;
  background: var(--ind-icon-bg);
}
.why-card__icon img { width: 24px; height: 24px; display: block; }
.why-card__title {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ww-ink);
  margin: 0;
}
.why-card__text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ww-muted);
  margin: 0;
}
@media (max-width: 991.98px) { .ind-why { padding-block: 56px; } }
@media (max-width: 575.98px) {
  .ind-why { padding-block: 48px; }
  .ind-why__head { margin-bottom: 20px; }
  .ind-why .row { --bs-gutter-y: 16px; }
  .why-card { padding: 22px; }
  .why-card__title { font-size: 18px; }
}
