/* Premium polish — refines existing design without replacing it */

.scroll-progress {
  position: fixed;
  top: var(--header-total);
  left: 0;
  height: 3px;
  width: 0;
  z-index: calc(var(--z-nav) + 1);
  background: linear-gradient(90deg, var(--color-yellow), var(--color-blue));
  transition: width 80ms linear;
  pointer-events: none;
}

/* ─── Services hierarchy ─── */
.services-overview--premium {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.services-overview__secondary {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.services-overview__card--featured {
  min-height: 100%;
  padding: var(--space-6);
  background: linear-gradient(160deg, #ffffff 0%, #f8f9fc 100%);
  border-color: rgba(47, 94, 167, 0.2);
  box-shadow: var(--shadow-md);
}

.services-overview__card--featured .services-overview__thumb {
  height: 160px;
  max-height: 160px;
  aspect-ratio: unset;
  margin-bottom: var(--space-4);
}

.services-overview__card--featured .services-overview__title {
  font-size: var(--text-2xl);
}

.services-overview__card--featured .services-overview__desc {
  font-size: var(--text-base);
}

.services-overview__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  color: var(--color-blue);
}

.services-overview__icon svg {
  width: 22px;
  height: 22px;
}

.services-overview__card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.25s;
}

.services-overview__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* ─── Case study showcase ─── */
.case-study {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.case-study__hero {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  align-items: stretch;
}

.case-study__visual {
  position: relative;
  background: var(--color-nav-darker);
  min-height: 0;
  max-height: 300px;
  height: 280px;
}

.case-study__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
  max-height: 300px;
  transition: transform 0.6s var(--ease-out);
}

.case-study__visual:hover img {
  transform: scale(1.02);
}

.case-study__visual-badge {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(29, 35, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.case-study__intro {
  padding: var(--space-5) clamp(var(--space-5), 3vw, var(--space-6));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-2);
}

.case-study__name {
  font-size: clamp(var(--text-xl), 1.5vw + 0.75rem, var(--text-2xl));
  font-weight: 700;
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-tight);
}

.case-study__overview {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-2);
}

.case-study__nav {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
}

.case-study__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.case-study__nav-btn:hover {
  border-color: var(--color-blue);
  background: #fff;
  transform: translateY(-1px);
}

.case-study__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.case-study__body {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
}

.case-study__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-6);
}

.case-study__block h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

.case-study__block p,
.case-study__block li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.case-study__block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.case-study__block li {
  position: relative;
  padding-left: var(--space-5);
}

.case-study__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-yellow);
}

.case-study__gallery {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  overflow-x: auto;
}

.case-study__thumb {
  flex: 0 0 100px;
  height: 100px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color 0.2s, transform 0.2s;
}

.case-study__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__thumb:hover,
.case-study__thumb--active {
  border-color: var(--color-blue);
  transform: scale(1.04);
}

.case-study__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* ─── Technology cards ─── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
}

.tech-card {
  padding: var(--space-6);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.25s;
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 94, 167, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.tech-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin-bottom: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-blue);
  background: linear-gradient(135deg, rgba(47, 94, 167, 0.12), rgba(244, 193, 22, 0.08));
  border: 1px solid rgba(47, 94, 167, 0.15);
}

.tech-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.tech-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* ─── Premium timeline ─── */
.timeline-premium {
  position: relative;
  padding: var(--space-6) var(--space-4);
}

.timeline-premium__track {
  position: absolute;
  top: 52px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.timeline-premium__progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));
  border-radius: var(--radius-full);
  transition: width 1.2s var(--ease-out);
}

.timeline-premium--animated .timeline-premium__progress {
  width: 100%;
}

.timeline-premium__steps {
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
  z-index: 1;
  gap: var(--space-2);
}

.timeline-premium__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  cursor: default;
  transition: transform 0.3s var(--ease-out);
}

.timeline-premium__step:hover {
  transform: translateY(-4px);
}

.timeline-premium__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-primary);
  border: 2px solid var(--color-border);
  color: var(--color-blue);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.timeline-premium__step:hover .timeline-premium__icon {
  border-color: var(--color-blue);
  box-shadow: 0 8px 24px rgba(47, 94, 167, 0.2);
  background: #fff;
}

.timeline-premium__icon svg {
  width: 24px;
  height: 24px;
}

.timeline-premium__label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text);
  max-width: 90px;
  line-height: 1.3;
}

/* ─── Strength cards polish ─── */
.strength-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.strength-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 94, 167, 0.4), rgba(244, 193, 22, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.strength-card:hover::before {
  opacity: 1;
}

.strength-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  color: var(--color-blue);
}

.strength-card__icon svg {
  width: 20px;
  height: 20px;
}

/* ─── Industries polish ─── */
.industry-preview {
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.industry-preview__title {
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-4) var(--space-1);
}

.industry-preview__desc {
  font-size: var(--text-xs);
  padding: 0 var(--space-4) var(--space-4);
  line-height: 1.5;
}

