/* =========================================================
   VARIABLES
   ========================================================= */

.contact-page {
    --contact-bg: #7d82dc;

    --contact-text: #ffffff;
    --contact-text-soft: rgba(255, 255, 255, 0.82);
    --contact-text-muted: rgba(255, 255, 255, 0.60);

    --contact-accent: #ffffff;
    --contact-accent-soft: rgba(255, 255, 255, 0.12);
    --contact-accent-border: rgba(255, 255, 255, 0.30);

    --contact-border: rgba(255, 255, 255, 0.16);
    --contact-border-strong: rgba(255, 255, 255, 0.30);

    --contact-radius: 16px;
    --contact-radius-small: 10px;

    --contact-max-width: 1500px;
}


/* =========================================================
   BASE
   ========================================================= */

html {
    min-height: 100%;
    margin: 0;

    background: #7d82dc;
}

body.contact-page {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle,
            rgba(180, 220, 255, 0.10) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(180, 220, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(180, 220, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            135deg,
            #555aa3 0%,
            #686ec0 50%,
            #555aa3 100%
        );

    background-size:
        32px 32px,
        32px 32px,
        32px 32px,
        100% 100%;

    color: var(--contact-text);

    overflow-x: hidden;
}

.contact-page main {
    position: relative;
    z-index: 1;

    width: 100%;
}

.contact-page button,
.contact-page a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   ELEMENTOS COMUNES
   ========================================================= */

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.78);
}

.contact-label::before {
    content: "";

    width: 18px;
    height: 1px;

    background: currentColor;
}

.contact-section-header {
    position: relative;
}

.contact-section-header h2 {
    margin: 10px 0 0;

    color: #ffffff;

    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.contact-section-header p {
    max-width: 650px;
    margin: 14px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================================
   INTRO
   ========================================================= */

.contact-intro {
    position: relative;

    padding: 105px 24px 75px;

    overflow: hidden;

    border-bottom: 1px solid var(--contact-border);
}

.contact-intro::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(63, 109, 246, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(63, 109, 246, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}

.contact-intro::after {
    display: none;
}

.contact-intro-content {
    position: relative;
    z-index: 1;

    width: min(100%, var(--contact-max-width));
    margin: 0 auto;
}

.contact-intro h1 {
    max-width: 800px;

    margin: 16px 0 0;

    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;

    color: #ffffff;
}

.contact-intro p {
    max-width: 650px;

    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}


/* =========================================================
   CABECERAS DE SECCIÓN
   ========================================================= */

.contact-section-header {
    margin-bottom: 28px;
}

.contact-section-header h2 {
    margin: 10px 0 12px;

    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
}

.contact-section-header p {
    max-width: 700px;
    margin: 0;

    font-size: 0.98rem;
    line-height: 1.7;

    opacity: 0.85;
}


/* =========================================================
   MAPA
   ========================================================= */

.contact-map {
    padding: 40px;
}

.contact-map-content {
    max-width: 1500px;
    margin: 0 auto;
}

.contact-map-container {
    position: relative;

    width: 100%;
}

.contact-map-frame {
    position: relative;

    width: 100%;
    min-height: 680px;

    padding: 0;

    box-sizing: border-box;

    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.08);

    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(0, 0, 0, 0.12);

    overflow: hidden;
}

.contact-map-world {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1.35fr);
    align-items: center;

    width: 100%;
    min-height: 674px;

    padding: 30px;

    box-sizing: border-box;

    background-color: #70BFFF;

    background-image: repeating-linear-gradient(
        to bottom,
        rgba(35, 135, 215, 0.08) 0,
        rgba(35, 135, 215, 0.08) 2px,
        transparent 2px,
        transparent 8px
    );

    overflow: hidden;
}

.contact-map-region {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
}

.contact-map-region img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;
}

.contact-map-usa {
    padding-right: 10px;
}

.contact-map-spain {
    padding-left: 0px;
}


/* =========================================================
   PUNTOS DEL MAPA
   ========================================================= */

