/* WP-08 · actius instal·lats i continuïtat postvenda */
.wp08-contact-strip {
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr;
  gap: 18px;
  align-items: center;
  margin: 18px 0 30px;
  padding: 14px 0;
  border-block: 1px solid var(--wp-border);
}

.wp08-contact-strip > span,
.wp08-contact-strip p { display: flex; align-items: center; gap: 8px; margin: 0; }
.wp08-contact-strip p { color: var(--wp-text-body); }
.wp08-locations { display: grid; gap: 34px; }

.wp08-location { padding-top: 22px; border-top: 2px solid var(--wp-text); }
.wp08-location > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}
.wp08-location > header h2 { margin-top: 4px; font-size: clamp(21px, 2vw, 28px); }
.wp08-location > header > span,
.wp08-date {
  flex: 0 0 auto;
  color: var(--wp-text-secondary);
  font: 600 12px/1.3 'Geist Mono', monospace;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.wp08-location-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(270px, .72fr); gap: 34px; }
.wp08-location-grid > div { min-width: 0; }
.wp08-location-grid h3 { margin-bottom: 10px; color: var(--wp-text-secondary); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }

.wp08-asset-card,
.wp08-job-row,
.wp08-registered-links button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-bottom: 1px solid var(--wp-border);
  background: transparent;
  color: var(--wp-text);
  text-align: left;
  cursor: pointer;
}
.wp08-asset-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  padding: 14px 10px;
}
.wp08-asset-card:hover,
.wp08-asset-card:focus-visible,
.wp08-job-row:hover,
.wp08-job-row:focus-visible,
.wp08-registered-links button:hover,
.wp08-registered-links button:focus-visible { background: var(--wp-surface-muted); }
.wp08-asset-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--wp-border-input);
  border-radius: 50%;
}
.wp08-asset-card > span:nth-child(2),
.wp08-job-row > span { display: grid; gap: 4px; min-width: 0; }
.wp08-asset-card strong,
.wp08-job-row strong { font-size: 16px; line-height: 1.3; }
.wp08-asset-card small,
.wp08-job-row small { overflow: hidden; color: var(--wp-text-secondary); line-height: 1.45; text-overflow: ellipsis; }
.wp08-asset-card .wp06-status { width: fit-content; margin-bottom: 2px; }
.wp08-job-list { border-top: 1px solid var(--wp-border); }
.wp08-job-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 13px 8px; }
.wp08-empty { padding: 17px 0; border-block: 1px solid var(--wp-border); }
.wp08-empty p { max-width: 56ch; margin: 4px 0 0; color: var(--wp-text-secondary); }

.wp08-asset-head { padding-bottom: 24px; border-bottom: 1px solid var(--wp-border); }
.wp08-asset-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .76fr); gap: 30px; align-items: start; margin-top: 26px; }
.wp08-asset-layout > .wp08-asset-main,
.wp08-asset-layout > aside { display: grid; gap: 26px; min-width: 0; }
.wp08-asset-summary {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  min-height: 132px;
  padding: 28px;
  border-left: 4px solid var(--wp-accent);
  background: var(--wp-surface-muted);
  color: var(--wp-text);
}
.wp08-asset-summary .wp02-eyebrow,
.wp08-asset-summary p,
.wp08-asset-summary .wp08-date { color: var(--wp-text-secondary); }
.wp08-asset-summary h2 { margin: 5px 0 7px; color: var(--wp-text); font-size: 32px; letter-spacing: -.035em; }
.wp08-section { padding-top: 20px; border-top: 1px solid var(--wp-border); }
.wp08-section > h2 { margin: 5px 0 14px; }
.wp08-asset-layout > aside .wp08-section { padding: 20px; border: 1px solid var(--wp-border); background: var(--wp-surface); }
.wp08-dossier-list { border-top: 1px solid var(--wp-border); }
.wp08-dossier-link {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--wp-border);
  color: var(--wp-text);
  text-decoration: none;
}
.wp08-dossier-link:hover,
.wp08-dossier-link:focus-visible { background: var(--wp-surface-muted); }
.wp08-dossier-link span { display: grid; gap: 3px; }
.wp08-dossier-link small { color: var(--wp-text-secondary); }

