/* ============================================================
   Geo Process Stepper Widget
   All critical properties use !important to prevent theme /
   Bootstrap / plugin CSS overrides.
   CSS custom properties handle icon-size-dependent positioning
   so connector lines always align perfectly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600&family=Inter:wght@300;400;600;700&display=swap');

/* ---- Section wrapper ---- */
.geo-pst-section {
    position: relative !important;
    padding: 120px 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* ---- Dark overlay ---- */
.geo-pst-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(12, 9, 9, 0.88) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* ---- Content container ---- */
.geo-pst-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

/* ---- Eyebrow ---- */
.geo-pst-eyebrow {
    display: block !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #D7A16E !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    line-height: 1 !important;
}

/* ---- Heading ---- */
.geo-pst-heading {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 52px !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
    border: none !important;
    background: none !important;
}

/* ---- Accent divider ---- */
.geo-pst-divider {
    width: 50px !important;
    height: 1.5px !important;
    background-color: #D7A16E !important;
    margin: 0 auto 70px auto !important;
    border: none !important;
    display: block !important;
}

/* ============================================================
   STEPPER FLEX ROW
   CSS custom properties for icon-size-dependent connector lines:
     --geo-pst-icon-size: 70px  (box diameter)
     --geo-pst-icon-half: 35px  (radius = icon-size / 2)
     --geo-pst-tab-gap:   45px  (gap between steps on mobile)
   All injected per-instance via PHP render() <style> block.
   ============================================================ */
.geo-pst-stepper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 20px !important;
    --geo-pst-icon-size: 70px;
    --geo-pst-icon-half: 35px;
    --geo-pst-tab-gap:   45px;
}

/* ---- Individual step ---- */
.geo-pst-step {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    padding: 0 18px !important;   /* overridden per-instance */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

/* ============================================================
   CONNECTOR LINE — DESKTOP HORIZONTAL
   Runs from right edge of current icon to left edge of next icon.
   Uses CSS vars so it auto-adjusts if icon size changes.
   ============================================================ */
@media (min-width: 992px) {
    .geo-pst-step:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        top: var(--geo-pst-icon-half, 35px) !important;
        left: calc(50% + var(--geo-pst-icon-half, 35px)) !important;
        width: calc(100% - var(--geo-pst-icon-size, 70px)) !important;
        height: 0 !important;
        border-top: 1.5px dashed rgba(255, 255, 255, 0.25) !important;
        border-left: none !important;
        z-index: 1 !important;
    }
}

/* ---- Icon wrapper ---- */
.geo-pst-icon-wrap {
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 24px !important;
    flex-shrink: 0 !important;
}

/* ---- Icon circle ---- */
.geo-pst-icon {
    width: var(--geo-pst-icon-size, 70px) !important;
    height: var(--geo-pst-icon-size, 70px) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.geo-pst-icon i {
    color: currentColor !important;
    font-size: 1em !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.geo-pst-icon svg {
    fill: currentColor !important;
    width: 1em !important;
    height: 1em !important;
    display: inline-block !important;
    transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ---- Icon hover ---- */
.geo-pst-step:hover .geo-pst-icon {
    border-color: #D7A16E !important;
    background: rgba(215, 161, 110, 0.15) !important;
    color: #D7A16E !important;
    transform: scale(1.08) !important;
    box-shadow: 0 0 20px rgba(215, 161, 110, 0.2) !important;
}

/* ---- Step content (number + title + desc) ---- */
.geo-pst-content {
    flex: 1 !important;
}

/* ---- Step number ---- */
.geo-pst-num {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
}

/* ---- Step title ---- */
.geo-pst-step-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 23px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: none !important;
    background: none !important;
}

.geo-pst-step:hover .geo-pst-step-title {
    color: #D7A16E !important;
}

/* ---- Step description ---- */
.geo-pst-step-desc {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.65) !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 260px !important;
    text-transform: none !important;
}

/* ============================================================
   TABLET  (≤991px)
   Steps stack vertically — icon left, content right.
   Connector line becomes vertical (border-left).
   max-width and gap are overridden per-instance.
   ============================================================ */
@media (max-width: 991px) {

    .geo-pst-section  { padding: 80px 0 !important; }
    .geo-pst-heading  { font-size: 38px !important; }
    .geo-pst-divider  { margin-bottom: 50px !important; }

    .geo-pst-stepper {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        max-width: 550px !important;
        margin: 0 auto !important;
        gap: 45px !important;
    }

    .geo-pst-step {
        flex: none !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .geo-pst-icon-wrap {
        margin-bottom: 0 !important;
        margin-right: 24px !important;
        flex-shrink: 0 !important;
    }

    .geo-pst-step-desc {
        max-width: 100% !important;
    }

    /* ---- Vertical connector line ---- */
    .geo-pst-step:not(:last-child)::after {
        content: '' !important;
        position: absolute !important;
        top: var(--geo-pst-icon-size, 70px) !important;
        left: calc(var(--geo-pst-icon-size, 70px) / 2) !important;
        width: 0 !important;
        height: calc(100% + var(--geo-pst-tab-gap, 45px) - var(--geo-pst-icon-size, 70px)) !important;
        border-left: 1.5px dashed rgba(255, 255, 255, 0.25) !important;
        border-top: none !important;
        z-index: 1 !important;
        transform: translateX(-50%) !important;
    }
}

/* ============================================================
   MOBILE  (≤575px)
   ============================================================ */
@media (max-width: 575px) {

    .geo-pst-section  { padding: 60px 0 !important; }
    .geo-pst-heading  { font-size: 32px !important; }
    .geo-pst-container { padding: 0 18px !important; }

    .geo-pst-icon-wrap { margin-right: 16px !important; }

    .geo-pst-step-title { font-size: 19px !important; margin-bottom: 8px !important; }
    .geo-pst-step-desc  { font-size: 13.5px !important; }
}
