/* intro v22 — Lavazza brutalist: blueprint grid, aurora sweep, outlined heading, progressive stagger */

/* Blueprint engineering-paper grid (colour from Tailwind text-*, lines via currentColor) */
.intro-blue__grid {
    background-image:
        repeating-linear-gradient(0deg, currentColor 0 1px, transparent 1px 28px),
        repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
    opacity: 0.16;
}

/* Aurora wave sweep horizontal */
.intro-blue__aurora {
    background-size: 200% 100%;
    opacity: 0.3;
    animation: intro-blue-aurora 7s ease-in-out infinite;
}
@keyframes intro-blue-aurora {
    0%, 100% { background-position: 0% 0%; }
    50%      { background-position: 100% 0%; }
}

/* Text-stroke outlined heading (hollow fill, stroke = the element's Tailwind colour) */
.intro-blue__title {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px currentColor;
    text-stroke: 2px currentColor;
    letter-spacing: -0.02em;
}

/* Progressive stagger reveal — pure CSS on the reliable [data-lane-item] attribute; always ends visible */
@keyframes intro-blue-rise {
    from { opacity: 0; transform: translateY(1.5rem); }
    to   { opacity: 1; transform: translateY(0); }
}
.intro-blue [data-lane-item] { animation: intro-blue-rise 500ms ease both; }
.intro-blue [data-lane-item]:nth-child(2) { animation-delay: 120ms; }
.intro-blue [data-lane-item]:nth-child(3) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
    .intro-blue__aurora { animation: none; }
    .intro-blue [data-lane-item] { animation: none; }
}

/* Вертикальний таймлайн — позиція рейки та вузлів */
.services__rail {
  position: absolute;
  left: 1.3rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--bs-border-color, #dee2e6);
  border-radius: 1px;
}

.dark .services__rail {
  background-color: rgba(148, 163, 184, 0.45);
}

.services__node {
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: 1.5rem;
}

.services__node:last-child {
  padding-bottom: 0;
}

@media (max-width: 575.98px) {
  .services__node {
    padding-left: 3.25rem;
  }

  .services__rail {
    left: 1.4rem;
  }
}

.services__badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

/* process rail — awards list rows, serif marquee */
.process-rail__stage {
    min-height: 24rem;
}

.process-rail__top {
    min-height: 18rem;
}

.process-rail__row {
    transition: background-color 0.25s ease;
}

.process-rail__row:hover {
    background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.process-rail__marquee-track {
    display: flex;
    width: max-content;
    animation: process-rail-marquee 28s linear infinite;
}

.process-rail__marquee-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1rem;
    flex-shrink: 0;
}

.process-rail__animation {
    width: 8rem;
    height: 8rem;
    animation: process-rail-pulse 2s ease-in-out infinite;
}

@keyframes process-rail-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes process-rail-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-rail__marquee-track {
        animation: none;
    }
}

@media (min-width: 992px) {
    .process-rail__stage {
        min-height: 28rem;
    }

    .process-rail__top {
        min-height: 22rem;
    }
}

/* advantages reveal — chevron toggle button reset + rotation + decor orb (layout/motion only, no colors) */

.advantages-reveal__orb {
    width: 20rem;
    height: 20rem;
    bottom: -6rem;
    right: -6rem;
}

.advantages-reveal__trigger {
    cursor: pointer;
}

.advantages-reveal__chevron {
    transition: transform 0.25s ease;
}

.advantages-reveal__trigger.is-open .advantages-reveal__chevron {
    transform: rotate(180deg);
}

