.profile-page .profile-journey-stack {
    display: grid;
    gap: 24px;
    scroll-margin-top: 100px;
}

.profile-page .profile-booking-journey {
    order: 1;
}

.profile-page .profile-gift-journey {
    order: 2;
}

.profile-page .profile-journey-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(280px, .82fr);
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
    min-height: 360px;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 26px;
    isolation: isolate;
}

.profile-page .profile-journey-card::before,
.profile-page .profile-journey-card::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.profile-page .profile-journey-card::before {
    top: 0;
    right: 8%;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}

.profile-page .profile-journey-card::after {
    width: 330px;
    height: 330px;
    border-radius: 50%;
    filter: blur(4px);
}

.profile-page .profile-gift-journey {
    border-color: rgba(167, 139, 250, .26) !important;
    background:
        linear-gradient(135deg, rgba(20, 15, 43, .97), rgba(20, 25, 52, .96) 48%, rgba(9, 34, 48, .95)) !important;
    box-shadow: 0 28px 70px rgba(2, 6, 23, .34), inset 0 1px rgba(255,255,255,.035) !important;
}

.profile-page .profile-gift-journey::after {
    top: -170px;
    right: -100px;
    background: rgba(139, 92, 246, .21);
}

.profile-page .profile-booking-journey {
    border-color: rgba(34, 211, 238, .22) !important;
    background:
        linear-gradient(135deg, rgba(8, 25, 43, .98), rgba(13, 29, 52, .96) 52%, rgba(23, 18, 49, .95)) !important;
    box-shadow: 0 28px 70px rgba(2, 6, 23, .32), inset 0 1px rgba(255,255,255,.035) !important;
}

.profile-page .profile-booking-journey::after {
    right: -140px;
    bottom: -210px;
    background: rgba(34, 211, 238, .16);
}

.profile-page .profile-journey-copy,
.profile-page .profile-journey-visual,
.profile-page .profile-booking-steps {
    min-width: 0;
}

.profile-page .profile-journey-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #67e8f9;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.profile-page .profile-gift-journey .profile-journey-kicker { color: #d8b4fe; }

.profile-page .profile-journey-copy h2 {
    max-width: 570px;
    margin: 13px 0 14px;
    color: #fff !important;
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.01;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.profile-page .profile-journey-copy > p {
    max-width: 600px;
    margin: 0;
    color: #bac7d8 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.75;
    text-wrap: pretty;
}

.profile-page .profile-journey-points,
.profile-page .profile-booking-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.profile-page .profile-journey-points span,
.profile-page .profile-booking-details span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 999px;
    background: rgba(15, 23, 42, .56);
    color: #dbeafe;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
}

.profile-page .profile-journey-points i { color: #c4b5fd; }
.profile-page .profile-booking-details i { color: #67e8f9; }

.profile-page .profile-journey-button {
    width: min(310px, 100%);
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(2, 6, 23, .24);
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.profile-page .profile-journey-button span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.profile-page .profile-gift-button {
    background: linear-gradient(105deg, #7c3aed, #db2777 56%, #0891b2);
}

.profile-page .profile-booking-button {
    background: linear-gradient(105deg, #0369a1, #2563eb 54%, #7c3aed);
}

.profile-page .profile-journey-button:hover,
.profile-page .profile-journey-button:focus-visible {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(34, 211, 238, .16);
}

.profile-page .profile-journey-button:focus-visible {
    outline: 3px solid rgba(103, 232, 249, .38);
    outline-offset: 3px;
}

.profile-page .profile-journey-visual {
    width: 100%;
    max-width: 390px;
    justify-self: end;
    filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .32));
}

.profile-page .profile-journey-visual .sgc-card-stack {
    width: 100%;
    grid-template-columns: 1fr;
}

.profile-page .profile-journey-visual .sgc-card-back { display: none; }

.profile-page .profile-journey-visual .sgc-card { width: 100%; }

.profile-page .profile-booking-steps {
    display: grid;
    gap: 10px;
    width: min(340px, 100%);
    justify-self: end;
}

.profile-page .profile-booking-steps > div {
    position: relative;
    display: grid;
    grid-template-columns: 30px 38px minmax(0, 1fr);
    grid-template-areas:
        "number icon title"
        "number icon text";
    align-items: center;
    gap: 2px 12px;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: 15px;
    background: rgba(15, 23, 42, .65);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.profile-page .profile-booking-steps > div > span {
    grid-area: number;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(34, 211, 238, .1);
    color: #67e8f9;
    font-size: 10px;
    font-weight: 950;
}

.profile-page .profile-booking-steps > div > i {
    grid-area: icon;
    color: #93c5fd;
    font-size: 19px;
    text-align: center;
}

.profile-page .profile-booking-steps strong {
    grid-area: title;
    color: #fff;
    font-size: 13px;
}

.profile-page .profile-booking-steps small {
    grid-area: text;
    color: #91a0b3;
    font-size: 10px;
    font-weight: 700;
}

.profile-page .business-details-panel {
    background:
        radial-gradient(circle at 100% 0, rgba(34, 211, 238, .08), transparent 30%),
        rgba(15, 23, 42, .88) !important;
}

.profile-page .business-details-panel > p {
    margin-bottom: 16px;
}

.profile-page .business-details-panel .side-icon {
    background: linear-gradient(135deg, #0e7490, #4338ca);
}

.profile-page #gift-cards,
.profile-page #start-booking,
.profile-page #services {
    scroll-margin-top: 104px;
}

@media (max-width: 760px) {
    .profile-page .profile-journey-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 25px 21px;
        border-radius: 22px;
    }

    .profile-page .profile-journey-visual,
    .profile-page .profile-booking-steps {
        width: min(420px, 100%);
        justify-self: center;
    }

    .profile-page .profile-gift-journey .profile-journey-copy {
        text-align: center;
    }

    .profile-page .profile-gift-journey .profile-journey-points {
        justify-content: center;
    }

    .profile-page .profile-gift-journey .profile-journey-button {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .profile-page .profile-journey-stack { gap: 18px; }

    .profile-page .profile-journey-card {
        padding: 22px 17px;
        border-radius: 18px;
    }

    .profile-page .profile-journey-copy h2 {
        font-size: 31px;
    }

    .profile-page .profile-journey-copy > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .profile-page .profile-journey-points,
    .profile-page .profile-booking-details {
        display: grid;
        grid-template-columns: 1fr;
    }

    .profile-page .profile-journey-points span,
    .profile-page .profile-booking-details span {
        justify-content: center;
        border-radius: 10px;
    }

    .profile-page .profile-journey-button { width: 100%; }

    .profile-page .profile-booking-steps > div {
        grid-template-columns: 28px 34px minmax(0, 1fr);
        padding: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-page .profile-journey-button { transition: none; }
}
