/* Seelenbalsam — Three Step Process widget */

.sb-three-step-process {
    width: 100%;
    padding: var(--mx-space-4xl) var(--mx-gutter);
    background: var(--mx-color-surface-3);
}

.sb-three-step-process__inner {
    max-width: 1500px;
    margin: 0 auto;
    padding-inline: clamp(22px, 4.6vw, 64px);
    box-sizing: border-box;
}

.sb-three-step-process__head {
    text-align: center;
    margin-bottom: var(--mx-space-3xl);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.sb-three-step-process__heading {
    margin: 0;
    font-family: 'Gelica', 'Tiempos Headline', 'Suisse Intl', "Aileron", Georgia, serif;
    font-size: clamp(36px, 3.4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: var(--mx-color-ink, #45375c);
}

/* Centered diamond + line separator (site-wide) */
.sb-three-step-process__rule {
    position: relative;
    display: block;
    width: 120px;
    height: 2px;
    margin: 30px auto 0;
    background: #EFA1A2;
}
.sb-three-step-process__rule::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    background: #EFA1A2;
    transform: translate(-50%, -50%) rotate(45deg);
}

.sb-three-step-process__sub {
    margin: 28px auto 0;
    max-width: 640px;
    font-family: 'Suisse Intl', "Aileron", system-ui, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
    color: #72657B;
}

.sb-three-step-process__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--mx-space-2xl);
    position: relative;
}

/* Connector dashed line between steps (desktop). */
.sb-three-step-process__steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background-image: linear-gradient(to right, var(--mx-color-brand-soft) 50%, transparent 0%);
    background-size: 16px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}

.sb-three-step-process__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--mx-space-md);
    text-align: center;
}

.sb-three-step-process__icon-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: var(--mx-radius-round);
    background: var(--mx-color-surface-1);
    box-shadow: var(--mx-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mx-color-brand-deep);
}

.sb-three-step-process__num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 36px;
    height: 36px;
    border-radius: var(--mx-radius-round);
    background: var(--mx-color-brand-soft);
    color: #fff;
    font-family: var(--mx-font-display);
    font-size: var(--mx-fs-md);
    font-weight: var(--mx-fw-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-three-step-process__title {
    margin: 12px 0 0;
    font-family: 'Gelica', 'Tiempos Headline', 'Suisse Intl', "Aileron", Georgia, serif;
    font-size: clamp(22px, 1.7vw, 27px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--mx-color-ink, #45375c);
}

.sb-three-step-process__body {
    margin: 0;
    max-width: 300px;
    font-family: 'Suisse Intl', "Aileron", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #72657B;
}

@media (max-width: 1024px) {
    .sb-three-step-process { padding: var(--mx-space-3xl) var(--mx-space-2xl); }
}

@media (max-width: 768px) {
    .sb-three-step-process { padding: var(--mx-space-2xl) var(--mx-space-lg); }
    .sb-three-step-process__steps { grid-template-columns: 1fr; gap: var(--mx-space-2xl); }
    .sb-three-step-process__steps::before { display: none; }
    .sb-three-step-process__heading { font-size: clamp(1.75rem, 6vw, 2.25rem); }
}

/* Match design: colored step circles (pink / gold / teal), white icons, flat */
.sb-three-step-process__icon-wrap { box-shadow: none !important; }
.sb-three-step-process__num { display: none !important; }
.sb-three-step-process__step:nth-child(1) .sb-three-step-process__icon-wrap { background: #E0457E !important; color: #ffffff !important; }
.sb-three-step-process__step:nth-child(2) .sb-three-step-process__icon-wrap { background: #E0B43C !important; color: #ffffff !important; }
.sb-three-step-process__step:nth-child(3) .sb-three-step-process__icon-wrap { background: #3BA9B5 !important; color: #ffffff !important; }

/* icon glyph: vertically + horizontally centered, consistent size */
.sb-three-step-process__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}
.sb-three-step-process__icon svg {
    display: block !important;
    height: 50px !important;
    width: auto !important;
}

/* ── Responsive padding fix ── */
@media (max-width: 1024px) {
    .sb-three-step-process { padding-left: 40px !important; padding-right: 40px !important; }
    .sb-three-step-process__inner { padding-inline: 0 !important; }
}
@media (max-width: 768px) {
    .sb-three-step-process { padding-left: 10px !important; padding-right: 10px !important; }
    .sb-three-step-process__inner { padding-inline: 0 !important; }
}

/* ── Button overflow fix on mobile ── */
@media (max-width: 768px) {
    .sb-three-step-process__cta {
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        white-space: normal !important;
        text-align: center !important;
    }
}
