/* ═══════════════════════════════════════════════════════
   about-sections.css — Services, Team, Advisors, Geo, CTA
   ═══════════════════════════════════════════════════════ */

/* ═══ SECTION 4 — SERVICES ═══ */
.ab-services {
    padding: 140px 0;
    background: transparent;
}

.ab-services__header {
    text-align: center;
    margin-bottom: 60px;
}

.ab-services__title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.ab-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ab-services__card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s ease;
}

.ab-services__card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.ab-services__card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-services__card:hover .ab-services__card-bg {
    transform: scale(1.1);
}

.ab-services__card-bg--skills {
    background-image: url('../../images/about/service-1.jpg?v=1.1');
}

.ab-services__card-bg--exec {
    background-image: url('../../images/about/service-2.png?v=1.2');
}

.ab-services__card-bg--agents {
    background-image: url('../../images/about/service-3.jpg?v=1.1');
}

.ab-services__card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(5, 5, 10, 0.85) 0%, rgba(5, 5, 10, 0.4) 60%, rgba(5, 5, 10, 0.1) 100%);
    transition: background 0.4s ease;
}

.ab-services__card:hover .ab-services__card-overlay {
    background: linear-gradient(to top, rgba(5, 5, 10, 0.9) 0%, rgba(255, 61, 138, 0.25) 60%, rgba(255, 61, 138, 0.1) 100%);
}

.ab-services__card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    text-align: left;
}

.ab-services__card-num {
    font-family: 'Space Mono', monospace;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.ab-services__card:hover .ab-services__card-num {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(10px);
}

.ab-services__card-text {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-services__card:hover .ab-services__card-text {
    transform: translateY(0);
}

.ab-services__card-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.ab-services__card-reveal {
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.ab-services__card:hover .ab-services__card-reveal {
    max-height: 100px;
    opacity: 1;
}

/* ═══ SECTION 5 & 6 — TEAM / ADVISORS (shared carousel) ═══ */
.ab-team,
.ab-advisors {
    padding: 140px 0;
}

.ab-team {
    background: transparent;
}

.ab-advisors {
    background: transparent;
}

.ab-team__header,
.ab-advisors__header {
    text-align: center;
    margin-bottom: 60px;
}

.ab-team__title,
.ab-advisors__title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--ink);
}

/* Team & Advisor Grid */
.ab-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Large Portrait Profile Card */
.ab-profile-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ab-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

.ab-profile-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-profile-card:hover .ab-profile-card__bg {
    transform: scale(1.05);
}

.ab-profile-card__overlay {
    position: absolute;
    inset: 0;
    /* Gradient fading to dark at bottom so text is readable */
    background: linear-gradient(to top, rgba(5, 5, 10, 0.95) 0%, rgba(5, 5, 10, 0.4) 40%, transparent 100%);
    transition: background 0.4s ease;
}

.ab-profile-card:hover .ab-profile-card__overlay {
    background: linear-gradient(to top, rgba(5, 5, 10, 0.98) 0%, rgba(255, 61, 138, 0.15) 60%, rgba(255, 61, 138, 0.05) 100%);
}

.ab-profile-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

.ab-profile-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.ab-profile-card__name {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
    transition: transform 0.4s ease;
}

.ab-profile-card__role {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.ab-profile-card__reveal {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.4s ease;
}

.ab-profile-card:hover .ab-profile-card__reveal {
    max-height: 200px;
    opacity: 1;
    margin-top: 20px;
}

.ab-profile-card__bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 24px;
}

.ab-profile-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.ab-profile-card__loc {
    font-size: 13px;
    color: var(--ink-dim);
    margin: 0;
}

.ab-profile-card__linkedin {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ab-profile-card__linkedin:hover {
    background: #0A66C2;
    transform: scale(1.1);
}

/* ═══ SECTION 7 — GEO ═══ */
.ab-geo {
    padding: 100px 0 0;
    background: transparent;
}

.ab-geo__header-top {
    margin-bottom: 40px;
}

.ab-geo__title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    color: var(--ink);
    margin: 12px 0;
    letter-spacing: -0.03em;
}

.ab-geo__sub {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 500px;
}

/* ═══ SECTION 7 — GEO ═══ */
.ab-geo {
    padding: 100px 0 0;
    background: transparent;
}

.ab-geo__header-top {
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ab-geo__title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    color: var(--ink);
    margin: 16px 0;
    letter-spacing: -0.03em;
}

.ab-geo__sub {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto;
}

.ab-geo__filter-wrap {
    padding-bottom: 40px;
}

.ab-geo__locations-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ab-geo__location-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: var(--ink);
    border: 1px solid #eee;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-geo__tag-text {
    display: block;
}

.ab-geo__country {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.ab-geo__location-tag:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 61, 138, 0.15);
}

.ab-geo__map-container {
    width: 100%;
    height: 700px;
    background: transparent;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#ab-world-map {
    width: 100%;
    height: 100%;
}

/* ── Markers (Built-in, High Contrast) ── */
.jvm-marker {
    fill: #FF4B2B !important;
    stroke: var(--ink) !important;
    stroke-width: 3 !important;
    filter: drop-shadow(0 4px 8px rgba(255, 75, 43, 0.3));
    transition: all 0.3s ease;
}

