/* =========================================================
   SOCIAL & GLAM
   Editorial · Moderno · Potente
========================================================= */

.social-page {
    --social-pink: #e93482;
    --social-pink-light: #f48db8;
    --social-plum: #240d1a;
    --social-silver: #d7d5da;
    --social-ink: #080708;
    background: var(--social-ink);
}

.social-page.lightbox-open {
    overflow: hidden;
}

/* HERO */

.social-hero {
    position: relative;
    min-height: 88svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #090809;
}

.social-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.social-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(8, 7, 8, 0.9) 0%,
            rgba(8, 7, 8, 0.08) 58%,
            rgba(8, 7, 8, 0.24) 100%
        ),
        linear-gradient(
            90deg,
            rgba(8, 7, 8, 0.5),
            transparent 64%
        );
}

.social-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 1450px);
    margin: 0 auto;
    padding: 135px 5% 58px;
}

.social-kicker {
    margin-bottom: 12px;
    color: var(--social-pink-light);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.social-hero__title {
    font-family: var(--font-title);
    font-size: clamp(4.6rem, 9vw, 9rem);
    font-weight: 400;
    line-height: 0.86;
    letter-spacing: -0.055em;
}

.social-hero__title span {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.social-hero__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 920px;
    margin-top: 22px;
}

.social-hero__bottom p {
    font-family: var(--font-title);
    font-size: clamp(1.15rem, 2vw, 1.9rem);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.58);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition:
        color var(--transition),
        border-color var(--transition);
}

.social-link:hover {
    color: var(--social-pink-light);
    border-color: var(--social-pink);
}

/* MANIFIESTO */

.social-intro {
    width: min(calc(100% - 10%), 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
    padding: 94px 0;
}

.social-intro__text h2 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 0.97;
    letter-spacing: -0.04em;
}

.social-intro__text > p:not(.social-kicker) {
    max-width: 580px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.8;
}

.social-intro__image {
    min-height: 600px;
    overflow: hidden;
    border-radius: 18px;
}

.social-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* HEADINGS */

.social-section-heading {
    width: min(100%, 1320px);
    margin: 0 auto 44px;
}

.social-section-heading h2 {
    max-width: 850px;
    font-family: var(--font-title);
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 0.97;
    letter-spacing: -0.04em;
}

/* GALERÍA EDITORIAL */

.social-editorial-gallery {
    padding: 72px 5% 88px;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(233, 52, 130, 0.09),
            transparent 30%
        ),
        #0b080a;
}

.social-editorial-grid {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 105px;
    gap: 14px;
}

.social-editorial-card {
    grid-column: span 4;
    grid-row: span 4;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #171315;
    cursor: zoom-in;
}

.social-editorial-card--large {
    grid-column: span 7;
    grid-row: span 7;
}

.social-editorial-card--wide {
    grid-column: span 5;
    grid-row: span 3;
}

.social-editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.9s ease,
        filter 0.9s ease;
}

.social-editorial-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

/* SERVICIOS */

.social-services {
    padding: 74px 5% 92px;
}

