.step-page { --step-ink: #171717; --step-muted: #555650; --step-line: #e4e4dc; }
.step-page .step-hero { min-height: 500px; }
.step-page .step-hero .hero-copy, .step-page .step-hero .hero-photo { min-height: 500px; }
.step-page .step-hero .hero-copy { padding-block: clamp(38px, 4.5vw, 68px); }
.step-page .step-hero .hero-copy { padding-left: var(--gutter); padding-right: clamp(24px, 4vw, 72px); }
.step-page .step-hero h1 { max-width: 670px; font-size: clamp(2.2rem, 3.75vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.step-page .step-hero .hero-photo img { object-position: center 52%; }
.step-page .step-hero .photo-caption { display: block; }
.step-page .breadcrumbs { margin-bottom: .6rem; }
.step-page .page-content { padding-bottom: 2.8rem; }
.step-page .page-content > .section { align-items: center; padding-block: clamp(1.7rem, 3vw, 2.5rem); }
.step-intro-copy { max-width: 740px; }
.step-intro-copy p { color: var(--step-muted); }
.step-inline-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }

/* Primera sección: texto y nueva fotografía de inspección. */
.step-inspection-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 4vw, 3.2rem); }
.hero.inner-hero + .page-content > .section.step-inspection-intro,
.hero.inner-hero + .page-content > .section.step-car-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero.inner-hero + .page-content > .section.step-car-intro { background: transparent; }
.step-inspection-copy { grid-column: 1; grid-row: 1; min-width: 0; }
.step-inspection-copy .section-heading { max-width: none; }
.step-inspection-copy .section-content { max-width: 740px; }
.step-inspection-image { display: block; grid-column: 2; grid-row: 1; width: 100%; max-height: 420px; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.step-car-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.5rem, 4vw, 3.2rem); }
.step-car-image { display: block; grid-column: 1; grid-row: 1; width: 100%; max-height: 420px; aspect-ratio: 4 / 3; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.step-car-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.step-car-copy .section-heading { max-width: none; }
.step-car-copy .section-content { max-width: 740px; }
/* Degradado amarillo dentro del contenedor habitual de la página. */
.step-page .step-definition-section { width: 100%; max-width: none; margin-inline: 0; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.2rem); padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); border: 0; border-radius: var(--radius); background: linear-gradient(118deg, #fffbca 0%, #fff9dd 44%, #fff 100%); }
.step-definition-section .section-heading { grid-column: 1; grid-row: 1; max-width: none; }
.step-definition-section .section-heading h2 { max-width: 25ch; margin: .55rem 0 0; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.1; text-wrap: balance; }
.step-definition-section .section-content { grid-column: 2; grid-row: 1; width: 100%; max-width: 740px; }
.step-section-heading { width: min(var(--max), calc(100% - 48px)); margin: 0 auto 1.65rem; text-align: center; }
.step-section-heading h2 { max-width: 100%; margin: .55rem auto .7rem; }
.step-section-heading p { max-width: 760px; margin-inline: auto; color: var(--step-muted); }
.step-process { padding: clamp(2.5rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--step-line); }
.step-process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 0; list-style: none; }
.step-process-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.2rem; border: 1px solid var(--step-line); border-radius: var(--radius); background: #fff; box-shadow: 0 4px 16px rgb(17 17 17 / 4%); }
.step-process-icon { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; border-radius: 50%; background: var(--brand-yellow); color: var(--step-ink); }
.step-process-icon svg { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-process-card > div { min-width: 0; }
.step-process-card h3 { margin: 0 0 .5rem; font-size: 1.08rem; line-height: 1.25; }
.step-process-card p { margin: 0; color: var(--step-muted); font-size: .93rem; }
.step-process-after { display: flex; width: min(var(--max), calc(100% - 48px)); justify-content: center; align-items: center; margin: 1.45rem auto 0; }
.step-preparation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); align-items: start; gap: clamp(1.6rem, 4vw, 3.5rem); padding: clamp(2.3rem, 4vw, 3.4rem) 0; border-bottom: 1px solid var(--step-line); }
.step-preparation h2, .step-runt h2 { margin: .55rem 0 .8rem; }
.step-preparation-copy > p, .step-runt-copy > p { color: var(--step-muted); }
.step-preparation-list { display: grid; gap: .55rem; margin: 1rem 0 1.25rem; padding-left: 1.25rem; color: #343530; }
.step-preparation-list li { padding-left: .2rem; }
.step-preparation img, .step-runt img { display: block; width: 100%; height: auto; max-height: 400px; aspect-ratio: 3 / 2; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.step-preparation img { align-self: center; }
.step-runt { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(1.6rem, 4vw, 3.5rem); padding: clamp(2.3rem, 4vw, 3.4rem) 0; border-bottom: 1px solid var(--step-line); }
.step-runt .button { margin-top: .6rem; }
.step-faq { display: block; }
.step-faq .section-heading { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.step-faq .section-content { width: 100%; }
.step-page .page-links { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; margin-top: 1.2rem; }
.step-page .page-links a { font-weight: 750; text-underline-offset: 3px; }
.step-page :focus-visible { outline: 3px solid #574f00; outline-offset: 3px; }
@media (max-width: 1060px) {
  .step-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .step-inspection-intro, .hero.inner-hero + .page-content > .section.step-inspection-intro,
  .hero.inner-hero + .page-content > .section.step-car-intro { grid-template-columns: 1fr; }
  .step-inspection-copy { grid-column: 1; grid-row: 1; }
  .step-inspection-image { grid-column: 1; grid-row: 2; width: min(100%, 560px); margin-inline: auto; }
  .step-car-intro { grid-template-columns: 1fr; }
  .step-car-image { grid-column: 1; grid-row: 1; width: min(100%, 560px); margin-inline: auto; }
  .step-car-copy { grid-column: 1; grid-row: 2; }
  .step-page .step-definition-section { grid-template-columns: 1fr; gap: .8rem; }
  .step-definition-section .section-heading, .step-definition-section .section-content { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .step-page .step-hero { min-height: 0; }
  .step-page .step-hero .hero-copy, .step-page .step-hero .hero-photo { min-height: 0; }
  .step-page .step-hero .hero-copy { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; padding: 2.2rem 0; text-align: center; align-items: center; }
  .step-page .step-hero .hero-photo { min-height: 260px; }
  .step-page .step-hero .hero-actions { justify-content: center; }
  .step-page .breadcrumbs { justify-content: center; }
  .step-inspection-image { max-height: 320px; }
  .step-page .step-definition-section { padding: 1.8rem clamp(1rem, 5vw, 1.5rem); }
  .step-definition-section .section-heading h2 { max-width: 25ch; }
  .step-section-heading, .step-process-list, .step-process-after { width: min(var(--max), calc(100% - 36px)); }
  .step-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-definition-section .section-content { text-align: left; }
  .step-preparation, .step-runt { grid-template-columns: 1fr; text-align: center; }
  .step-preparation img { grid-row: auto; width: min(100%, 520px); max-height: 320px; margin-inline: auto; }
  .step-runt-copy { order: 0; }
  .step-runt img { order: 1; width: min(100%, 520px); max-height: 320px; margin-inline: auto; }
  .step-preparation-list { width: fit-content; margin-inline: auto; text-align: left; }
  .step-inline-cta, .step-page .page-links { justify-content: center; }
  .step-faq .section-heading { text-align: center; }
}
@media (max-width: 390px) {
  .step-page .step-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); }
  .step-process-list { grid-template-columns: 1fr; }
  .step-process-card { padding: 1rem; }
  .step-process-icon { width: 56px; height: 56px; flex-basis: 56px; }
  .step-process-icon svg { width: 26px; height: 26px; }
  .step-page .step-hero .button { width: 100%; justify-content: center; }
}

/* Center process cards and accompanying copy at mobile widths. */
@media (max-width: 700px) {
  .step-inspection-copy, .step-car-copy,
  .step-definition-section, .step-preparation-copy,
  .step-runt-copy, .step-process-card { text-align: center; }
  .step-definition-section .section-heading h2,
  .step-inspection-copy .section-content,
  .step-car-copy .section-content { margin-inline: auto; }
  .step-process-list { grid-template-columns: 1fr; }
  .step-process-card { align-items: center; }
  .step-process-icon { margin-inline: auto; }
  .step-inline-cta, .step-page .page-links { justify-content: center; }
  .step-preparation-list { width: 100%; padding-left: 0; list-style-position: inside; text-align: center; }
  .step-preparation-list li { padding-left: 0; }
  .step-runt .button { max-width: 100%; margin-inline: auto; }
}

@media (max-width: 700px) {
  .step-definition-section .step-intro-copy p { text-align: center; }
}