.contact-map-point-layer {
    position: absolute;

    inset: 0;

    pointer-events: none;

    z-index: 4;
}

.contact-map-point {
    position: absolute;

    display: block;

    width: 15px;
    height: 15px;

    box-sizing: border-box;

    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;

    background: #ff3b3b;

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.10),
        0 0 12px rgba(255, 255, 255, 0.70);

    transform: translate(-50%, -50%);

    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.contact-map-point:hover {
    transform: translate(-50%, -50%) scale(1.18);

    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.13),
        0 0 18px rgba(255, 255, 255, 0.90);
}


/* =========================================================
   FOCO + NOMBRE DEL PUNTO
   ========================================================= */

.contact-map-point::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 30px;
    height: 30px;

    box-sizing: border-box;

    border: 2px solid transparent;

    background:
        linear-gradient(#fff, #fff) top left / 8px 2px no-repeat,
        linear-gradient(#fff, #fff) top left / 2px 8px no-repeat,
        linear-gradient(#fff, #fff) top right / 8px 2px no-repeat,
        linear-gradient(#fff, #fff) top right / 2px 8px no-repeat,
        linear-gradient(#fff, #fff) bottom left / 8px 2px no-repeat,
        linear-gradient(#fff, #fff) bottom left / 2px 8px no-repeat,
        linear-gradient(#fff, #fff) bottom right / 8px 2px no-repeat,
        linear-gradient(#fff, #fff) bottom right / 2px 8px no-repeat;

    transform: translate(-50%, -50%) scale(0.72);

    opacity: 0;

    pointer-events: none;

    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.contact-map-point::after {
    content: attr(data-tooltip);

    position: absolute;

    left: 50%;
    bottom: calc(100% + 15px);

    min-width: max-content;

    padding: 8px 14px;

    box-sizing: border-box;

    border: 2px solid rgba(255, 255, 255, 0.92);

    background:
        linear-gradient(
            180deg,
            rgba(50, 78, 120, 0.98),
            rgba(31, 52, 88, 0.98)
        );

    box-shadow:
        inset 0 0 0 2px rgba(29, 48, 78, 0.92),
        0 7px 0 rgba(20, 36, 62, 0.30),
        0 10px 22px rgba(20, 28, 50, 0.34);

    color: #ffffff;

    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;

    white-space: nowrap;

    clip-path: polygon(
        0 6px,
        6px 6px,
        6px 0,
        calc(100% - 6px) 0,
        calc(100% - 6px) 6px,
        100% 6px,
        100% calc(100% - 6px),
        calc(100% - 6px) calc(100% - 6px),
        calc(100% - 6px) 100%,
        6px 100%,
        6px calc(100% - 6px),
        0 calc(100% - 6px)
    );

    transform: translate(-50%, 5px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.contact-map-point:hover::before {
    animation: contact-map-point-focus 720ms ease-out forwards,
               contact-map-point-pulse 1200ms ease-in-out 720ms infinite;
}

.contact-map-point:hover::after {
    animation: contact-map-point-tooltip 120ms ease-out 80ms forwards;
}

@keyframes contact-map-point-focus {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.72);
    }

    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    36% {
        opacity: 0.15;
        transform: translate(-50%, -50%) scale(1.10);
    }

    54% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    72% {
        opacity: 0.20;
        transform: translate(-50%, -50%) scale(1.08);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

@keyframes contact-map-point-pulse {

    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(1.10);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

@keyframes contact-map-point-tooltip {

    from {
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 5px);
    }

    to {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

}


/* =========================================================
   CONEXIÓN POKENEXO
   ========================================================= */

.contact-map-nexo {
    position: relative;
    z-index: 5;

    width: 100%;
    height: 180px;

    pointer-events: none;
}

.contact-map-connection {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;
}

.contact-map-connection-glow,
.contact-map-connection-line {
    fill: none;

    stroke-linecap: round;
}

.contact-map-connection-glow {
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 10;

    filter: blur(6px);
}

.contact-map-connection-line {
    stroke: rgba(255, 255, 255, 0.88);
    stroke-width: 3;
}

.contact-map-nexo-node {
    position: absolute;
    z-index: 2;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 2px solid rgba(255, 255, 255, 0.92);

    background: rgba(65, 120, 205, 0.82);

    transform: translate(-50%, -50%) rotate(45deg);

    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.10),
        0 0 18px rgba(255, 255, 255, 0.34);
}

.contact-map-nexo-node span {
    display: block;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.75);

    transform: rotate(-45deg);
}


/* =========================================================
   POPUP DEL MAPA
   ========================================================= */

.contact-map-popup {
    position: absolute;
    z-index: 20;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(20, 27, 55, 0.42);

    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 220ms ease,
        visibility 220ms ease;
}

.contact-map-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.contact-map-popup-panel {
    position: relative;

    width: min(900px, 100%);
    min-height: 544px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(52, 61, 82, 0.97),
            rgba(37, 46, 67, 0.96)
        );

    box-shadow:
        0 28px 70px rgba(20, 28, 50, 0.42),
        0 0 35px rgba(255, 255, 255, 0.10);

    overflow: hidden;

    transform: translateY(10px);

    transition:
        transform 220ms ease;
}

.contact-map-popup.is-open .contact-map-popup-panel {
    transform: translateY(0);
}

.contact-map-popup-panel::before {
    content: "";

    position: absolute;
    inset: 8px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    pointer-events: none;
}


/* =========================================================
   CIERRE DEL POPUP
   ========================================================= */

.contact-map-popup-close {
    position: absolute;
    z-index: 10;

    top: 18px;
    right: 18px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    background: rgba(20, 28, 40, 0.46);

    color: rgba(255, 255, 255, 0.82);

    line-height: 1;

    cursor: pointer;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.contact-map-popup-close i {
    font-size: 18px;
    line-height: 1;
}

.contact-map-popup-close:hover {
    background: rgba(20, 28, 40, 0.70);
    border-color: rgba(255, 255, 255, 0.52);
    color: #ffffff;
}


/* =========================================================
   INFORMACIÓN DE COMUNIDAD
   ========================================================= */

.contact-map-popup-community {
    position: relative;
    z-index: 2;

    min-width: 0;

    padding: 58px 38px 42px;

    border-right: 1px solid rgba(255, 255, 255, 0.12);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-map-popup-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(235, 240, 245, 0.60);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-map-popup-label::before {
    content: "";

    width: 18px;
    height: 1px;

    background: currentColor;
}

.contact-map-popup-community h3 {
    margin: 16px 0 0;

    color: #ffffff;

    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.contact-map-popup-community h3::after {
    content: "";

    display: block;

    width: 100%;
    max-width: 300px;
    height: 1px;

    margin-top: 10px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0)
        );
}

.contact-map-popup-count {
    margin: 20px 0 0;

    color: rgba(245, 247, 250, 0.72);

    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-map-popup-count::first-line {
    color: #ffffff;
}

.contact-map-popup-creators-button {
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;

    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 160ms ease,
        border-color 160ms ease;
}

.contact-map-popup-creators-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   SILUETA DE LA COMUNIDAD
   ========================================================= */

.contact-map-popup-silhouette {
    position: relative;
    z-index: 2;

    flex: 1;

    min-height: 190px;

    margin-top: 30px;
    padding: 24px 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    overflow: hidden;
}

.contact-map-popup-silhouette::before {
    content: "";

    position: absolute;

    inset: 8px 16px;

    box-sizing: border-box;

    background:
        linear-gradient(#fff, #fff) top left / 20px 2px no-repeat,
        linear-gradient(#fff, #fff) top left / 2px 20px no-repeat,

        linear-gradient(#fff, #fff) top right / 20px 2px no-repeat,
        linear-gradient(#fff, #fff) top right / 2px 20px no-repeat,

        linear-gradient(#fff, #fff) bottom left / 20px 2px no-repeat,
        linear-gradient(#fff, #fff) bottom left / 2px 20px no-repeat,

        linear-gradient(#fff, #fff) bottom right / 20px 2px no-repeat,
        linear-gradient(#fff, #fff) bottom right / 2px 20px no-repeat;

    pointer-events: none;

    opacity: 0.72;

    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}

.contact-map-popup-silhouette-image {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 220px;

    object-fit: contain;

    filter:
        invert(1)
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.35))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.16));

    opacity: 0.92;
}

/* =========================================================
   CREDENCIAL DEL CREADOR
   ========================================================= */

.contact-map-popup-creator {
    position: relative;
    z-index: 2;

    padding: 72px 38px 42px;
}


/* =========================================================
   MISMA CREDENCIAL QUE COMUNIDAD
   ========================================================= */

.contact-map-popup-creator .community-creator-card {
    position: relative;

    min-height: 430px;

    padding: 24px 22px 20px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    background:
        linear-gradient(
            145deg,
            rgba(235, 248, 252, 0.98),
            rgba(255, 255, 255, 0.98) 42%,
            rgba(225, 242, 248, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.95);

    border-radius: 5px 16px 5px 16px;

    box-shadow:
        0 22px 45px rgba(25, 35, 50, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(190, 210, 220, 0.55);

    overflow: hidden;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.community-creator-card .creator-avatar:has(img)::before,
.community-creator-card .creator-avatar:has(img)::after {
    display: none;
}

.contact-map-popup-creator .community-creator-card::before {
    content: "";

    position: absolute;
    inset: 7px;

    border-radius: 3px 12px 3px 12px;

    background: rgba(22, 143, 208, 0.94);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.62),
        inset 0 -1px 0 rgba(5, 75, 125, 0.38);

    pointer-events: none;
}

.contact-map-popup-creator .community-creator-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -100px;
    right: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(185, 245, 255, 0.34),
            rgba(55, 190, 225, 0.12) 32%,
            transparent 70%
        );

    opacity: 0.62;

    transition:
        opacity 220ms ease,
        transform 220ms ease;

    pointer-events: none;
}

.contact-map-popup-creator .community-creator-card:hover {
    transform: translateY(-8px);

    border-color: #ffffff;

    box-shadow:
        0 28px 55px rgba(25, 35, 50, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(190, 210, 220, 0.55),
        0 0 24px rgba(40, 175, 220, 0.16);
}

.contact-map-popup-creator .community-creator-card:hover::after {
    opacity: 0.85;
    transform: scale(1.25);
}

.contact-map-popup-creator .creator-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 18px;
    padding: 0;

    color: rgba(210, 242, 250, 0.72);

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.contact-map-popup-creator .creator-status {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.90),
        0 0 14px rgba(40, 190, 230, 0.52);
}

.contact-map-popup-creator .creator-avatar {
    position: relative;
    z-index: 2;

    width: 125px;
    height: 125px;

    margin: 28px auto 22px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(225, 252, 255, 0.78),
            rgba(65, 198, 230, 0.48)
        );

    box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 0 25px rgba(30, 190, 230, 0.22);

    overflow: hidden;

    color: rgba(255, 255, 255, 0.86);

    font-size: 2rem;
    font-weight: 700;
}

.creator-card .creator-avatar img {
    max-width: 78%;
    max-height: 78%;

    width: auto;
    height: auto;

    object-fit: contain;

    position: relative;
    z-index: 2;
}

.contact-map-popup-creator .creator-avatar::before,
.contact-map-popup-creator .creator-avatar::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 1px;

    background: rgba(255, 255, 255, 0.42);
}

.contact-map-popup-creator .creator-avatar::before {
    transform: rotate(45deg);
}

.contact-map-popup-creator .creator-avatar::after {
    transform: rotate(-45deg);
}

.contact-map-popup-creator .creator-card-content {
    position: relative;
    z-index: 2;

    padding: 0;

    text-align: center;
}

.contact-map-popup-creator .creator-type {
    display: block;

    color: rgba(220, 246, 252, 0.76);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-map-popup-creator .creator-card-content h3 {
    margin: 10px 0 0;

    color: #ffffff;

    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 700;

    text-shadow:
        0 1px 4px rgba(0, 105, 145, 0.28);
}

.contact-map-popup-creator .creator-card-content p {
    min-height: 62px;

    margin: 12px 0 0;

    color: rgba(235, 250, 255, 0.88);

    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 500;

    text-shadow:
        0 1px 3px rgba(0, 105, 145, 0.20);
}

.contact-map-popup-creator .creator-card-footer {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: auto;
    padding: 14px 0 0;

    border-top: 1px solid rgba(255, 255, 255, 0.42);

    background: transparent;

    color: rgba(8, 76, 102, 0.62);

    text-align: left;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-map-popup-creator .creator-card-platforms {
    display: flex;
    align-items: center;

    gap: 8px;
}

.contact-map-popup-creator .creator-platform-link {
    width: 26px;
    height: 26px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 5px;

    background: rgba(35, 175, 215, 0.24);

    color: rgba(255, 255, 255, 0.88);

    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.30);

    transition:
        color 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.contact-map-popup-creator .creator-platform-link:visited {
    color: rgba(255, 255, 255, 0.88);
}

.contact-map-popup-creator .creator-platform-link:hover {
    color: #ffffff;

    background: rgba(20, 145, 190, 0.42);

    border-color: rgba(255, 255, 255, 0.82);

    transform: translateY(-1px);
}

.contact-map-popup-creator .creator-platform-link i {
    font-size: 18px;
    line-height: 1;

    position: relative;
    left: 1px;
}

/* =========================================================
   CONTACTO + REDES
   ========================================================= */

.contact-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;

    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 40px 100px;

    align-items: start;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.contact-form,
.contact-social {
    padding: 34px;
    border: 1px solid var(--contact-border);
    border-radius: 24px;
    background: var(--contact-panel);
}

.contact-social {
    border: none;
    background: transparent;
    box-shadow: none;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;
}

.contact-form-field label {
    margin-bottom: 8px;

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.8;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid var(--contact-border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;

    font: inherit;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
    border-color: var(--contact-border-strong);
    background: rgba(255, 255, 255, 0.12);
}

.contact-form-field select {
    cursor: pointer;
}

.contact-form-field select option {
    color: #111111;
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 150px;
}


/* =========================================================
   ENVÍO + ESTADO
   ========================================================= */

.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 4px;
}

.contact-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 105px;
    min-height: 45px;

    padding: 12px 24px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;

    font: inherit;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.contact-form-submit:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.contact-form-submit:disabled {
    opacity: 0.60;
    cursor: wait;
}

.contact-form-status {
    min-height: 20px;

    margin: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.84rem;
    line-height: 1.4;
}

.contact-form-status:empty {
    visibility: hidden;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.contact-social .contact-section-header {
    text-align: left;
}

.contact-social .contact-section-header h2 {
    text-align: center;
}

.contact-social .contact-section-header::after {
    content: "";

    display: block;

    width: 100%;
    height: 1px;

    margin-top: 22px;

    background: var(--contact-border);
}

.contact-social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;

    margin-top: 26px;
    padding: 0;
}

.contact-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 88px;

    border: none;
    border-radius: 0;

    background: transparent;

    color: #ffffff;
    text-decoration: none;

    font-size: 2.8rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-social-link::after {
    content: attr(aria-label);

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.contact-social-link:hover {
    background: transparent;
    border-color: transparent;

    color: #b8f2ff;

    transform: translateY(-3px);
}

.contact-social-link:hover::after {
    color: #ffffff;
}

.contact-social-link i {
    line-height: 1;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .contact-map {
        display: none;
    }

    .contact-map-popup-panel {
        width: min(700px, 100%);
        grid-template-columns: 1fr;
    }

    .contact-map-popup-community {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);

        padding-bottom: 36px;
    }

    .contact-map-popup-creator {
        padding-top: 30px;
    }

}

@media (max-width: 767px) {

    .contact-map {
        display: none;
    }

    .contact-bottom {
        grid-template-columns: 1fr;
    }

    .contact-social-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 20px;
    }

}