/* ============================================================
   NearU - How NearU Works Section
   Tokens from theme-tokens.css; panel shell + tints from components.css
   ============================================================ */

/* ---------- Heading ---------- */
.nearu-how-head { margin-bottom: 38px; }
.nearu-how-title {
    color: var(--nearu-ink);
    font-weight: var(--fw-bold);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
    margin: 0;
}

/* ---------- Step column ---------- */
.nearu-how-col { position: relative; }
.nearu-how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 14px;
}

/* ---------- Icon + number ---------- */
.nearu-how-icon-wrap {
    position: relative;
    margin-bottom: 18px;
}
.nearu-how-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
}
.nearu-how-num {
    position: absolute;
    left: 4px;
    bottom: -2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--nearu-primary);
    color: #fff;
    font-size: 12px;
    font-weight: var(--fw-bold);
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

/* ---------- Text ---------- */
.nearu-how-step-title {
    font-size: 16px;
    font-weight: var(--fw-bold);
    color: var(--nearu-ink);
    margin: 0 0 8px;
    line-height: 1.3;
}
.nearu-how-step-text {
    max-width: 230px;
    font-size: 14px;
    color: var(--nearu-muted);
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Dashed connector (desktop) - column-relative centering ---------- */
.nearu-how-connector {
    position: absolute;
    top: 38px;                      /* matches 76px circle centre */
    left: 50%;                      /* start at this column's centre */
    width: 100%;                    /* span toward the next column's centre */
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}
.nearu-how-connector::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 46px;                     /* clear this circle's radius */
    right: 46px;                    /* clear the next circle's radius */
    border-top: 2px dashed var(--nearu-connector);
    transform: translateY(-50%);
}
.nearu-how-connector > i {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    color: var(--nearu-connector);
    font-size: 18px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
    .nearu-how-panel { padding: 36px 24px 32px; }
    .nearu-how-connector { display: none; }
    .nearu-how-col { margin-bottom: 14px; }
}

@media (max-width: 575.98px) {
    .nearu-how-panel { padding: 30px 18px 26px; }
    .nearu-how-icon { width: 68px; height: 68px; font-size: 27px; }
    .nearu-how-step-title { font-size: 15px; }
}
