/* ═══════════════════════════════════════════════════════════
   Armonía – Testimonios y Reseñas  v1.1.0
   Los tamaños y colores se inyectan dinámicamente desde
   los ajustes del plugin (armt_dynamic_css).
   Este archivo sólo define la estructura y el layout.
═══════════════════════════════════════════════════════════ */

/* ── Sección ───────────────────────────────────────────── */
.armt-section {
    width: 100%;
    padding: 60px 20px;
    box-sizing: border-box;
    font-family: inherit;
}

/* ── Cabecera ──────────────────────────────────────────── */
.armt-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.armt-titulo {
    /* color y font-size inyectados dinámicamente */
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    padding: 0;
}
.armt-subtitulo {
    /* color y font-size inyectados dinámicamente */
    line-height: 1.6;
    margin: 0;
}

/* ── Slider ────────────────────────────────────────────── */
.armt-slider-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}
.armt-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    align-items: stretch;
}

/* ── Tarjeta ───────────────────────────────────────────── */
.armt-card {
    /* background, border-color, border-radius y padding inyectados dinámicamente */
    border: 1px solid;
    box-sizing: border-box;
    flex: 0 0 calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s;
}
.armt-card:hover {
    box-shadow: 0 8px 28px rgba(61,46,110,.10);
}

/* ── Estrellas ─────────────────────────────────────────── */
.armt-stars {
    display: flex;
    gap: 3px;
    line-height: 1;
}
.armt-star {
    /* font-size inyectado dinámicamente */
}
.armt-star.empty {
    color: #ddd;
}

/* ── Texto del testimonio  (FIX: !important sobreescribe tema) */
.armt-texto,
.armt-texto p,
.armt-texto * {
    /* color y font-size inyectados dinámicamente con !important via inline style */
    line-height: 1.7 !important;
    margin-top: 0 !important;
    margin-bottom: 0.5em !important;
    font-family: inherit !important;
}
.armt-texto {
    flex: 1;
}
.armt-texto p:first-child {
    margin-top: 0 !important;
}
.armt-texto p:last-child {
    margin-bottom: 0 !important;
}

/* ── Autor ─────────────────────────────────────────────── */
.armt-autor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.07);
}
.armt-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3D2E6E, #7B5EA7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    overflow: hidden;
}
.armt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.armt-autor-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.armt-autor-info strong {
    /* color y font-size inyectados dinámicamente */
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.armt-autor-info span {
    /* color y font-size inyectados dinámicamente */
    display: block;
}
.armt-google-badge {
    margin-left: auto;
    flex-shrink: 0;
    opacity: .7;
}

/* ── Botones prev/next ─────────────────────────────────── */
.armt-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #fff;
    border: 1.5px solid #e0d9f5;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
    color: #3D2E6E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: background .2s, box-shadow .2s;
    padding: 0;
}
.armt-btn:hover {
    background: #f3eeff;
    box-shadow: 0 4px 14px rgba(61,46,110,.18);
}
.armt-btn-prev { left: -22px; }
.armt-btn-next { right: -22px; }
.armt-btn[disabled] { opacity: 0.35; cursor: default; }

/* ── Dots ──────────────────────────────────────────────── */
.armt-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}
.armt-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d0c9ea;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.armt-dot.active {
    background: #3D2E6E;
    transform: scale(1.25);
}

/* ── Botón Google ──────────────────────────────────────── */
.armt-google-link {
    text-align: center;
    margin-top: 36px;
}
.armt-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #e0d9f5;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3D2E6E;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.armt-google-btn:hover {
    border-color: #3D2E6E;
    background: #f3eeff;
    box-shadow: 0 4px 16px rgba(61,46,110,.14);
    color: #3D2E6E;
    text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .armt-card { flex: 0 0 calc(50% - 10px); }
    .armt-btn-prev { left: -16px; }
    .armt-btn-next { right: -16px; }
}
@media (max-width: 600px) {
    .armt-section { padding: 40px 16px; }
    .armt-card { flex: 0 0 100%; }
    .armt-btn-prev { left: -12px; }
    .armt-btn-next { right: -12px; }
}
