/* ==========================================================================
   Surokkha GPS — components.css
   Shared sections used on several pages (inserted from code/partials/):
   Statistics · Testimonials · Blog Posts · FAQs · Bottom CTA
   + .eyebrow--red, .slider-nav
   Figma: Statistics 5380:1102 · Testimonials 5329:737 · Blog 5380:907 · FAQs 5380:767 · Bottom CTA 5380:609
   Note: .testimonials and .faq have NO background (they show the page bg, #F9F9F9 on Figma pages).
         Statistics / Blog / CTA are white. Override per page if needed, e.g. .page-product .testimonials { background:#fff; }
   ========================================================================== */

/* Red eyebrow pill (14/20 semibold red, vertical fade) */
.eyebrow--red {
  background: linear-gradient(180deg, rgba(243, 41, 41, 0.13) 24.27%, rgba(243, 41, 41, 0) 99.51%);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  color: var(--c-primary);
}
.eyebrow--red > img[width="20"] { width: 20px; height: 20px; }

/* Round slider arrows (48px) */
.slider-nav { display: flex; gap: 16px; align-items: center; flex: none; }
.slider-nav__btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-pill);
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
}
.slider-nav__btn img { width: 16px; height: 16px; }
.slider-nav__btn--prev { background: var(--c-white); border: 1px solid var(--c-gray); }
.slider-nav__btn--next { background: var(--c-primary); border: 1px solid var(--c-white); }
.slider-nav__btn:hover { transform: translateY(-1px); }
.slider-nav__btn:disabled { opacity: .45; cursor: default; transform: none; }

/* Hide scrollbars on horizontal tracks */
[data-slider-track], .blog__track { scrollbar-width: none; }
[data-slider-track]::-webkit-scrollbar, .blog__track::-webkit-scrollbar { display: none; }

/* ==========================================================================
   Statistics
   ========================================================================== */
.stats { background: var(--c-white); padding-block: 80px; }
.stats__grid { display: flex; gap: 32px; align-items: center; }
.stats__card {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 24px;
  padding: 24px 16px 24px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-stroke);
  border-radius: 24px;
}
.stats__icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: var(--radius-pill); background: #ffe4eb;
}
.stats__icon img { width: 32px; height: 32px; }
.stats__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; white-space: nowrap; }
.stats__value { font-size: 28px; line-height: 48px; font-weight: 600; letter-spacing: -0.84px; color: var(--c-heading); }
.stats__label { font-size: 16px; line-height: 24px; color: var(--c-text); }