.social-services__grid {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.social-service {
    min-height: 245px;
    padding: 30px;
    border: 1px solid rgba(233, 52, 130, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(233, 52, 130, 0.04)
        );
}

.social-service span {
    color: var(--social-pink-light);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.social-service h3 {
    margin: 18px 0 14px;
    font-family: var(--font-title);
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 400;
    line-height: 1;
}

.social-service p {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* CARRUSEL */

.social-carousel-section {
    padding: 74px 0 82px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(233, 52, 130, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #080708 0%,
            #120913 50%,
            #080708 100%
        );
}

.social-carousel-section .social-section-heading {
    padding-inline: 5%;
}

.social-carousel {
    position: relative;
    width: min(100%, 1450px);
    margin: 0 auto;
}

.social-carousel__viewport {
    overflow: hidden;
    padding: 0 5%;
}

.social-carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.social-carousel__track::-webkit-scrollbar {
    display: none;
}

.social-carousel__slide {
    flex: 0 0 clamp(270px, 29vw, 420px);
    height: clamp(390px, 44vw, 600px);
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #171315;
    cursor: zoom-in;
    scroll-snap-align: center;
}

.social-carousel__slide:nth-child(even) {
    height: clamp(350px, 40vw, 550px);
    margin-top: 32px;
}

.social-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.9s ease,
        filter 0.9s ease;
}

.social-carousel__slide:hover img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

.social-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 141, 184, 0.48);
    border-radius: 50%;
    background: rgba(8, 7, 8, 0.72);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

.social-carousel__arrow:hover {
    color: var(--social-pink-light);
    border-color: var(--social-pink);
}

.social-carousel__arrow--prev {
    left: 18px;
}

.social-carousel__arrow--next {
    right: 18px;
}

.social-carousel__hint {
    margin-top: 20px;
    padding-inline: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

/* BLOQUE FINAL */

.social-story {
    width: min(calc(100% - 10%), 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    overflow: hidden;
    border-radius: 18px;
    background: #f5eff3;
    color: #1a1418;
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.25);
}

.social-story__image {
    min-height: 560px;
    overflow: hidden;
}

.social-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-story__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 8%;
}

.social-story__content .social-kicker {
    color: #b32a67;
}

.social-story__content h2 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.social-story__content > p:not(.social-kicker) {
    margin-top: 20px;
    color: rgba(26, 20, 24, 0.64);
    line-height: 1.8;
}

/* CTA */

.social-contact {
    margin-top: 34px;
}

.social-contact .contact__background-text {
    color: rgba(233, 52, 130, 0.055);
}

.social-contact .contact__eyebrow {
    color: var(--social-pink-light);
}

/* LIGHTBOX */

.social-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(3, 3, 3, 0.96);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.social-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.social-lightbox__figure {
    width: min(82vw, 1100px);
    height: min(84vh, 860px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-lightbox__figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-lightbox__close,
.social-lightbox__arrow {
    position: absolute;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(244, 141, 184, 0.42);
    border-radius: 50%;
    background: rgba(8, 7, 8, 0.58);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.social-lightbox__close {
    top: 20px;
    right: 24px;
    font-size: 1.9rem;
}

.social-lightbox__close:hover,
.social-lightbox__arrow:hover {
    color: var(--social-pink-light);
    border-color: var(--social-pink);
}

.social-lightbox__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.social-lightbox__arrow--prev {
    left: 24px;
}

.social-lightbox__arrow--next {
    right: 24px;
}

.social-lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    transform: translateX(-50%);
}

/* TABLET */

@media (max-width: 1050px) {

    .social-intro,
    .social-story {
        width: calc(100% - 42px);
        grid-template-columns: 1fr;
    }

    .social-intro__image,
    .social-story__image {
        min-height: 500px;
    }

    .social-services__grid {
        grid-template-columns: 1fr;
    }

    .social-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 320px;
    }

    .social-editorial-card,
    .social-editorial-card--large,
    .social-editorial-card--wide {
        grid-column: auto;
        grid-row: auto;
    }
}

/* MÓVIL */

@media (max-width: 720px) {

    .social-hero {
        min-height: 74svh;
    }

    .social-hero__content {
        padding: 108px 21px 40px;
    }

    .social-hero__title {
        font-size: clamp(3.7rem, 15vw, 5.6rem);
    }

    .social-hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 16px;
    }

    .social-hero__bottom p {
        font-size: 1.16rem;
    }

    .social-intro {
        width: 100%;
        display: block;
        padding: 56px 21px 48px;
    }

    .social-intro__text h2 {
        max-width: 330px;
        font-size: clamp(2.35rem, 9.5vw, 3.4rem);
    }

    .social-intro__text > p:not(.social-kicker) {
        margin-top: 16px;
        font-size: 0.85rem;
        line-height: 1.65;
    }

    .social-intro__image {
        min-height: 260px;
        max-height: 300px;
        margin-top: 28px;
        border-radius: 10px;
    }

    .social-editorial-gallery {
        padding: 44px 15px 54px;
    }

    .social-section-heading {
        margin-bottom: 22px;
    }

    .social-section-heading h2 {
        max-width: 320px;
        font-size: clamp(2.2rem, 8.5vw, 2.95rem);
        line-height: 1.03;
    }

    .social-editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 205px;
        gap: 8px;
    }

    .social-editorial-card {
        border-radius: 7px;
    }

    .social-services {
        padding: 42px 18px 50px;
    }

    .social-services__grid {
        gap: 11px;
    }

    .social-service {
        min-height: auto;
        padding: 21px;
        border-radius: 11px;
    }

    .social-service span {
        font-size: 0.54rem;
    }

    .social-service h3 {
        margin: 12px 0 9px;
        font-size: clamp(1.85rem, 7.7vw, 2.45rem);
    }

    .social-service p {
        font-size: 0.81rem;
        line-height: 1.55;
    }

    .social-carousel-section {
        padding: 38px 0 48px;
    }

    .social-carousel-section .social-section-heading {
        padding-inline: 21px;
    }

    .social-carousel__viewport {
        padding: 0 21px;
    }

    .social-carousel__track {
        gap: 10px;
    }

    .social-carousel__slide {
        flex-basis: 76vw;
        height: 420px;
        border-radius: 9px;
    }

    .social-carousel__slide:nth-child(even) {
        height: 390px;
        margin-top: 17px;
    }

    .social-carousel__arrow {
        width: 42px;
        height: 42px;
    }

    .social-carousel__arrow--prev {
        left: 8px;
    }

    .social-carousel__arrow--next {
        right: 8px;
    }

    .social-carousel__hint {
        font-size: 0.53rem;
    }

    .social-story {
        width: calc(100% - 30px);
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .social-story__image {
        min-height: 225px;
        max-height: 250px;
    }

    .social-story__content {
        padding: 31px 22px;
    }

    .social-story__content h2 {
        max-width: 295px;
        font-size: clamp(2.05rem, 8.3vw, 2.9rem);
        line-height: 1.04;
    }

    .social-story__content > p:not(.social-kicker) {
        margin-top: 14px;
        font-size: 0.82rem;
        line-height: 1.62;
    }

    .social-contact {
        margin-top: 18px;
    }

    .social-contact.contact--cta {
        padding: 42px 21px 46px;
    }

    .social-contact .contact__title {
        max-width: 330px;
        margin: 0 auto 22px;
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.02;
    }

    .social-contact .contact__button {
        min-width: 182px;
        height: 42px;
        padding: 0 17px;
        gap: 10px;
        font-size: 0.54rem;
    }

    .social-lightbox {
        padding: 12px;
    }

    .social-lightbox__figure {
        width: 100%;
        height: 78vh;
    }

    .social-lightbox__close,
    .social-lightbox__arrow {
        width: 42px;
        height: 42px;
    }

    .social-lightbox__close {
        top: 12px;
        right: 12px;
    }

    .social-lightbox__arrow--prev {
        left: 10px;
    }

    .social-lightbox__arrow--next {
        right: 10px;
    }
}

@media (max-width: 430px) {

    .social-carousel__slide {
        flex-basis: 82vw;
        height: 390px;
    }

    .social-carousel__slide:nth-child(even) {
        height: 365px;
    }
}


/* =========================================================
   SOCIAL & GLAM — HERO COMPLETO EN LA PRIMERA PANTALLA
   SOLO MÓVIL
========================================================= */

@media (max-width: 720px) {

    .social-hero {
        min-height: 100svh;
        height: 100svh;
        max-height: 100svh;

        display: flex;
        align-items: flex-end;

        overflow: hidden;
    }

    .social-hero__content {
        width: 100%;

        padding:
            100px
            21px
            36px;
    }

    .social-hero .social-kicker {
        margin-bottom: 9px;

        font-size: 0.52rem;
        line-height: 1.4;
        letter-spacing: 0.18em;
    }

    .social-hero__title {
        max-width: 100%;

        margin: 0;

        font-size: clamp(3.2rem, 13vw, 4.8rem);
        line-height: 0.88;
        letter-spacing: -0.05em;
    }

    .social-hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;

        margin-top: 14px;
    }

    .social-hero__bottom p {
        max-width: 290px;

        font-size: 1rem;
        line-height: 1.38;
    }

    .social-link {
        font-size: 0.54rem;
    }

    /* La siguiente sección comienza después del hero */

    .social-intro {
        margin-top: 0;
        padding-top: 56px;
    }
}