.industry-preview:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.industry-preview__thumb {
  aspect-ratio: unset;
  height: 140px;
  max-height: 140px;
  position: relative;
}

.industry-preview__thumb img {
  transition: transform 0.6s var(--ease-out);
}

.industry-preview:hover .industry-preview__thumb img {
  transform: scale(1.08);
}

.industry-preview__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 35, 48, 0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

.industry-preview:hover .industry-preview__overlay {
  opacity: 1;
}

.industry-preview__overlay span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
}

.industry-preview__icon {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-blue);
  box-shadow: var(--shadow-sm);
}

.industry-preview__icon svg {
  width: 18px;
  height: 18px;
}

.case-study--swap .case-study__visual img {
  animation: case-fade 0.45s var(--ease-out);
}

@keyframes case-fade {
  from { opacity: 0.65; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* ─── Section spacing ─── */
.section--polish {
  padding-block: clamp(3.125rem, 4.5vw, 4.375rem);
}

.section--polish .section__header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-10));
}

.section--polish .section__title {
  letter-spacing: var(--tracking-tight);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .services-overview--premium {
    grid-template-columns: 1fr;
  }

  .services-overview__secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study__hero {
    grid-template-columns: 1fr;
  }

  .case-study__grid {
    grid-template-columns: 1fr;
  }

  .timeline-premium__track {
    display: none;
  }

  .timeline-premium__steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
  }

  .timeline-premium__step {
    flex: 0 0 calc(25% - var(--space-4));
    min-width: 100px;
  }
}

@media (max-width: 600px) {
  .timeline-premium__step {
    flex: 0 0 calc(50% - var(--space-3));
  }

  .services-overview__secondary {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--pcb .hero__media-card img {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FINAL POLISH — section identity, premium tiles, case study
   ═══════════════════════════════════════════════════════════ */

.section--case-study {
  background: linear-gradient(180deg, #eef1f6 0%, #f4f6f9 50%, #eef1f6 100%);
}

.section--strengths {
  background: var(--color-bg-primary);
  color: var(--color-text);
}

.section--strengths .section__title {
  color: var(--color-text);
}

.section--strengths .section__desc {
  color: var(--color-text-secondary);
}

.section--strengths .label {
  color: var(--color-blue);
}

/* ─── Premium service cards ─── */
.services-overview__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.services-overview__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  padding: 0;
}

.services-overview__features li {
  position: relative;
  padding-left: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.services-overview__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-blue);
}

.services-overview__deliverables {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.45;
  margin-bottom: var(--space-4);
}

.services-overview__deliverables span {
  font-weight: 700;
  color: var(--color-text-secondary);
}

.service-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: rgba(47, 94, 167, 0.08);
  border: 1px solid rgba(47, 94, 167, 0.18);
  border-radius: var(--radius-full);
  transition: background 0.25s, border-color 0.25s;
}

.services-overview__card:hover .service-badge {
  background: rgba(47, 94, 167, 0.14);
  border-color: rgba(47, 94, 167, 0.3);
}

.services-overview__card--featured .services-overview__title {
  font-size: clamp(var(--text-2xl), 2vw + 0.5rem, var(--text-3xl));
}

.services-overview__card .services-overview__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.services-overview__card .services-overview__desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.services-overview__card--featured .services-overview__icon {
  width: 52px;
  height: 52px;
}

.services-overview__card--featured .services-overview__icon svg {
  width: 26px;
  height: 26px;
}

.services-overview__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.15) 0%, transparent 40%);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
}

.services-overview__card:hover .services-overview__thumb::after {
  opacity: 1;
}

.services-overview__thumb {
  position: relative;
  height: 150px;
  max-height: 160px;
  aspect-ratio: unset;
  margin-bottom: var(--space-3);
}

/* ─── Case study engineering showcase ─── */
.case-study {
  border: none;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.06);
}

.case-study__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: linear-gradient(135deg, rgba(47, 94, 167, 0.06) 0%, rgba(244, 193, 22, 0.04) 100%);
  border: 1px solid rgba(47, 94, 167, 0.12);
  border-radius: var(--radius-lg);
}

.case-study__metric {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: var(--space-3) var(--space-4);
}

.case-study__metric-value {
  display: block;
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--color-blue);
  letter-spacing: var(--tracking-tight);
}

.case-study__metric-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

.case-study__block--wide {
  grid-column: span 2;
}

.case-study__block--accent {
  padding: var(--space-6);
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-blue);
}

.case-study__process {
  list-style: none;
  counter-reset: process;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.case-study__process li {
  position: relative;
  padding-left: var(--space-10);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  counter-increment: process;
}

.case-study__process li::before {
  content: counter(process);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-blue);
  background: var(--color-accent-dim);
  border-radius: 50%;
}

.case-study__gallery-wrap {
  margin-top: var(--space-10);
}

.case-study__gallery-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-4);
}

