@charset "UTF-8";
/**
 * app-download-widget.css — Widget "Descarga de App" (Elementor)
 * Botones tipo badge para Google Play y App Store. Enlaces configurables
 * desde el panel del widget. Consume tokens del tema.
 */

.bn-appdl {
    --bn-appdl-btn-bg: #111111;
    --bn-appdl-btn-text: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
    border-radius: 28px;
    background: var(--bn-color-surface, #ffffff);
    border: 1px solid var(--bn-color-border-soft, #dce4e8);
    box-shadow: 0 24px 60px rgba(0, 34, 46, 0.08);
}

/* Icono decorativo sobre el título — color sólido de marca */
.bn-appdl::before {
    content: "\f3cd"; /* fa-mobile-screen-button */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 2.4rem;
    color: #fff;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: var(--e-global-color-primary, #E74F08);
    box-shadow: 0 12px 26px rgba(231, 79, 8, 0.28);
}

.bn-appdl__heading {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    font-family: var(--e-global-typography-primary-font-family, 'Montserrat', sans-serif);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: var(--bn-color-surface-dark, #00222E);
    line-height: 1.12;
}

/* Barra de acento sólida bajo el título (patrón del footer) */
.bn-appdl__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: var(--e-global-color-primary, #E74F08);
}

.bn-appdl__subheading {
    margin: 0;
    max-width: 44ch;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.55;
    color: var(--bn-color-text-muted, #61747d);
}

.bn-appdl__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}
/* Hereda la alineación elegida en el control para los botones */
.bn-appdl[style*="align-items: flex-start"] .bn-appdl__buttons { justify-content: flex-start; }
.bn-appdl[style*="align-items: flex-end"]   .bn-appdl__buttons { justify-content: flex-end; }

.bn-appdl__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    min-width: 180px;
    border-radius: 12px;
    background-color: var(--bn-appdl-btn-bg);
    color: var(--bn-appdl-btn-text);
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(.25,.8,.25,1),
                box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
}

.bn-appdl__btn i {
    font-size: 1.9rem;
    line-height: 1;
}

.bn-appdl__btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.bn-appdl__btn-small {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    opacity: 0.85;
}

.bn-appdl__btn-big {
    font-size: 1.15rem;
    font-weight: 600;
}

.bn-appdl__btn:hover,
.bn-appdl__btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Accesibilidad: foco visible por teclado */
.bn-appdl__btn:focus-visible {
    outline: 3px solid var(--e-global-color-secondary, #006c94);
    outline-offset: 3px;
}

/* Respeta usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
    .bn-appdl__btn { transition: none; }
    .bn-appdl__btn:hover,
    .bn-appdl__btn:focus-visible { transform: none; }
}

@media (max-width: 480px) {
    .bn-appdl__buttons { flex-direction: column; width: 100%; }
    .bn-appdl__btn { width: 100%; justify-content: center; }
}