.wp08-tech { margin: 15px 0 20px; }
.wp08-tech dt { padding-top: 11px; border-top: 1px solid var(--wp-border); color: var(--wp-text-secondary); font-size: 12px; }
.wp08-tech dd { margin: 3px 0 11px; font-weight: 620; line-height: 1.45; overflow-wrap: anywhere; }
.wp08-lifecycle p { margin: 6px 0 16px; color: var(--wp-text-body); }
.wp08-lifecycle small { display: block; margin-top: 10px; color: var(--wp-text-secondary); line-height: 1.45; }

.wp08-history { margin: 18px 0 0; padding: 0; list-style: none; }
.wp08-history li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 13px; min-height: 76px; }
.wp08-history li > span { position: relative; display: block; }
.wp08-history li > span::before { content: ''; position: absolute; top: 5px; left: 5px; z-index: 1; width: 8px; height: 8px; border: 2px solid var(--wp-surface); border-radius: 50%; background: var(--wp-accent); box-shadow: 0 0 0 1px var(--wp-accent); }
.wp08-history li > span::after { content: ''; position: absolute; top: 17px; bottom: -5px; left: 8px; width: 1px; background: var(--wp-border-input); }
.wp08-history li:last-child > span::after { display: none; }
.wp08-history strong { display: block; }
.wp08-history p { margin: 3px 0; color: var(--wp-text-body); line-height: 1.45; }
.wp08-history small { color: var(--wp-text-secondary); font: 500 11px/1.4 'Geist Mono', monospace; }

.wp08-register-panel > p { margin: 8px 0 15px; color: var(--wp-text-body); }
.wp08-registered-links { display: grid; margin-top: 13px; border-top: 1px solid var(--wp-border); }
.wp08-registered-links button { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 5px; font-weight: 650; }
.wp08-origin-notice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border-left: 3px solid var(--wp-accent);
  background: var(--wp-surface-muted);
}
.wp08-origin-notice > span { display: grid; place-items: center; }
.wp08-origin-notice p { margin: 2px 0 0; color: var(--wp-text-secondary); }
.wp08-form { display: grid; gap: 16px; }
.wp08-form label { display: grid; gap: 7px; font-weight: 620; }
.wp08-form input,
.wp08-form select,
.wp08-form textarea { width: 100%; min-height: 44px; }

@media (max-width: 900px) {
  .wp08-location-grid,
  .wp08-asset-layout { grid-template-columns: 1fr; }
  .wp08-asset-layout > aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .wp08-contact-strip { grid-template-columns: 1fr; gap: 5px; }
  .wp08-location > header,
  .wp08-asset-summary { align-items: flex-start; flex-direction: column; }
  .wp08-location-grid { gap: 24px; }
  .wp08-asset-layout > aside { grid-template-columns: 1fr; }
  .wp08-asset-head .button,
  .wp08-origin-notice .button { width: 100%; }
  .wp08-asset-summary { min-height: 0; padding: 22px; }
  .wp08-origin-notice { grid-template-columns: 30px minmax(0, 1fr); }
  .wp08-origin-notice .button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .wp08-asset-card,
  .wp08-job-row,
  .wp08-dossier-link { scroll-behavior: auto; }
}

.wp08-contact-strip p { flex-wrap: wrap; }
.wp08-contact-strip [data-contact-id] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }

.wp08-form .wp08-registration-item { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px 0; font-weight: 400; }
.wp08-registration-item input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; margin: 2px 0; }
.wp08-registration-item small { display: block; margin-top: 6px; font-weight: 400; line-height: 1.45; }
