/* Homepage "What Our Clients Say" (index.blade.php, .hp-testi). Reviews from Admin → Testimonials;
   Swiper #new-testimonial-slider (script at the end of index.blade.php) unchanged. */

.hp-testi {
    position: relative;
    padding: 90px 0 100px;
    background-color: #fbf7f7;
    background-image:
        linear-gradient(rgba(198, 40, 40, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 40, 40, .045) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* ── Header ───────────────────────────────────────────── */
.hp-testi .hp-testi-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
    margin-bottom: 34px;
}
.hp-testi .hp-testi-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    color: #c62828; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hp-testi .hp-testi-eyebrow::before { content: ""; width: 34px; height: 2px; background: #c62828; }
.hp-testi .process-title { margin: 0 0 8px; font-size: 2.6rem; line-height: 1.15; }
.hp-testi .process-title span { color: #c62828; }
.hp-testi .hp-testi-sub { margin: 0; padding: 0; font-size: 17px; line-height: 1.6; color: #555; }

.hp-testi .hp-testi-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.hp-testi .hp-testi-trust {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0; padding: 10px 16px;
    border: 1px solid #f0dede; border-radius: 999px;
    background: #fff;
    font-size: 14px; font-weight: 600; color: #555; white-space: nowrap;
}
.hp-testi .hp-testi-trust strong { color: #c62828; font-weight: 800; }
.hp-testi .hp-testi-trust i { width: 4px; height: 4px; border-radius: 50%; background: #d9b3b4; }
.hp-testi .hp-testi-arrows { display: flex; gap: 10px; }
.hp-testi .hp-testi-arrows button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid #ecdcdc; border-radius: 50%;
    background: #fff; color: #c62828;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(17, 22, 31, .06);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hp-testi .hp-testi-arrows button svg { width: 18px; height: 18px; }
.hp-testi .hp-testi-arrows button:hover { background: #c62828; border-color: #c62828; color: #fff; }

/* ── Slider + cards ───────────────────────────────────── */
/* room for card shadows so nothing gets clipped */
.hp-testi .hp-testi-slider { overflow: hidden; margin: -12px -12px 0; padding: 12px 12px 6px; }
.hp-testi .swiper-slide { height: auto; }
.hp-testi .hp-testi-card {
    position: relative;
    display: flex; flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 26px 26px 22px;
    border: 1px solid #efe4e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17, 22, 31, .06);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.hp-testi .hp-testi-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: #c62828; transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
}
.hp-testi .hp-testi-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(198, 40, 40, .1); }
.hp-testi .hp-testi-card:hover::before { transform: scaleX(1); }
.hp-testi .hp-testi-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.hp-testi .hp-testi-quote { width: 38px; height: 38px; color: #f6caca; }
.hp-testi .hp-testi-stars { display: flex; gap: 3px; color: #f5a400; font-size: 14px; }
.hp-testi .hp-testi-text {
    flex: 1 1 auto;
    margin: 0 0 20px; padding: 0; border: 0;
    font-size: 15.5px; line-height: 1.75; color: #444;
}
.hp-testi .hp-testi-author {
    display: flex; align-items: center; gap: 14px;
    padding-top: 16px; border-top: 1px dashed #ead8d8;
}
.hp-testi .hp-testi-author img,
.hp-testi .hp-testi-initial {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
}
.hp-testi .hp-testi-author img { object-fit: cover; border: 2px solid #fdecec; }
.hp-testi .hp-testi-initial {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fdecec; color: #c62828; font-size: 19px; font-weight: 800;
}
.hp-testi .hp-testi-who { display: flex; flex-direction: column; min-width: 0; }
.hp-testi .hp-testi-name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #111; }
.hp-testi .hp-testi-who span { margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c62828; }

/* dots */
.hp-testi .hp-testi-dots { position: static; display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.hp-testi .hp-testi-dots .swiper-pagination-bullet {
    width: 8px; height: 8px; margin: 0; border-radius: 999px;
    background: #e3c9c9; opacity: 1;
    transition: width .3s ease, background .3s ease;
}
.hp-testi .hp-testi-dots .swiper-pagination-bullet-active { width: 26px; background: #c62828; }

/* ── Bottom strip ─────────────────────────────────────── */
.hp-testi .hp-testi-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    margin-top: 40px; padding: 22px 28px;
    border: 1px solid #f1d4d4; border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 22, 31, .05);
}
.hp-testi .hp-testi-cta h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #111; }
.hp-testi .hp-testi-cta p { margin: 0; padding: 0; font-size: 15px; color: #666; }
.hp-testi .hp-testi-btns { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.hp-testi .hp-testi-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.5;
    text-decoration: none; cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.hp-testi .hp-testi-btn:hover { transform: translateY(-2px); }
.hp-testi .hp-testi-btn--red { background: #c62828; border: 1px solid #c62828; color: #fff; box-shadow: 0 10px 22px rgba(198, 40, 40, .25); }
.hp-testi .hp-testi-btn--red:hover { background: #a91f1f; border-color: #a91f1f; color: #fff; }
.hp-testi .hp-testi-btn--wa { background: #fff; border: 1px solid #bfe9cf; color: #0b6e36; }
.hp-testi .hp-testi-btn--wa:hover { background: #25d366; border-color: #25d366; color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
    .hp-testi .process-title { font-size: 2.3rem; }
}
@media (max-width: 991px) {
    .hp-testi { padding: 70px 0 80px; }
    .hp-testi .hp-testi-head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .hp-testi .hp-testi-side { width: 100%; justify-content: space-between; }
}
@media (max-width: 767px) {
    .hp-testi { padding: 56px 0; background-size: 28px 28px; }
    .hp-testi .hp-testi-head { align-items: center; text-align: center; margin-bottom: 26px; }
    .hp-testi .hp-testi-eyebrow::after { content: ""; width: 34px; height: 2px; background: #c62828; }
    .hp-testi .process-title { font-size: 2rem; }
    .hp-testi .hp-testi-sub { font-size: 15.5px; }
    .hp-testi .hp-testi-side { flex-direction: column; gap: 14px; }
    .hp-testi .hp-testi-trust { font-size: 13px; padding: 8px 14px; }
    .hp-testi .hp-testi-card { padding: 22px 20px 18px; }
    .hp-testi .hp-testi-text { font-size: 15px; }
    .hp-testi .hp-testi-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 18px; }
    .hp-testi .hp-testi-btns { flex-direction: column; }
    .hp-testi .hp-testi-btn { width: 100%; }
}
