.meta-how {
    position: relative;
    padding: 50px;
}

.meta-how__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.meta-how__header {
    max-width: 860px;
    margin: 0 auto 46px;
    text-align: center;
}

.meta-how__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #b68471;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    width: fit-content;
}

.meta-how__title {
    margin: 0 0 20px;
    color: #4f3d36;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(50px, 6vw, 80px);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: center;
}

.meta-how__intro {
    margin: 0;
    color: #6f5a51;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

.meta-how__steps-wrap {
    position: relative;
    margin-top: 12px;
}

.meta-how__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
    z-index: 2;
}

.meta-how__card {
    position: relative;
    min-width: 0;
    min-height: 260px;
    padding: 30px 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,240,236,0.98) 100%);
    box-shadow: 0 20px 50px rgba(91, 74, 66, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease,
        opacity 0.35s ease;
    text-align: center;
    box-sizing: border-box;
    opacity: 0.96;
}

.meta-how__card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 143, 123, 0.30);
    box-shadow: 0 28px 70px rgba(91, 74, 66, 0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,234,228,0.98) 100%);
}

.meta-how__card.is-active {
    opacity: 1;
    border-color: rgba(196, 143, 123, 0.30);
    box-shadow: 0 28px 70px rgba(91, 74, 66, 0.10);
}

.meta-how__card--1 {
    margin-top: 0;
}

.meta-how__card--2 {
    margin-top: 140px;
}

.meta-how__card--3 {
    margin-top: 0;
}

.meta-how__number {
    margin: 0 0 16px;
    color: rgba(196, 143, 123, 0.20);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(52px, 6vw, 72px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.meta-how__card-title {
    margin: 0 0 14px;
    color: #5b4a42;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-align: center;
}

.meta-how__card-text {
    margin: 0;
    color: #7a675f;
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
}

.meta-how__dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c48f7b;
    box-shadow:
        0 0 0 7px rgba(244, 230, 223, 0.9),
        0 0 0 11px rgba(196, 143, 123, 0.12);
    z-index: 4;
}

.meta-how__card--1 .meta-how__dot {
    right: -9px;
    top: 104px;
}

.meta-how__card--2 .meta-how__dot {
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
}

.meta-how__card--3 .meta-how__dot {
    left: -9px;
    top: 104px;
}

.meta-how__connector {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.meta-how__connector--desktop {
    left: 0;
    top: 0;
    width: 100%;
    height: 390px;
}

.meta-how__connector--mobile {
    display: none;
}

.meta-how__connector-base,
.meta-how__connector-progress {
    fill: none;
    stroke-linecap: round;
    stroke-width: 4;
}

.meta-how__connector-base {
    stroke: rgba(196, 143, 123, 0.14);
}

.meta-how__connector-progress {
    stroke: #c48f7b;
    filter: drop-shadow(0 0 8px rgba(196, 143, 123, 0.30));
    transition: stroke-dashoffset 0.08s linear;
}

@media (max-width: 1024px) {
    .meta-how {
        padding: 90px 20px 80px;
    }

    .meta-how__steps {
        gap: 18px;
    }

    .meta-how__card {
        min-height: 230px;
    }

    .meta-how__card--2 {
        margin-top: 100px;
    }

    .meta-how__connector--desktop {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .meta-how {
        padding: 70px 16px 60px;
    }

    .meta-how__header {
        margin-bottom: 30px;
    }

    .meta-how__intro {
        font-size: 16px;
        line-height: 1.75;
    }

    .meta-how__steps-wrap {
        padding-left: 40px;
    }

    .meta-how__steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .meta-how__card,
    .meta-how__card--1,
    .meta-how__card--2,
    .meta-how__card--3 {
        min-height: auto;
        margin-top: 0;
        padding: 24px 20px;
        text-align: left;
    }

    .meta-how__card-title,
    .meta-how__card-text {
        text-align: left;
    }

    .meta-how__card-title {
        font-size: 28px;
    }

    .meta-how__card-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .meta-how__number {
        margin-bottom: 10px;
        font-size: 52px;
    }

    .meta-how__connector--desktop {
        display: none;
    }

    .meta-how__connector--mobile {
        display: block;
        left: 0;
        top: 0;
        width: 40px;
        height: 100%;
    }

    .meta-how__dot {
        left: -30px !important;
        top: 50% !important;
        right: auto !important;
        transform: translateY(-50%) !important;
    }

    .meta-how__card--2 .meta-how__dot {
        transform: translateY(-50%) !important;
    }
}