.case-study__gallery {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.case-study__thumb {
  flex: 0 0 80px;
  height: 80px;
  border-radius: var(--radius-md);
}

/* Case study technical summary in intro column */
.case-study__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2) var(--space-4);
  margin: var(--space-2) 0 var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.case-study__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-study__spec dt {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.case-study__spec dd {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.case-study__name {
  font-size: clamp(var(--text-xl), 1.5vw + 0.75rem, var(--text-2xl));
  margin-bottom: 0;
}

/* ─── Premium technology tiles ─── */
.tech-card {
  position: relative;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card__icon {
  width: 48px;
  height: 48px;
  font-size: 0.65rem;
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.tech-card:hover .tech-card__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(47, 94, 167, 0.18);
}

.tech-card__name {
  font-size: var(--text-base);
}

.tech-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Industries — compact supporting images */
.industry-preview__thumb {
  aspect-ratio: unset;
  height: 140px;
  max-height: 140px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.industry-preview__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(15, 23, 42, 0.35) 70%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s;
}

.industry-preview:hover .industry-preview__thumb::after {
  opacity: 0.85;
}

.industry-preview__overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, transparent 60%);
  opacity: 0.7;
}

.industry-preview:hover .industry-preview__overlay {
  opacity: 1;
}

/* ─── 9-step engineering roadmap ─── */
.timeline-premium__steps--nine .timeline-premium__step {
  flex: 1;
  min-width: 0;
}

.timeline-premium__steps--nine .timeline-premium__label {
  font-size: 0.65rem;
  max-width: 72px;
}

.timeline-premium--animated .timeline-premium__step {
  animation: timeline-step-in 0.5s var(--ease-out) backwards;
}

.timeline-premium--animated .timeline-premium__step:nth-child(1) { animation-delay: 0.05s; }
.timeline-premium--animated .timeline-premium__step:nth-child(2) { animation-delay: 0.12s; }
.timeline-premium--animated .timeline-premium__step:nth-child(3) { animation-delay: 0.19s; }
.timeline-premium--animated .timeline-premium__step:nth-child(4) { animation-delay: 0.26s; }
.timeline-premium--animated .timeline-premium__step:nth-child(5) { animation-delay: 0.33s; }
.timeline-premium--animated .timeline-premium__step:nth-child(6) { animation-delay: 0.40s; }
.timeline-premium--animated .timeline-premium__step:nth-child(7) { animation-delay: 0.47s; }
.timeline-premium--animated .timeline-premium__step:nth-child(8) { animation-delay: 0.54s; }
.timeline-premium--animated .timeline-premium__step:nth-child(9) { animation-delay: 0.61s; }

@keyframes timeline-step-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-premium--animated .timeline-premium__icon {
  animation: timeline-pulse 2s ease-in-out infinite;
}

.timeline-premium--animated .timeline-premium__step:hover .timeline-premium__icon {
  animation: none;
}

@keyframes timeline-pulse {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: 0 0 0 4px rgba(47, 94, 167, 0.12), var(--shadow-sm); }
}

@media (max-width: 1100px) {
  .case-study__block--wide {
    grid-column: span 1;
  }

  .case-study__specs {
    grid-template-columns: 1fr;
  }

  .timeline-premium__steps--nine .timeline-premium__step {
    flex: 0 0 calc(33.33% - var(--space-4));
  }
}

@media (max-width: 600px) {
  .timeline-premium__steps--nine .timeline-premium__step {
    flex: 0 0 calc(50% - var(--space-3));
  }
}

/* ═══ Homepage executive preview layout ═══ */

.services-overview--preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.services-overview--preview .services-overview__card {
  padding: var(--space-5);
}

.services-overview--preview .services-overview__desc {
  margin-bottom: var(--space-3);
}

.case-study--preview {
  box-shadow: var(--shadow-lg);
}

.case-study--preview .case-study__intro {
  gap: var(--space-4);
}

.case-study__teaser {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-blue);
  margin: 0;
}

.case-study--preview .btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}

.industries-preview--compact {
  grid-template-columns: repeat(4, 1fr);
}

.industries-preview--compact .industry-preview__overlay,
.industries-preview--compact .industry-preview__icon {
  display: none;
}

.strengths-grid--preview .strength-card {
  padding: var(--space-5);
}

.strengths-grid--preview .strength-card__desc {
  font-size: var(--text-xs);
  line-height: 1.5;
}

.tech-grid--preview {
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin-inline: auto;
  align-items: stretch;
}

.tech-grid--wide {
  max-width: 1200px;
  grid-template-columns: repeat(5, 1fr);
}

.tech-grid--preview .tech-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.tech-grid--preview .tech-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 94, 167, 0.35);
  box-shadow: var(--shadow-card-hover), 0 0 18px rgba(47, 94, 167, 0.1);
}

.tech-grid--preview .tech-card__icon {
  flex-shrink: 0;
}

.tech-grid--preview .tech-card__desc {
  flex: 1;
}

.section__cta-link {
  margin-top: var(--space-8);
}

@media (max-width: 1100px) {
  .services-overview--preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-preview--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid--preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .services-overview--preview,
  .industries-preview--compact {
    grid-template-columns: 1fr;
  }
}