.jvm-marker:hover {
    fill: #FF416C !important;
    r: 10 !important;
    filter: drop-shadow(0 8px 16px rgba(255, 65, 108, 0.5));
}

image.jvm-marker {
    width: 44px !important;
    height: 44px !important;
    transform: translate(-22px, -22px);
    transform-box: fill-box;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    cursor: pointer;
}

image.jvm-marker:hover {
    transform: translate(-22px, -22px) scale(1.15);
    filter: drop-shadow(0 8px 20px rgba(118, 39, 216, 0.4));
}

/* ── Tooltips ── */
.jvm-tooltip {
    background: var(--glass-bg) !important;
    font-family: var(--font-primary) !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: 200000 !important;
}

/* Zoom Buttons */
.jvm-zoom-btn {
    left: auto !important;
    right: 30px !important;
    background: var(--glass-bg) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.jvm-zoom-btn:hover {
    background: #f9fafb !important;
    border-color: var(--pink) !important;
    color: var(--pink) !important;
}

.jvm-zoom-btn.jvm-zoom-in {
    top: 30px !important;
}

.jvm-zoom-btn.jvm-zoom-out {
    top: 75px !important;
}

/* Fix zoom buttons positioning */
.jvm-zoom-btn {
    left: auto !important;
    right: 20px !important;
    background: var(--glass-bg) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    font-size: 18px !important;
}

.jvm-zoom-btn.jvm-zoom-in {
    top: 20px !important;
}

.jvm-zoom-btn.jvm-zoom-out {
    top: 60px !important;
}

/* Customize jsVectorMap tooltips consolidated above */

/* ═══ SECTION 8 — CTA ═══ */
.ab-cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.ab-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.ab-cta__sky {
    position: absolute;
    inset: 0;
    background-image: url('../../images/about/cta-bg.jpg');
    background-size: cover;
    background-position: center;
}

.ab-cta__sky::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(5, 5, 10, 0.95) 0%, rgba(10, 20, 12, 0.85) 42%, rgba(13, 13, 17, 0.70) 100%);
}

.ab-cta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    pointer-events: none;
}

.ab-cta__orb--1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.18), transparent 60%);
}

.ab-cta__orb--2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -50px;
    background: radial-gradient(circle, rgba(255, 61, 138, 0.12), transparent 60%);
}

.ab-cta__shape {
    position: absolute;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    pointer-events: none;
    animation: abFloat 12s ease-in-out infinite;
}

.ab-cta__shape--1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.ab-cta__shape--2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 15%;
    animation-delay: -5s;
    border-radius: 50%;
}

.ab-cta__grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ab-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ab-cta__title {
    font-family: var(--font-primary);
    font-size: 56px;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.1;
    margin: 0 0 20px;
}

.ab-cta__sub {
    font-family: var(--font-primary);
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 0 48px;
}

.ab-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══ ANIMATIONS ═══ */
[data-ab-anim] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16, 1, .3, 1);
}

[data-ab-anim="fade-right"] {
    transform: translateX(-40px);
}

[data-ab-anim].ab-visible {
    opacity: 1;
    transform: translate(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .ab-hero__title {
        font-size: 56px;
    }

    .ab-story__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ab-values__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-services__grid {
        grid-template-columns: 1fr;
    }

    .ab-services__card {
        height: 320px;
    }

    .ab-carousel__slide {
        flex: 0 0 calc(50% - 12px);
    }

    .ab-story__title,
    .ab-values__title,
    .ab-services__title,
    .ab-team__title,
    .ab-advisors__title,
    .ab-geo__title {
        font-size: 40px;
    }

    .ab-cta__title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .ab-team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .ab-profile-card {
        height: 400px;
    }

    .ab-profile-card__content {
        padding: 20px;
    }

    .ab-profile-card__name {
        font-size: 20px;
    }

    .ab-geo__map-container {
        height: 380px;
    }
    
    image.jvm-marker {
        width: 24px !important;
        height: 24px !important;
        transform: translate(-12px, -12px);
    }
    image.jvm-marker:hover {
        transform: translate(-12px, -12px) scale(1.15);
    }

    .ab-geo__locations-row {
        justify-content: center;
        padding: 0 16px;
    }

    .ab-hero__title {
        font-size: 40px;
    }

    .ab-hero__sub {
        font-size: 16px;
    }

    .ab-hero__content {
        padding: 0 20px;
    }

    .ab-story,
    .ab-values,
    .ab-services,
    .ab-team,
    .ab-advisors,
    .ab-geo,
    .ab-cta {
        padding: 80px 0;
    }

    .ab-story__title,
    .ab-values__title,
    .ab-services__title,
    .ab-team__title,
    .ab-advisors__title,
    .ab-geo__title {
        font-size: 32px;
    }

    .ab-story__stat-num {
        font-size: 40px;
    }

    .ab-values__cards {
        grid-template-columns: 1fr;
    }

    .ab-carousel {
        padding: 0 20px;
    }

    .ab-carousel__slide {
        flex: 0 0 100%;
    }

    .ab-carousel__arrow {
        display: none;
    }

    .ab-cta__title {
        font-size: 32px;
    }

    .ab-hero__actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    [data-ab-anim] {
        opacity: 1;
        transform: none;
    }
}
