.inspection-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071722 0%, #0c3547 72%, #12574f 100%);
  color: #fff;
}

.inspection-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  bottom: -230px;
  border: 42px solid rgba(245, 179, 53, .12);
  border-radius: 50%;
}

.inspection-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: auto;
  padding: 72px 0 68px;
}

.inspection-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.inspection-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #cbdde4;
  font-size: clamp(17px, 2vw, 21px);
}

.inspection-toolbar {
  position: sticky;
  top: 74px;
  z-index: 35;
  border-bottom: 1px solid #d9d3c7;
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(12px);
}

.inspection-toolbar-inner {
  width: min(1080px, calc(100% - 32px));
  min-height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.language-switch,
.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch button,
.toolbar-actions button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #bbc7cb;
  border-radius: 10px;
  background: #fff;
  color: #10212c;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  border-color: #071722;
  background: #071722;
  color: #fff;
}

.inspection-main {
  width: min(1080px, calc(100% - 32px));
  margin: auto;
  padding: 42px 0 92px;
}

.inspection-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 1px solid #e1c783;
  border-radius: 18px;
  background: #fff5d8;
}

.inspection-notice strong {
  display: block;
  margin-bottom: 4px;
}

.notice-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #f5b335;
  color: #071722;
  font-weight: 950;
}

.progress-card {
  margin-bottom: 32px;
  padding: 22px;
  border: 1px solid #d9d3c7;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 12px 36px rgba(7, 23, 34, .06);
}

.progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.progress-top strong { font-size: 17px; }

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3ded4;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2fb8a4, #f5b335);
  transition: width .25s ease;
}

.step-jump {
  display: flex;
  gap: 7px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.step-jump a {
  flex: 0 0 auto;
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd6d8;
  border-radius: 10px;
  background: #fff;
  color: #10212c;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.step-jump a.done {
  border-color: #2d806f;
  background: #daf1eb;
  color: #145c50;
}

.inspection-step {
  scroll-margin-top: 160px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid #d9d3c7;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 14px 42px rgba(7, 23, 34, .07);
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid #d9d3c7;
  background: #f7f2e8;
}

.step-number {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #071722;
  color: #f5b335;
  font-size: 17px;
  font-weight: 950;
}

.step-kicker {
  display: block;
  margin-bottom: 2px;
  color: #487069;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.step-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.step-body {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 24px;
}

.step-figure {
  align-self: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cad5d8;
  border-radius: 18px;
  background: #eef4f5;
}

.step-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0b151b;
}

.step-figure figcaption {
  padding: 11px 14px;
  border-top: 1px solid #cad5d8;
  color: #52646c;
  font-size: 12px;
  line-height: 1.45;
}

.step-copy h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.inspection-list {
  margin: 0;
  padding-left: 21px;
}

.inspection-list li {
  margin-bottom: 9px;
  color: #30434d;
}

.inspection-list strong { color: #10212c; }

.stop-card,
.tip-card {
  margin-top: 15px;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 13px;
  line-height: 1.55;
}

.stop-card {
  border-left: 5px solid #a53628;
  background: #faeae6;
  color: #742a22;
}

.tip-card {
  border-left: 5px solid #2d806f;
  background: #e5f4ef;
  color: #174f46;
}

.complete-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e1ddd3;
  color: #10212c;
  font-size: 13px;
  font-weight: 850;
}

.complete-row input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: #2d806f;
}

.sources-card {
  margin-top: 38px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  background: #071722;
  color: #fff;
}

.sources-card h2 { margin: 0 0 10px; }
.sources-card p { color: #c2d2d9; }
.sources-card ul { margin: 20px 0 0; padding-left: 20px; }
.sources-card li { margin-bottom: 10px; color: #c2d2d9; }
.sources-card a { color: #ffd575; font-weight: 850; }

.local-note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #365361;
  border-radius: 13px;
  color: #c2d2d9;
  font-size: 13px;
}

[data-copy="es"] { display: none; }
html.lang-es [data-copy="en"] { display: none; }
html.lang-es [data-copy="es"] { display: revert; }

@media (max-width: 820px) {
  .inspection-toolbar { top: 74px; }
  .inspection-toolbar-inner { align-items: stretch; flex-direction: column; padding: 10px 0; }
  .language-switch, .toolbar-actions { justify-content: center; }
  .step-body { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .inspection-hero-inner { padding: 52px 0 48px; }
  .inspection-toolbar { position: relative; top: 0; }
  .inspection-main { padding-top: 24px; }
  .step-heading { align-items: flex-start; padding: 18px; }
  .step-number { flex-basis: 42px; height: 42px; }
  .step-body { padding: 18px; gap: 20px; }
  .progress-top { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media print {
  .site-header,
  .inspection-toolbar,
  .step-jump,
  .complete-row,
  .site-footer { display: none !important; }
  body { background: #fff; }
  .inspection-hero { background: #fff; color: #000; }
  .inspection-hero-inner { padding: 18px 0; }
  .inspection-lead { color: #222; }
  .inspection-main { width: 100%; padding: 0; }
  .inspection-step { break-inside: avoid; box-shadow: none; }
  .step-body { grid-template-columns: 42% 58%; }
  .sources-card { background: #fff; color: #000; border: 1px solid #aaa; }
  .sources-card p, .sources-card li, .local-note { color: #222; }
}
