@charset "utf-8";

/* ======================================================
   QR ADICIONAL — UN LUGAR
   Exclusivo para contacto.html
====================================================== */

.qr-un-lugar {
    width: 100%;
    max-width: 320px;
    margin: 22px auto;
    padding: 12px;
    box-sizing: border-box;
    text-align: center;
    border-top: 1px solid rgba(214, 184, 92, .35);
}

.qr-un-lugar h2 {
    margin: 0 0 10px;
    color: #d6b85c;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.qr-un-lugar img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #d6b85c;
    border-radius: 6px;
    background: #fff;
}

.qr-un-lugar small {
    display: block;
    margin: 9px auto 0;
    color: #bdb7a3;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 360px) {
    .qr-un-lugar {
        padding: 10px 4px;
    }

    .qr-un-lugar img {
        width: 200px;
    }
}

/* ======================================================
   LUZ DINÁMICA ALREDEDOR DE LA TARJETA
   Mouse, teclado y pantalla táctil
====================================================== */

.card {
    position: relative;
    isolation: isolate;
    transition:
        box-shadow .35s ease,
        border-color .35s ease,
        filter .35s ease;
    --luz-cyber: rgba(214, 184, 92, .48);
    box-shadow:
        0 0 0 1px rgba(214, 184, 92, .12),
        0 0 12px rgba(214, 184, 92, .12);
}

.card::before {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(214, 184, 92, .78),
        rgba(28, 172, 233, .62),
        rgba(135, 92, 214, .65),
        rgba(214, 184, 92, .78)
    );
    opacity: .22;
    filter: blur(13px);
    transition: opacity .35s ease, filter .35s ease;
}

.card:hover,
.card:focus-within {
    --luz-cyber: rgba(214, 184, 92, .72);
    border-color: rgba(214, 184, 92, .85);
    box-shadow:
        0 0 0 1px rgba(214, 184, 92, .35),
        0 0 14px rgba(214, 184, 92, .48),
        0 0 32px rgba(214, 184, 92, .28),
        0 0 54px rgba(28, 172, 233, .15);
}

.card:hover::before,
.card:focus-within::before {
    opacity: .78;
    filter: blur(17px);
}

/* Al presionar con el dedo o el mouse, cambia a azul eléctrico */
.card:active {
    border-color: rgba(28, 172, 233, .95);
    box-shadow:
        0 0 0 1px rgba(28, 172, 233, .45),
        0 0 16px rgba(28, 172, 233, .65),
        0 0 34px rgba(28, 172, 233, .36),
        0 0 52px rgba(135, 92, 214, .2);
}

.card:active::before {
    opacity: .95;
    filter: blur(19px);
    background: linear-gradient(
        135deg,
        rgba(28, 172, 233, .9),
        rgba(135, 92, 214, .78),
        rgba(214, 184, 92, .68),
        rgba(28, 172, 233, .9)
    );
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .card::before {
        transition: none;
    }
}


/* ======================================================
   ANCHO DE LA TARJETA DE PRESENTACIÓN
   Mantener el tamaño original: 430 px, no 600 px.
====================================================== */

/* TARJETA DE PRESENTACIÓN — ANCHO ORIGINAL */

.card {
    width: 430px;
    max-width: calc(100% - 24px);
    margin: 20px auto;
    box-sizing: border-box;
}

/* En móviles, ocupar solo el ancho disponible */
@media (max-width: 480px) {
    .card {
        width: 100%;
        max-width: 430px;
    }
}