@media (max-width: 1200px) {
  .stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 768px) {
  .stats { padding-block: 40px; }
  .stats__grid { gap: 16px; }
  .stats__card { height: 80px; gap: 16px; padding: 16px; }
  .stats__icon { width: 48px; height: 48px; }
  .stats__icon img { width: 24px; height: 24px; }
  .stats__value { font-size: 24px; letter-spacing: -0.72px; }
  .stats__label-more { display: none; }
}
@media (max-width: 400px) {
  .stats__card { padding: 12px; gap: 10px; }
  .stats__icon { width: 40px; height: 40px; }
  .stats__label { font-size: 14px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding-block: 100px; }
.testimonials__inner { display: flex; flex-direction: column; gap: 48px; }
.testimonials__head { display: flex; align-items: center; gap: 24px; }
.testimonials__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.testimonials__lead { font-size: 16px; line-height: 24px; color: var(--c-text); }

.testimonials__track {
  display: flex; gap: 24px; align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
}
.tcard {
  flex: 0 0 calc((100% - 48px) / 3); min-width: 0;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 32px;
  padding: 24px;
  background: var(--c-white);
  border: 1px solid var(--c-stroke);
  border-radius: 24px;
}
.tcard__top { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.tcard__quote {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill); background: #ffe4eb;
}
.tcard__quote img { width: 24px; height: 24px; }
.tcard__text { font-size: 18px; line-height: 26px; color: var(--c-heading); }
.tcard__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--c-stroke);
}
.tcard__author { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tcard__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: #eee; }
.tcard__meta { display: flex; flex-direction: column; gap: 10px; white-space: nowrap; }
.tcard__name { font-size: 16px; line-height: 28px; font-weight: 500; color: var(--c-heading); }
.tcard__role { font-size: 14px; line-height: 20px; color: var(--c-text); }
.tcard__rating { width: 115.74px; height: 22.35px; flex: none; }

@media (max-width: 1200px) {
  .tcard { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .testimonials { padding-block: 40px; }
  .testimonials__inner { gap: 24px; align-items: center; }
  .testimonials__head { display: contents; }
  .testimonials__text { order: 1; align-items: center; text-align: center; }
  .testimonials__track { order: 2; width: 100%; gap: 16px; }
  .testimonials .slider-nav { order: 3; }
  .tcard { flex-basis: 100%; min-height: 284px; }
}

/* ==========================================================================
   Blog Posts
   ========================================================================== */
.blog { background: var(--c-white); padding-block: 100px; }
.blog__inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.blog__head { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.blog__lead { font-size: 16px; line-height: 24px; color: var(--c-text); }
.blog__track { display: flex; gap: 40px; align-items: stretch; width: 100%; }
.bcard {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 24px;
  padding: 16px 16px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-stroke);
  border-radius: 24px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.bcard.is-featured, .bcard:hover {
  border-color: var(--c-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background: linear-gradient(9.6deg, rgba(243, 41, 41, 0.12) 0%, rgba(243, 41, 41, 0.04) 23.65%, rgba(243, 41, 41, 0) 35%), var(--c-white);
}
.blog__track:hover .bcard.is-featured:not(:hover) {
  border-color: var(--c-stroke); box-shadow: none; background: var(--c-white);
}
.bcard__img { display: block; height: 230px; border-radius: 16px; overflow: hidden; background: #eee; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bcard:hover .bcard__img img { transform: scale(1.04); }
.bcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.bcard__content { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.bcard__date { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-text); }
.bcard__title { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-heading); }
.bcard__title a:hover { color: var(--c-primary); }
.bcard__excerpt {
  font-size: 16px; line-height: 24px; color: var(--c-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bcard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--c-primary); }
.bcard__more img { width: 16px; height: 16px; transition: transform .15s ease; }
.bcard__more:hover img { transform: translateX(3px); }
.blog__all { width: 174px; padding-inline: 16px; }

@media (max-width: 1200px) {
  .blog__track { gap: 24px; }
}
@media (max-width: 1024px) {
  .blog__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .bcard { flex: 0 0 calc((100% - 24px) / 2); scroll-snap-align: start; }
}
@media (max-width: 768px) {
  .blog { padding-block: 40px; }
  .blog__inner { gap: 24px; }
  .blog__head { gap: 24px; }
  .blog__track { gap: 16px; }
  .bcard { flex-basis: 100%; }
  .bcard.is-featured { border-color: var(--c-stroke); box-shadow: none; background: var(--c-white); }
}

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq { padding-block: 100px; }
.faq__inner { display: flex; gap: 40px; align-items: flex-start; }
.faq__aside { width: 460px; flex: none; align-self: stretch; display: flex; flex-direction: column; gap: 32px; }
.faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__lead { font-size: 16px; line-height: 24px; color: var(--c-text); }
.faq__help {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 267px; padding: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--c-gray-100);
  border-radius: 24px;
}
.faq__help-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 1000px; background: #ffe4eb;
}
.faq__help-icon img { width: 32px; height: 32px; }
.faq__help-body { display: flex; flex-direction: column; gap: 24px; }
.faq__help-text { display: flex; flex-direction: column; gap: 16px; }
.faq__help-text p { font-size: 14px; line-height: 20px; color: var(--c-text); }
.faq__help .btn img.faq__help-arrow { width: 16px; height: 16px; transform: scaleX(-1); }

.faq__list {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 527px; padding: 24px;
  background: var(--c-white);
  border-radius: 24px;
  box-shadow: 4px 4px 35px rgba(0, 0, 0, 0.06);
}
.faq__item { padding: 16px; border-bottom: 1px solid var(--c-stroke); }
.faq__item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq__item.is-open { padding-top: 0; padding-bottom: 24px; }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  font-size: 20px; line-height: 28px; font-weight: 500; color: var(--c-heading);
  text-box: trim-both cap alphabetic;
}
.faq__q-text { flex: 1 1 0; min-width: 0; }
.faq__q:hover { color: var(--c-primary); }
.faq__ic { width: 24px; height: 24px; flex: none; }
.faq__ic--minus { display: none; }
.faq__item.is-open .faq__q { color: var(--c-primary); }
.faq__item.is-open .faq__ic--plus { display: none; }
.faq__item.is-open .faq__ic--minus { display: block; }
.faq__a { display: none; padding-top: 24px; }
.faq__a p { max-width: 625px; font-size: 18px; line-height: 26px; color: var(--c-text); }
.faq__item.is-open .faq__a { display: block; }

@media (max-width: 1200px) {
  .faq__aside { width: 380px; }
}
@media (max-width: 1024px) {
  .faq__inner { flex-direction: column; }
  .faq__aside { width: 100%; }
  .faq__list { width: 100%; flex: none; }
}
@media (max-width: 768px) {
  .faq { padding-block: 40px; }
  .faq__aside { gap: 24px; }
  .faq__head { align-items: center; text-align: center; }
  .faq__help { min-height: 0; }
  .faq__help-icon { display: none; }
  .faq__list { min-height: 0; padding: 16px; }
  .faq__item { padding: 16px 16px 16px 0; }
  .faq__item:last-child { padding-bottom: 0; }
  .faq__item.is-open { padding-top: 0; padding-bottom: 24px; }
  .faq__a p { max-width: none; }
}

/* ==========================================================================
   Bottom CTA
   ========================================================================== */
.cta { background: var(--c-white); padding-block: 100px; }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 60px 24px;
  border-radius: 24px;
  background: #fff3f3;
}
.cta__bg {
  position: absolute; z-index: -1;
  left: -3.98%; top: -0.03%;
  width: 108.02%; height: 123.57%; max-width: none;
  pointer-events: none;
}
.cta__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; width: 100%; }
.cta__lead { font-size: 16px; line-height: 24px; color: var(--c-text); }
.cta__features { display: flex; gap: 48px; align-items: flex-start; justify-content: center; }
.cta__features li { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-size: 16px; line-height: 22px; font-weight: 500; color: var(--c-heading); white-space: nowrap; }
.cta__ficon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: #ffe4eb; }
.cta__ficon img { width: 32px; height: 32px; }