@media (max-width: 390px) {

    .social-hero__content {
        padding:
            94px
            18px
            31px;
    }

    .social-hero__title {
        font-size: clamp(2.9rem, 12.5vw, 4rem);
    }

    .social-hero__bottom p {
        max-width: 260px;

        font-size: 0.9rem;
        line-height: 1.36;
    }
}

/* =========================================================
   SOCIAL & GLAM — ENFOQUE DE LA FOTO HERO EN MÓVIL
========================================================= */

@media (max-width: 720px) {

    .social-hero__image {
        object-fit: cover;
        object-position: 72% center;
    }
}


@media (max-width: 390px) {

    .social-hero__image {
        object-position: 80% center;
    }
}

/* =========================================================
   CURSOR SOCIAL · PC
   No depende de pointer:fine porque algunos portátiles
   táctiles identifican el puntero principal como coarse.
========================================================= */

@media (min-width: 721px) {

    .social-page.has-mouse,
    .social-page.has-mouse a,
    .social-page.has-mouse button,
    .social-page.has-mouse input,
    .social-page.has-mouse textarea,
    .social-page.has-mouse select,
    .social-page.has-mouse label {
        cursor: none !important;
    }

    .social-page .cursor-dot,
    .social-page .cursor-outline {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        display: block !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none !important;
        z-index: 2147483647 !important;
        transform: translate(-50%, -50%) !important;
    }

    .social-page.has-mouse .cursor-dot,
    .social-page.has-mouse .cursor-outline {
        visibility: visible !important;
        opacity: 1 !important;
    }

    .social-page .cursor-dot {
        width: 9px !important;
        height: 9px !important;
        border-radius: 50% !important;
        background: #ff4fa3 !important;
        box-shadow: 0 0 14px rgba(255, 79, 163, 0.85) !important;
    }

    .social-page .cursor-outline {
        width: 36px !important;
        height: 36px !important;
        border: 1px solid rgba(255, 121, 184, 0.95) !important;
        border-radius: 50% !important;
        background: rgba(255, 79, 163, 0.06) !important;
    }

    .social-page.cursor-hover .cursor-outline {
        width: 50px !important;
        height: 50px !important;
        background: rgba(255, 79, 163, 0.14) !important;
    }
}

@media (max-width: 720px) {
    .social-page .cursor-dot,
    .social-page .cursor-outline {
        display: none !important;
    }
}
