.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 72px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.service-stack {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  min-height: 176px;
  grid-template-columns: 80px minmax(240px, 0.7fr) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding: 36px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, color 220ms ease;
}

.service-row:hover {
  background: var(--white);
}

.service-row h3,
.service-row p {
  margin-bottom: 0;
}

.service-row p {
  color: var(--muted);
}

.service-row .arrow-box {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--blue);
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.service-row:hover .arrow-box {
  transform: translateX(5px);
  background: var(--blue-surface);
  color: var(--white);
}

.arrow-box svg {
  width: 22px;
  height: 22px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--steel);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(6, 16, 24, 0.88);
  color: var(--white);
}

.image-label span {
  color: #b9cad2;
  font-size: var(--step--1);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(56px, 9vw, 128px);
}

.check-list {
  display: grid;
  gap: 0;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 12px;
  height: 6px;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  content: '';
}

.section-dark .check-list li,
.section-steel .check-list li {
  border-color: var(--line-dark);
}

.rail-layout {
  display: grid;
  min-height: 630px;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 80px;
}

.rail-visual {
  position: sticky;
  top: 128px;
  align-self: start;
}

.rail-machine {
  position: relative;
  height: 500px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}

.rail-machine img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.rail-machine::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 16, 24, 0.85), transparent 55%);
  content: '';
}

.rail-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  transform: translateY(0);
  background: var(--signal);
  box-shadow: 0 0 24px rgba(199, 136, 82, 0.78);
}

.rail-content {
  position: relative;
  padding-left: 48px;
}

.rail-track {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.rail-progress {
  width: 100%;
  height: 0;
  background: linear-gradient(var(--blue-bright), var(--signal));
}

.rail-step {
  position: relative;
  min-height: 155px;
  padding: 8px 0 40px;
}

.rail-step::before {
  position: absolute;
  top: 15px;
  left: -46px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: #40515c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  content: '';
}

.rail-step.is-active::before {
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(199, 136, 82, 0.16);
}

.rail-step h3 {
  margin-bottom: 12px;
}

.rail-step p {
  color: #afc1ca;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.feature-card {
  min-height: 280px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.feature-card:nth-child(1) {
  grid-column: span 7;
}

.feature-card:nth-child(2) {
  grid-column: span 5;
  background: var(--blue-surface);
  color: var(--white);
}

.feature-card:nth-child(3),
.feature-card:nth-child(4) {
  grid-column: span 6;
}

.feature-card p {
  color: var(--muted);
}

.feature-card:nth-child(2) p {
  color: #f5e7da;
}

.icon-tile {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--blue);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.feature-card:nth-child(2) .icon-tile {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.practice-section {
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
}

.practice-section .lead {
  color: #d5c4b5;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.practice-shot {
  position: relative;
  min-width: 0;
  height: 380px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 167, 110, 0.22);
  background: var(--steel);
}

.practice-shot:first-child {
  height: 350px;
  grid-column: 1 / -1;
}

.practice-shot:not(:first-child) {
  grid-column: span 4;
}

.practice-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.practice-shot:nth-child(2) img {
  object-position: center 44%;
}

.practice-shot:nth-child(3) img {
  object-position: center 46%;
}

.practice-shot:nth-child(4) img {
  object-position: center 36%;
}

.practice-shot:hover img {
  transform: scale(1.025);
}

.practice-shot::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 17, 15, 0.9), transparent 56%);
  content: '';
  pointer-events: none;
}

.practice-shot figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.practice-shot figcaption span,
.practice-shot figcaption strong {
  display: block;
}

.practice-shot figcaption span {
  margin-bottom: 4px;
  color: var(--blue-bright);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-shot figcaption strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
}

.practice-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 16px;
  padding: 40px;
  border: 1px solid rgba(228, 167, 110, 0.28);
  background: #272019;
}

.practice-contact h3 {
  max-width: 24ch;
  margin-bottom: 0;
  font-size: var(--step-3);
}

.practice-contact-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.strength-card {
  min-height: 250px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
}

.strength-card > span {
  display: block;
  margin-bottom: 40px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.strength-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.strength-card-dark {
  background: var(--ink);
  color: var(--white);
}

.strength-card-dark > span,
.strength-card-dark p {
  color: var(--blue-bright);
}

.strength-card-accent {
  border-color: var(--signal-dark);
  background: #7b411f;
  color: var(--white);
}

.strength-card-accent > span {
  color: var(--signal);
}

.strength-card-accent p {
  color: #f4ded0;
}

@media (max-width: 767px) {
  .practice-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .practice-shot:first-child,
  .practice-shot:not(:first-child) {
    height: 280px;
    grid-column: 1;
  }

  .practice-contact {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .practice-contact-actions,
  .practice-contact-actions .button,
  .cta-actions,
  .cta-actions .button {
    width: 100%;
  }

  .strength-card {
    min-height: 0;
    padding: 28px;
  }

  .strength-card > span {
    margin-bottom: 28px;
  }
}
