/* ===== About Us — Journey / Values / Profiles ===== */

.ec-about-hub .ec-about-journey {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.ec-about-hub .ec-about-journey::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(37, 99, 235, 0.06), transparent 60%),
        radial-gradient(ellipse 40% 35% at 90% 80%, rgba(14, 165, 233, 0.05), transparent 55%);
    pointer-events: none;
}

/* Journey timeline */
.ec-journey {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 8px 0 12px;
}

.ec-journey__rail {
    position: absolute;
    left: 18px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.ec-journey__rail-fill {
    display: block;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #2563eb 0%, #0ea5e9 100%);
    border-radius: inherit;
    transition: height 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-journey.is-active .ec-journey__rail-fill {
    height: 100%;
}

.ec-journey__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ec-journey__item {
    position: relative;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 18px;
    align-items: stretch;
    outline: none;
    cursor: pointer;
}

.ec-journey__marker {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding-top: 28px;
}

.ec-journey__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ec-journey__item.is-active .ec-journey__dot,
.ec-journey__item:hover .ec-journey__dot,
.ec-journey__item:focus-visible .ec-journey__dot {
    border-color: #2563eb;
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

.ec-journey__card {
    position: relative;
    padding: 22px 24px 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.ec-journey__item.is-active .ec-journey__card,
.ec-journey__item:hover .ec-journey__card,
.ec-journey__item:focus-visible .ec-journey__card {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.ec-journey__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ec-journey__year {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
}

.ec-journey__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.ec-journey__title {
    margin: 0 0 8px;
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.ec-journey__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
}

/* Values */
.ec-about-values {
    position: relative;
    overflow: hidden;
    background: #0b1220;
    color: #e2e8f0;
}

.ec-about-values__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 20% 10%, rgba(37, 99, 235, 0.28), transparent 55%),
        radial-gradient(ellipse 45% 40% at 85% 70%, rgba(14, 165, 233, 0.16), transparent 50%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
    pointer-events: none;
}

.ec-about-values .ec-container {
    position: relative;
    z-index: 1;
}

.ec-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ec-value-card {
    position: relative;
    overflow: hidden;
    padding: 28px 26px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease;
}

.ec-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(147, 197, 253, 0.35);
    background: rgba(255, 255, 255, 0.07);
}

.ec-value-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.35), rgba(14, 165, 233, 0.2));
    border: 1px solid rgba(147, 197, 253, 0.25);
}

.ec-value-card__glyph {
    width: 22px;
    height: 22px;
    display: block;
    background: #93c5fd;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.ec-value-card__glyph--quality {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3l2.2 4.5 5 .7-3.6 3.5.9 5.1L12 14.5 7.5 16.8l.9-5.1L4.8 8.2l5-.7z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3l2.2 4.5 5 .7-3.6 3.5.9 5.1L12 14.5 7.5 16.8l.9-5.1L4.8 8.2l5-.7z'/%3E%3C/svg%3E");
}

.ec-value-card__glyph--partnership {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.ec-value-card__glyph--global {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.ec-value-card__glyph--product {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}

.ec-value-card h3 {
    margin: 0 0 10px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.ec-value-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #94a3b8;
}

.ec-value-card__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.ec-value-card:hover .ec-value-card__shine {
    transform: translateX(120%);
}

/* Verified profiles */
.ec-about-profiles {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.ec-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ec-profile-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px 22px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.ec-profile-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ec-profile-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
}

.ec-profile-card:hover::before {
    transform: scaleX(1);
}

.ec-profile-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.ec-profile-card__brand {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: #0f172a;
}

.ec-profile-card--upwork .ec-profile-card__brand { background: linear-gradient(145deg, #14a800, #108a00); }
.ec-profile-card--clutch .ec-profile-card__brand { background: linear-gradient(145deg, #1633ff, #0b1fcc); }
.ec-profile-card--shopify .ec-profile-card__brand { background: linear-gradient(145deg, #96bf48, #5e8e3e); }
.ec-profile-card--adobe .ec-profile-card__brand { background: linear-gradient(145deg, #eb1000, #b30d00); }

.ec-profile-card__stat {
    text-align: right;
}

.ec-profile-card__stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.1;
}

.ec-profile-card__stat span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.ec-profile-card__name {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.ec-profile-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    flex: 1;
}

.ec-profile-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    transition: gap 0.25s ease;
}

.ec-profile-card:hover .ec-profile-card__cta {
    gap: 10px;
}

@media (max-width: 991px) {
    .ec-profiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .ec-values-grid {
        grid-template-columns: 1fr;
    }

    .ec-profiles-grid {
        grid-template-columns: 1fr;
    }

    .ec-journey__rail {
        left: 15px;
    }

    .ec-journey__item {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }

    .ec-journey__card {
        padding: 18px 16px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ec-journey__rail-fill,
    .ec-journey__card,
    .ec-value-card,
    .ec-profile-card,
    .ec-value-card__shine {
        transition: none !important;
    }

    .ec-journey.is-active .ec-journey__rail-fill {
        height: 100%;
    }
}
