/* ============================================================
   SECCIÓN NXTARA TEAM HERO
============================================================ */

.nxtara-team-hero {
    position: relative;
    overflow: hidden;

    padding: 110px 0 95px;

    background: #000000;
}

.nxtara-team-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 22% 62%,
            rgba(126, 0, 55, 0.52) 0%,
            rgba(126, 0, 55, 0.22) 20%,
            transparent 42%
        ),
        radial-gradient(
            circle at 82% 8%,
            rgba(165, 0, 62, 0.55) 0%,
            rgba(165, 0, 62, 0.20) 22%,
            transparent 46%
        ),
        radial-gradient(
            circle at 64% 48%,
            rgba(0, 255, 221, 0.075) 0%,
            transparent 26%
        );

    filter: blur(6px);
    opacity: 0.82;
    pointer-events: none;
}

.nxtara-team-hero .container {
    position: relative;
    z-index: 2;
}

/* ============================================================
   GRID
============================================================ */

.nxtara-team-grid {
    min-height: 480px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 30px;
}

/* ============================================================
   CONTENT
============================================================ */

.nxtara-team-content {
    position: relative;
    isolation: isolate;

    text-align: center;

    color: #ffffff;
}

.nxtara-team-local-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 82%;
    height: 82%;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            rgba(135, 0, 65, 0.26) 0%,
            rgba(135, 0, 65, 0.10) 30%,
            transparent 68%
        );

    filter: blur(30px);

    mix-blend-mode: screen;

    opacity: 0.85;
}

.nxtara-team-content h1,
.nxtara-team-content p,
.nxtara-team-btn {
    position: relative;
    z-index: 2;
}

.nxtara-team-content h1 {
    margin: 0 0 28px 0;

    color: #ffffff;

    line-height: 1.16;
    font-weight: 300;

    letter-spacing: -0.04em;
}

.nxtara-team-content p {
    max-width: 520px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.92);

    line-height: 1.4;
    font-weight: 400;
}

/* ============================================================
   BUTTON
============================================================ */

.nxtara-team-btn {
    width: fit-content;

    min-width: 300px;
    height: 58px;

    margin: 38px auto 0;

    padding: 0 32px;

    border-radius: 999px;

    color: #ffffff;
    text-decoration: none;

    line-height: 1;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            90deg,
            #f41482 0%,
            #ef3f9a 50%,
            #df62a8 100%
        );

    box-shadow:
        0 16px 34px rgba(244, 20, 130, 0.22);

    transition:
        transform 0.3s var(--nx-ease),
        box-shadow 0.3s var(--nx-ease);
}

.nxtara-team-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 22px 44px rgba(244, 20, 130, 0.34);
}

/* ============================================================
   PEOPLE VISUAL
============================================================ */

.nxtara-team-visual {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 470px;

    transform: scale(0.82);

    transform-origin: center;
}

.nxtara-team-orbit-glow {
    position: absolute;

    top: 50%;
    left: 52%;

    transform: translate(-50%, -50%);

    width: 92%;
    height: 92%;

    background:
        radial-gradient(circle at 50% 52%, rgba(255, 0, 123, 0.35) 0%, transparent 28%),
        radial-gradient(circle at 76% 56%, rgba(0, 255, 180, 0.28) 0%, transparent 28%),
        radial-gradient(circle at 42% 58%, rgba(146, 70, 255, 0.30) 0%, transparent 28%),
        radial-gradient(circle at 58% 82%, rgba(255, 215, 0, 0.24) 0%, transparent 22%),
        radial-gradient(circle at 70% 25%, rgba(0, 153, 255, 0.20) 0%, transparent 24%);

    filter: blur(52px);

    mix-blend-mode: screen;

    pointer-events: none;

    z-index: 1;
}

/* ============================================================
   PEOPLE
============================================================ */

.nxtara-person {
    position: absolute;
    z-index: 2;

    border-radius: 50%;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.18);

    box-shadow:
        0 0 38px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(255, 0, 120, 0.08);

    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.nxtara-person img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

/* ============================================================
   FLOATING ANIMATION
============================================================ */

