

/* =========================================
   CONTACTO · LI STUDIO LI
========================================= */

.li-contacto-wrap {
    --li-verde: #a8df6b;
    --li-lila: #b58cff;
    --li-azul: #668cff;
    --li-oscuro: #172b4d;
    --li-texto: #657087;

    max-width: 1150px;
    margin: 0 auto;
    padding: 70px 25px 100px;

    font-family: "Nunito", sans-serif;
    color: var(--li-oscuro);
}


/* =========================================
   INTRODUCCIÓN
========================================= */

.li-contacto-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.li-contacto-etiqueta {
    display: inline-block;
    margin-bottom: 15px;

    color: #8c6cff;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.li-contacto-intro h2 {
    margin: 0 0 18px;

    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;

    color: var(--li-oscuro);
}

.li-contacto-intro p {
    max-width: 600px;
    margin: 0 auto;

    color: var(--li-texto);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================
   DOS COLUMNAS
========================================= */

.li-contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}


/* =========================================
   TARJETA DE DATOS
========================================= */

.li-contacto-datos {
    position: relative;
    overflow: hidden;

    padding: 38px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(181, 140, 255, .19) 0 115px,
            transparent 116px
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f6f8ef
        );

    border: 1px solid rgba(181, 140, 255, .25);
    border-radius: 34px;

    box-shadow: 0 20px 45px rgba(23, 43, 77, .08);
}

.li-contacto-mini-etiqueta {
    display: inline-block;
    margin-bottom: 18px;

    padding: 9px 14px;

    background: rgba(168, 223, 107, .23);
    border-radius: 25px;

    color: #587b39;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.li-contacto-datos h3 {
    margin: 0 0 15px;

    font-family: "Geomanist", Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.2;
}

.li-contacto-descripcion {
    margin: 0 0 27px;

    color: var(--li-texto);
    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================
   ELEMENTOS DE CONTACTO
========================================= */

.li-contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 14px;
    padding: 15px;

    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(181, 140, 255, .13);
    border-radius: 20px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.li-contacto-item:hover {
    transform: translateX(5px);

    box-shadow: 0 8px 22px rgba(23, 43, 77, .07);
}

.li-contacto-icono {
    flex: 0 0 45px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf8df;
    color: #648d43;

    border-radius: 15px;
    font-size: 23px;
}

.li-contacto-icono.lila {
    background: #f1e8ff;
    color: #8c6cff;
}

.li-contacto-icono.azul {
    background: #e8efff;
    color: #668cff;
}

.li-contacto-texto {
    min-width: 0;
}

.li-contacto-texto strong {
    display: block;
    margin-bottom: 4px;

    font-size: .98rem;
    color: var(--li-oscuro);
}

.li-contacto-texto span {
    display: block;

    color: var(--li-texto);
    font-size: .9rem;
    line-height: 1.5;
}


/* =========================================
   BOTÓN PRINCIPAL
========================================= */

.li-contacto-boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-top: 15px;
    padding: 15px 24px;

    background: linear-gradient(
        100deg,
        #a8df6b,
        #b8e77e 45%,
        #b58cff
    );

    color: #172b4d;
    text-decoration: none;
    font-weight: 800;

    border-radius: 35px;
    box-shadow: 0 9px 22px rgba(55, 70, 90, .14);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.li-contacto-boton:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 28px rgba(55, 70, 90, .2);
}

.li-contacto-boton span {
    font-size: 1.2rem;
}


/* =========================================
   TARJETA GIRATORIA
========================================= */

.li-contacto-flip-area {
    min-width: 0;
    min-height: 530px;
    perspective: 1200px;
}

.li-contacto-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.li-contacto-flip-card {
    position: relative;
    width: 100%;
    height: 530px;

    transform-style: preserve-3d;
    transition: transform .8s cubic-bezier(.2, .75, .25, 1);
}

.li-contacto-checkbox:checked
~ .li-contacto-flip-card {
    transform: rotateY(180deg);
}


/* =========================================
   CARAS
========================================= */

.li-contacto-cara {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    padding: 35px 30px;

    text-align: center;

    border-radius: 35px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow: 0 20px 45px rgba(23, 43, 77, .1);
}

.li-contacto-frente {
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(168, 223, 107, .3) 0 85px,
            transparent 86px
        ),
        linear-gradient(145deg, #ffffff, #f1f7e9);

    border: 1px solid rgba(168, 223, 107, .65);
}

