/* ── Howes Realty Reviews v2.0 ── */

.howes-reviews-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    font-family: 'Nunito', 'Open Sans', sans-serif;
}

.howes-reviews-header {
    margin-bottom: 40px;
}

.howes-reviews-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ea723d;
    margin-bottom: 8px;
}

.howes-reviews-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0 0 12px;
    line-height: 1.25;
    font-family: inherit;
}

.howes-reviews-sub {
    font-size: 15px;
    color: #888;
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.6;
}

/* ── Carousel wrapper ── */
.howes-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.howes-carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.howes-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    align-items: stretch;
}

/* ── Card ── */
.howes-review-card {
    /* width calculated by JS via --howes-visible CSS var */
    flex: 0 0 var(--howes-card-width, calc(33.333% - 14px));
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 36px 32px 32px;   /* ← más espacio interno */
    text-align: left;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s, transform 0.25s;
    display: flex;
    flex-direction: column;
}

.howes-review-card:hover {
    box-shadow: 0 6px 28px rgba(26,58,107,0.13);
    transform: translateY(-3px);
}

/* ── Card header: foto + nombre + cargo ── */
.howes-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.howes-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: #e8edf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #1a3a6b;
    border: none;
}

.howes-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ← nombre sin margen inferior → cargo queda pegado */
.howes-client-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a6b;
    margin: 0;          /* eliminado el margin-bottom */
    line-height: 1.2;
    font-family: inherit;
}

.howes-client-role {
    font-size: 13px;
    color: #999;
    margin: 2px 0 0 0;  /* mínimo para separación visual */
    line-height: 1.3;
    font-family: inherit;
}

/* ── Firma / Signature SVG (si la hay) ── */
.howes-signature {
    height: 18px;
    opacity: 0.5;
    display: block;
    margin-top: 2px;
}

/* ── Estrellas ── */
.howes-stars {
    color: #f5a623;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1;
}

/* ── Texto del review ── */
.howes-review-text {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
    font-style: normal;
    flex: 1;
}

/* ── Botones de navegación ── */
.howes-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #dde3ef;
    background: #fff;
    color: #1a3a6b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    padding: 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.howes-nav-btn:hover {
    background: #1a3a6b;
    border-color: #1a3a6b;
    color: #fff;
}

/* ── Dots ── */
.howes-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.howes-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dde3ef;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.howes-dot.active {
    background: #1a3a6b;
    transform: scale(1.35);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .howes-review-card { flex: 0 0 var(--howes-card-width-tablet, calc(50% - 10px)); }
}

@media (max-width: 600px) {
    .howes-review-card {
        flex: 0 0 calc(100%);
        padding: 28px 22px 24px;
    }
    .howes-reviews-title { font-size: 22px; }
    .howes-nav-btn { width: 36px; height: 36px; font-size: 18px; }
    .howes-reviews-section { padding: 40px 16px; }
}

/* ── Página de ajustes en admin ── */
.howes-settings-wrap h1 { color: #1a3a6b; }
.howes-settings-wrap .form-table th { width: 220px; }
.howes-settings-wrap .description { color: #666; font-size: 13px; }