@keyframes nxtaraFloat01 {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    25% {
        transform: translate3d(0px, -10px, 0px);
    }

    50% {
        transform: translate3d(6px, -18px, 0px);
    }

    75% {
        transform: translate3d(-4px, -8px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

@keyframes nxtaraFloat02 {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    20% {
        transform: translate3d(-8px, -8px, 0px);
    }

    50% {
        transform: translate3d(-14px, -16px, 0px);
    }

    80% {
        transform: translate3d(-6px, -6px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

@keyframes nxtaraFloat03 {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }

    30% {
        transform: translate3d(10px, -12px, 0px);
    }

    60% {
        transform: translate3d(4px, -22px, 0px);
    }

    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

/* ============================================================
   PEOPLE FLOAT EFFECT
============================================================ */

.nxtara-person-main {
    animation: nxtaraFloat01 7s ease-in-out infinite;
}

.nxtara-person-02 {
    animation: nxtaraFloat02 8s ease-in-out infinite;
}

.nxtara-person-03 {
    animation: nxtaraFloat03 9s ease-in-out infinite;
}

.nxtara-person-04 {
    animation: nxtaraFloat01 6.5s ease-in-out infinite;
}

.nxtara-person-05 {
    animation: nxtaraFloat02 7.5s ease-in-out infinite;
}

.nxtara-person-06 {
    animation: nxtaraFloat03 8.5s ease-in-out infinite;
}

.nxtara-person-07 {
    animation: nxtaraFloat01 7.8s ease-in-out infinite;
}

/* ============================================================
   TAMAÑOS PERSONAS
============================================================ */

.nxtara-person-main {
    width: 170px;
    height: 170px;

    top: 190px;
    left: 50%;
}

.nxtara-person-02 {
    width: 110px;
    height: 110px;

    top: 70px;
    left: 47%;
}

.nxtara-person-03 {
    width: 130px;
    height: 130px;

    top: 300px;
    left: 18%;
}

.nxtara-person-04 {
    width: 90px;
    height: 90px;

    top: 150px;
    left: 28%;
}

.nxtara-person-05 {
    width: 88px;
    height: 88px;

    top: 110px;
    right: 13%;
}

.nxtara-person-06 {
    width: 130px;
    height: 130px;

    top: 300px;
    right: 3%;
}

.nxtara-person-07 {
    width: 90px;
    height: 90px;

    top: 445px;
    left: 60%;
}

/* ============================================================
   PROFILE CARDS
============================================================ */

.nxtara-team-cards {
    margin-top: 60px;

    padding-bottom: 18px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}

.nxtara-team-card {
    min-height: 88px;

    padding: 12px 18px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.28);

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px);

    color: #ffffff;

    display: grid;
    grid-template-columns: auto 1fr auto;

    align-items: center;

    gap: 14px;
}

.nxtara-team-card > img {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    object-fit: cover;

    display: block;
}

.nxtara-team-card h3 {
    margin: 0 0 3px 0;

    color: #ffffff;

    line-height: 1.1;
    font-weight: 700;
}

.nxtara-team-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    line-height: 1.25;
    font-weight: 400;
}

/* ============================================================
   SOCIAL ICONS
============================================================ */

.nxtara-team-social {
    display: flex;
    align-items: center;

    gap: 12px;
}

.nxtara-team-social a {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.28s var(--nx-ease),
        background 0.28s var(--nx-ease),
        border-color 0.28s var(--nx-ease),
        box-shadow 0.28s var(--nx-ease);
}

.nxtara-team-social a img {
    max-width: 18px;
    max-height: 18px;

    width: auto;
    height: auto;

    display: block;

    object-fit: contain;

    opacity: 0.92;

    transition:
        transform 0.28s var(--nx-ease),
        opacity 0.28s var(--nx-ease);
}

.nxtara-team-social a:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.12);

    border-color: rgba(255, 255, 255, 0.28);

    box-shadow:
        0 10px 24px rgba(255, 0, 140, 0.16);
}

.nxtara-team-social a:hover img {
    transform: scale(1.08);

    opacity: 1;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1200px) {

    .nxtara-team-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .nxtara-team-cards {
        grid-template-columns: 1fr;

        max-width: 620px;

        margin-top: 50px;

        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {

    .nxtara-team-hero {
        padding: 90px 0 90px;
    }

    .nxtara-team-grid {
        gap: 10px;
    }

    .nxtara-team-content h1 {
        margin-bottom: 24px;

        line-height: 1.12;
    }

    .nxtara-team-content p {
        max-width: 95%;

        line-height: 1.45;
    }

    .nxtara-team-btn {
        min-width: auto;

        width: 100%;
        max-width: 320px;

        height: 54px;

        margin-top: 30px;

    }

    .nxtara-team-visual {
        min-height: 520px;

        transform: scale(0.62);

        transform-origin: top center;

        margin-top: 40px;
        margin-bottom: 40px;
    }

    .nxtara-team-cards {
        margin-top: 70px;

        padding-bottom: 20px;

        gap: 24px;
    }

    .nxtara-team-card {
        grid-template-columns: auto 1fr;

        border-radius: 34px;

        padding: 20px 22px;

        min-height: 118px;

        gap: 18px;
    }

    .nxtara-team-card > img {
        width: 72px;
        height: 72px;
    }
.nxtara-team-card p {
        line-height: 1.35;
    }

    .nxtara-team-social {
        grid-column: 1 / -1;

        justify-content: center;

        margin-top: 4px;

        gap: 14px;
    }
}

@media (max-width: 480px) {

    .nxtara-team-hero {
        padding: 80px 0 90px;
    }

    .nxtara-team-content h1 {
        line-height: 1.14;
    }

    .nxtara-team-content p {
        max-width: 100%;

    }

    .nxtara-team-btn {
        max-width: 100%;

        height: 56px;

    }

    .nxtara-team-visual {
        transform: scale(0.56);

        transform-origin: top center;

        min-height: 500px;

        margin-top: 38px;
        margin-bottom: 35px;
    }

    .nxtara-team-cards {
        margin-top: 65px;

        gap: 26px;

        padding-left: 10px;
        padding-right: 10px;
    }

    .nxtara-team-card {
        padding: 22px 20px;

        min-height: 122px;

        border-radius: 34px;

        gap: 18px;
    }

    .nxtara-team-card > img {
        width: 74px;
        height: 74px;
    }
.nxtara-team-card p {
        line-height: 1.35;
    }

    .nxtara-team-social {
        margin-top: 6px;

        gap: 14px;
    }
}

