/* Explain: Styles for responsive layout, element spacing, and text balancing. */
.process-line {
    position: relative;
}

@media (min-width: 1024px) {
    .process-line::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 3.5rem;
        height: 1px;
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary-color) 62%, transparent), transparent);
    }

    .process-line > article {
        z-index: 1;
    }
}

@media (max-width: 640px) {
    .hero-cinematic h1 {
        text-wrap: balance;
    }

    .service-card,
    .project-card,
    .timeline-card {
        min-height: auto;
    }
}

/* Automatic phone adaptation — fluid type and spacing across every screen width. */
@media (max-width: 1023px) {
    .hero-cinematic h1 {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }
}

@media (max-width: 430px) {
    .service-card,
    .project-card,
    .timeline-card,
    .faq-card,
    .benefit-card,
    .gallery-card,
    .review-card {
        border-radius: 1.5rem;
    }

    .credibility-item {
        border-radius: 1.25rem;
        font-size: 0.85rem;
        padding-inline: 0.9rem;
    }

    .eyebrow {
        letter-spacing: 0.16em;
    }
}
