/* Liam Destacados — CSS estructural base.
   Colores, tipografía, tamaños y espaciados específicos se inyectan
   por instancia desde los controles de Elementor (Style tab). */

.lqd-destacados * { box-sizing: border-box; }

/* Tipografía por defecto (línea gráfica Liam) — cualquier control de
   tipografía de Elementor que el usuario configure sobrescribe esto. */
.lqd-destacados,
.lqd-btn { font-family: 'Poppins', sans-serif; }
.lqd-eyebrow,
.lqd-heading,
.lqd-fcard-title,
.lqd-fcard-cat,
.lqd-fcard-note,
.lqd-ribbon,
.lqd-stamp { font-family: 'Barlow Condensed', sans-serif; }

.lqd-fcards-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.lqd-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lqd-eyebrow::before,
.lqd-eyebrow::after {
    content: "";
    width: 22px;
    height: 2px;
    display: inline-block;
}

.lqd-heading { margin: 0 0 12px; line-height: 1.05; }
.lqd-subheading { margin: 0; line-height: 1.6; }

.lqd-fcards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
}

.lqd-fcard {
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.lqd-fcard.lqd-hover-lift:hover {
    transform: translateY(-6px) !important;
}

.lqd-ribbon {
    position: absolute;
    top: 22px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    white-space: nowrap;
}
.lqd-ribbon-left {
    left: -38px;
    transform: rotate(-45deg);
}
.lqd-ribbon-right {
    right: -38px;
    transform: rotate(45deg);
}

.lqd-fcard-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lqd-fcard-media img {
    max-height: 90%;
    object-fit: contain;
    transition: transform .35s ease;
}
.lqd-fcard-media.lqd-zoom-hover:hover img,
.lqd-fcard:hover .lqd-fcard-media.lqd-zoom-hover img {
    transform: scale(1.06);
}

.lqd-fcard-noimg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(30,33,31,0.35);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
}
.lqd-fcard-noimg svg { width: 32px !important; height: 32px !important; flex-shrink: 0; }

.lqd-stamp {
    position: absolute;
    bottom: 16px;
    right: 16px;
    border-width: 2px;
    border-style: solid;
    border-color: currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    backdrop-filter: blur(2px);
}

.lqd-fcard-body { position: relative; }

.lqd-fcard-note {
    text-transform: uppercase;
}

.lqd-fcard-title,
.lqd-fcard-subtitle,
.lqd-fcard-desc {
    margin: 0 0 12px;
}

.lqd-fcard-desc-wrap { margin: 0 0 12px; }
.lqd-fcard-desc-wrap .lqd-fcard-desc { margin: 0; }

.lqd-fcard-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.lqd-fcard-desc.lqd-desc-expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    overflow: visible;
}

.lqd-desc-toggle {
    all: unset;
    display: none;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lqd-desc-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.lqd-fcard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(30,33,31,0.1);
    margin-top: 22px;
}

.lqd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.lqd-btn:hover { transform: translateY(-2px); }
.lqd-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.lqd-fcard-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lqd-fcard-btns-inline {
    margin: 0 0 12px;
}

.lqd-fcard-btns-row {
    margin-top: 14px;
}

.lqd-btn-overlay {
    position: absolute;
    z-index: 4;
}
.lqd-pos-top-left { top: 16px; left: 16px; }
.lqd-pos-top-right { top: 16px; right: 16px; }
.lqd-pos-bottom-left { bottom: 16px; left: 16px; }
.lqd-pos-bottom-right { bottom: 16px; right: 16px; }

.lqd-below {
    text-align: center;
    margin-top: 44px;
}
.lqd-below-prefix {
    margin: 0 0 14px;
    opacity: .8;
}
.lqd-below-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid currentColor;
    background: transparent;
    transition: background-color .2s ease, color .2s ease;
}
.lqd-below-btn-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* El número de columnas por dispositivo ahora se controla desde
   Elementor (Contenido → Tarjetas → Columnas, con iconos de
   escritorio/tablet/móvil) — no forzamos aquí ningún valor fijo. */
