﻿:root {
  --color-primary: #308283;
  --color-secondary: #011b36;
  --rounded-custom: 0;
}
.section-reviews {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.section-reviews::before,
.section-reviews::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.section-container {
  max-width: 1200px;
  padding: 60px 30px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.header-review {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}
.header-review h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.header-review p {
  font-size: 18px;
  color: #656565;
  margin-bottom: 30px;
  line-height: 1.6;
}
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--rounded-custom);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  background: var(--color-secondary);
}
.btn-primary:active {
  transform: translateY(-1px);
}
.social-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.social-section p {
  font-size: 16px;
  color: #4c4c4c;
  margin-bottom: 35px;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}
.none {
  display: none;
}
.block {
  display: block;
}
.tt-capitalize {
  text-transform: capitalize;
}
.fw-bold {
  font-weight: bold;
}
.logo-reviews {
  border-radius: 15px;
  width: 100%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.carousel {
  display: flex;
  gap: 20px;
}
.carousel>* {
  flex: 0 0 100%;
}
.group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}
.logo-item {
  flex: 1;
  min-width: 200px;
}
.logo-link {
  display: block;
  transition: all 0.3s ease;
}
@media (min-width: 768px) {
  .section-container {
    padding: 80px 50px;
  }
  .group {
    flex-direction: row;
    animation: scrolling 10s linear infinite;
  }
  .carousel:has(img:hover) .group,
  .carousel:has(a:hover) .group {
    animation-play-state: paused;
  }
  .logo-reviews:hover {
    transform: scale(0.8);
  }
  .md\:flex {
    display: flex;
  }
}
@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 20px));
  }
}
/* SECTION BUSINESS */
.team-two-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 22px;
  transition: all 0.3s ease;
}
.team-two-item.active {
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.store-info-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.icon-store {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  color: #000000;
}
.store-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.text_name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  margin: 0;
}
.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.rating-score {
  font-weight: 600;
  color: #333333;
  font-size: 0.95rem;
}
.stars-container {
  display: flex;
  gap: 0.15rem;
}
.star {
  width: 16px;
  height: 16px;
  color: #000000;
}
.review-count {
  color: #666666;
  font-size: 0.9rem;
}
.actions-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-service {
  display: inline-block;
  padding: 16px 32px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #000000;
  border-radius: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}
.btn-service:hover {
  background: #ffffff;
  color: #000000;
  transform: scale(1.05);
}
.btn-service:active {
  transform: scale(0.98);
}
@media (min-width: 576px) {
  .actions-wrapper {
    flex-direction: row;
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .team-two-item {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
  }
  .actions-wrapper {
    flex-shrink: 0;
  }
}
.btn-service:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}
.btn-service:focus:not(:focus-visible) {
  outline: none;
}
.btn-service:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}
/* =========================================
   CARDS DE REVIEWS MODERNIZADAS
   ========================================= */
.rplg-box {
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin: 0 0 25px 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  display: flex;
  flex-direction: column;
  height: calc(100% - 25px);
}

.rplg-box:hover {
  transform: none !important;
}

.rplg-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f3f5;
}

.rplg-row .icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rplg-row .icon img.img-google {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
  border-radius: 12px;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.name-new {
  margin-left: 0 !important;
  flex-grow: 1;
  min-width: 0;
}

.reviews-name p.big {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1f2d30 !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-rating {
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  gap: 3px !important;
}

.star-rating i.fa-star {
  font-size: 15px !important;
  line-height: 1 !important;
}


.star-rating a {
  display: none !important;
}

.contenido-reviews {
  margin: 0 !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contenedor {
  margin: 0 !important;
  padding: 0 5px 0 0 !important;
  height: 140px !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.contenedor p.big {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #4b5563 !important;
  margin: 0 !important;
  font-weight: 400;
}

.contenedor::-webkit-scrollbar {
  width: 5px;
}

.contenedor::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 10px;
}

.contenedor::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.contenedor::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
/* Espaciados y Anchos Alineados */
.mb--40 {
  margin-bottom: 40px !important;
}

.mb--50 {
  margin-bottom: 50px !important;
}

.team-two-item {
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .team-two-item {
    padding: 1.25rem !important;
    gap: 1.25rem !important;
  }

  .store-info-wrapper {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  .store-details {
    align-items: center !important;
    text-align: center !important;
  }

  .actions-wrapper {
    width: 100% !important;
  }

  .actions-wrapper .btn-service {
    width: 100% !important;
    text-align: center !important;
  }

  .rplg-box {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 576px) {
  .section__title h2.title__line {
    font-size: 28px !important;
  }

  .icon-store {
    width: 70px !important;
    height: 70px !important;
  }

  .rplg-box {
    padding: 18px !important;
  }

  .rplg-row {
    gap: 12px !important;
  }

  .rplg-row .icon img.img-google {
    width: 42px !important;
    height: 42px !important;
  }
}