/* ==========================================================================
   Prestige 8 Solutions: services page
   Section tracker and the questions list.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section tracker
   -------------------------------------------------------------------------- */

.engine-station {
    position: relative;
    text-align: left;
    padding: 1.1rem 0 0;
    color: rgba(3, 7, 18, 0.5);
    transition: color 0.3s ease;
    cursor: pointer;
}

.engine-station::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(3, 7, 18, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.engine-station.is-active,
.engine-station:hover {
    color: var(--void);
}

.engine-station.is-active::before {
    background: var(--electric);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18);
}

/* --------------------------------------------------------------------------
   Questions
   -------------------------------------------------------------------------- */

details.question {
    border-top: 1px solid var(--hairline);
}

details.question:last-of-type {
    border-bottom: 1px solid var(--hairline);
}

details.question summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 0;
    font-size: 1.1875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    cursor: pointer;
    list-style: none;
}

details.question summary::-webkit-details-marker {
    display: none;
}

details.question summary::after {
    content: "";
    flex: none;
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.35rem;
    border-right: 1.5px solid var(--void);
    border-bottom: 1.5px solid var(--void);
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease-out);
}

details.question[open] summary::after {
    transform: translateY(0.3rem) rotate(-135deg);
}