.cta__bottom { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta__actions { display: flex; align-items: center; justify-content: center; gap: 24px; }
.cta__btn { display: flex; align-items: center; justify-content: center; gap: 16px; border-radius: var(--radius-pill); transition: transform .15s ease; }
.cta__btn:hover { transform: translateY(-2px); }
.cta__btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; white-space: nowrap; }
.cta__btn--primary { padding: 14px 32px 14px 14px; background: var(--c-primary); box-shadow: 0 16px 16px rgba(0, 0, 0, 0.2); }
.cta__btn-circle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 1000px; background: var(--c-white); }
.cta__btn-circle img { width: 24px; height: 24px; }
.cta__btn-title { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--c-white); }
.cta__btn-sub { font-size: 14px; line-height: 20px; color: var(--c-btn-gray); }
.cta__btn--line { width: 253px; height: 76px; padding: 14px 24px 14px 0; background: var(--c-white); border: 1px solid var(--c-gray); }
.cta__btn--line > img { width: 48px; height: 48px; flex: none; }
.cta__line-label { font-size: 16px; line-height: 24px; color: var(--c-heading); }
.cta__line-phone { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--c-heading); }
.cta__line-note { font-size: 14px; line-height: 20px; color: var(--c-text); }

.cta__trust { display: flex; align-items: center; gap: 16px; }
.cta__avatars { display: flex; align-items: center; padding: 2px; }
.cta__avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c-white); background: #eee; }
.cta__avatars img + img { margin-left: -13px; }
.cta__rating { display: flex; flex-direction: column; gap: 6px; }
.cta__stars { display: flex; }
.cta__stars img { width: 24px; height: 24px; }
.cta__rating-text { font-size: 14px; line-height: 20px; color: var(--c-heading); white-space: nowrap; }
.cta__rating-text strong { font-weight: 600; }

@media (max-width: 1024px) {
  .cta__features { flex-wrap: wrap; gap: 32px; }
  .cta__bg { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; }
}
@media (max-width: 768px) {
  .cta { padding-block: 40px; }
  .cta__card { padding: 40px 0; gap: 32px; }
  .cta__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; width: 100%; }
  .cta__features li { white-space: normal; }
  .cta__bottom { width: 100%; }
  .cta__actions { flex-direction: column; gap: 16px; width: 100%; }
  .cta__btn { width: 100%; }
  .cta__btn--line { width: 100%; padding-left: 24px; }
  .cta__trust { padding-inline: 16px; }
  .cta__rating-text { white-space: normal; }
}