.li-contacto-reverso {
    transform: rotateY(180deg);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(181, 140, 255, .28) 0 95px,
            transparent 96px
        ),
        linear-gradient(145deg, #ffffff, #f4edff);

    border: 1px solid rgba(181, 140, 255, .5);
}


/* =========================================
   PLANETA Y DECORACIÓN
========================================= */

.li-contacto-planeta {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 155px;
    height: 155px;
    margin-bottom: 22px;

    background: #ffffff;
    border: 1px solid rgba(181, 140, 255, .2);
    border-radius: 50%;

    box-shadow: 0 12px 30px rgba(23, 43, 77, .1);
}

.li-contacto-planeta img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.li-contacto-sobretexto {
    margin-bottom: 12px;

    color: #8c6cff;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.li-contacto-cara h3 {
    margin: 0 0 15px;

    font-family: "Geomanist", Arial, sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.li-contacto-cara p {
    max-width: 340px;
    margin: 0 0 25px;

    color: var(--li-texto);
    font-size: .98rem;
    line-height: 1.8;
}

.li-contacto-deco {
    position: absolute;
    pointer-events: none;
    opacity: .75;
}

.li-contacto-deco.deco-uno {
    top: 25px;
    left: 25px;
    color: #8c6cff;
    font-size: 30px;
}

.li-contacto-deco.deco-dos {
    top: 35px;
    right: 28px;
    color: #8c6cff;
    font-size: 35px;
}

.li-contacto-deco.deco-tres {
    right: 22px;
    bottom: 25px;
    color: #8bbd61;
    font-size: 38px;
}

.li-contacto-reverso-icono {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;
    margin-bottom: 22px;

    background: #ffffff;
    border-radius: 28px;

    font-size: 45px;
    box-shadow: 0 10px 25px rgba(23, 43, 77, .08);
}


/* =========================================
   BOTONES DE LA TARJETA
========================================= */

/* =========================================
   CONTACTO · BOTONES DE LA TARJETA GIRATORIA
========================================= */

.li-contacto-girar,
.li-contacto-volver {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 13px 24px;
    border: none;
    border-radius: 30px;

    background: linear-gradient(
        110deg,
        #6bd9df,
        #7eb9e7,
        #b58cff
    );

    color: #172b4d;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    box-shadow: 0 8px 22px rgba(23, 43, 77, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.li-contacto-girar:hover,
.li-contacto-volver:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(23, 43, 77, 0.18);
    filter: brightness(1.04);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

    .li-contacto-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .li-contacto-flip-area {
        min-height: 490px;
    }

    .li-contacto-flip-card {
        height: 490px;
    }
}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 520px) {

    .li-contacto-wrap {
        padding: 45px 15px 65px;
    }

    .li-contacto-intro {
        margin-bottom: 32px;
    }

    .li-contacto-intro h2 {
        font-size: 2rem;
    }

    .li-contacto-intro p {
        font-size: .98rem;
    }

    .li-contacto-datos {
        padding: 25px 18px;
        border-radius: 27px;
    }

    .li-contacto-datos h3 {
        font-size: 1.7rem;
    }

    .li-contacto-item {
        gap: 12px;
        padding: 13px 11px;
    }

    .li-contacto-icono {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .li-contacto-texto span {
        font-size: .84rem;
    }

    .li-contacto-boton {
        width: 100%;
        box-sizing: border-box;
    }

    .li-contacto-flip-area {
        min-height: 460px;
    }

    .li-contacto-flip-card {
        height: 460px;
    }

    .li-contacto-cara {
        padding: 28px 20px;
        border-radius: 28px;
    }

    .li-contacto-planeta {
        width: 125px;
        height: 125px;
        margin-bottom: 20px;
    }

    .li-contacto-cara h3 {
        font-size: 1.65rem;
    }

    .li-contacto-cara p {
        font-size: .91rem;
        line-height: 1.7;
    }
}
/* Ajuste de espacio para el header fijo */

.li-contacto-wrap {
    padding-top: 180px;
}

@media (max-width: 900px) {
    .li-contacto-wrap {
        padding-top: 115px;
    }
}

@media (max-width: 520px) {
    .li-contacto-wrap {
        padding-top: 100px;
    }
}