#frp-showcase-section {
  width: 100%;
  min-height: auto;
  background: #ffffff;
  padding: clamp(18px, 3vw, 20px) clamp(12px, 3vw, 40px);
  font-family: "Montserrat", Arial, sans-serif;
}

#frp-showcase-section * {
  box-sizing: border-box;
}

.frp-showcase-container {
  width: 100%;
  max-width: 1828px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(230px, 0.9fr) minmax(320px, 1.35fr) minmax(250px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.frp-box {
  width: 100%;
  min-height: clamp(255px, 18vw, 310px);
  padding: clamp(20px, 2vw, 30px);
  position: relative;
  overflow: hidden;
  border-radius: 9px;
}

.frp-why-box,
.frp-testimonial-box {
  background: #ffffff;
  border: 1px solid #e7edf5;
  box-shadow: 0 6px 22px rgba(0, 37, 90, 0.08);
}

.frp-sector-box {
  background: linear-gradient(135deg, #004c9f 0%, #003b80 48%, #002f6b 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 50, 115, 0.22);
}

.frp-opinion-box {
  background: linear-gradient(145deg, #083d78 0%, #052f63 50%, #002854 100%);
  color: #ffffff;
  box-shadow: 0 8px 26px #ffffff;
}

.frp-box h3 {
  margin: 0 0 18px;
  font-size: clamp(4px, 1.2vw, 17px);
  line-height: 1.25;
  font-weight: 668;
  letter-spacing: 0.2px;
  color: #004795;
}

.frp-sector-box h3,
.frp-opinion-box h3 {
  color: #ffffff;
}

.frp-why-box ul,
.frp-sector-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.frp-why-box li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #000000;
  font-size: clamp(13.5px, 0.95vw, 14.2px);
  font-weight: 480;
  line-height: 1.34;
}

.frp-why-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: #003b80;
  font-size: 20px;
  font-weight: 800;
}

.frp-sector-box li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: clamp(13.5px, 1vw, 13.5px);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.frp-sector-box li span {
  width: 60px;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
}

.frp-testimonial-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 44px;
  min-height: 160px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.frp-testimonial-body.frp-changing {
  opacity: 0;
  transform: translateY(8px);
}

.frp-client-photo {
  width: clamp(76px, 6vw, 92px);
  min-width: clamp(76px, 6vw, 95px);
  height: clamp(76px, 6vw, 105px);
  border-radius: 50%;
  padding: 3px;
  background: #eef3fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frp-client-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.frp-client-info p {
  margin: 0 0 22px;
  color: #072666;
  font-size: clamp(13.5px, 0.95vw, 15px);
  font-weight: 450;
  line-height: 1.55;
}

.frp-client-info strong {
  display: block;
  color: #1d49a6;
  font-size: clamp(13.5px, 0.95vw, 15.5px);
  font-weight: 800;
  margin-bottom: 2px;
}

.frp-client-info small {
  display: block;
  color: #42546a;
  font-size: 12.7px;
  font-weight: 500;
  margin-bottom: 9px;
}

.frp-test-stars {
  color: rgb(0, 71, 149);
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.frp-arrow {
  position: absolute;
  bottom: 42px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #9aa6b6;
  font-size: 38px;
  font-weight: 200;
  line-height: 28px;
  cursor: pointer;
  transition: 0.25s ease;
}

.frp-arrow:hover {
  color: #004c9f;
  transform: scale(1.08);
}

.frp-arrow-left {
  left: 20px;
}

.frp-arrow-right {
  right: 20px;
}

.frp-opinion-box h3 {
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 700;
  margin-bottom: 19px;
}

.frp-opinion-box p {
  color: #ffffff;
  font-size: clamp(13.5px, 0.95vw, 15.4px);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 25px;
}

.frp-opinion-box button {
  border: none;
  background: #0878f6;
  color: #ffffff;
  padding: 13px 20px;
  border-radius: 5px;
  font-size: 13.2px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 109, 255, 0.35);
  transition: 0.25s ease;
  display: block;
  margin: 25px auto 0;
}

.frp-opinion-box button:hover {
  background: #1e63da;
  transform: translateY(-2px);
}

.frp-chat-icon {
  width: 38px;
  height: 38px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frp-chat-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linejoin: round;
}

/* MODAL RESPONSIVE */

#frpModal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 23, 55, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

#frpModal.frp-modal-show {
  display: flex;
}

.frp-modal-card {
  width: min(100%, 520px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 30px);
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  animation: frpModalEnter 0.28s ease;
}

@keyframes frpModalEnter {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.frp-modal-card::-webkit-scrollbar {
  width: 7px;
}

.frp-modal-card::-webkit-scrollbar-thumb {
  background: #b7c7db;
  border-radius: 10px;
}

.frp-modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: none;
  background: #003b80;
  color: #f6fafe;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

.frp-modal-card h3 {
  margin: 0 0 7px;
  color: #004795;
  font-size: clamp(20px, 4vw, 23px);
  font-weight: 800;
}

.frp-modal-text {
  margin: 0 0 18px;
  color: #004795;
  font-size: 14px;
  line-height: 1.45;
}

.frp-form-group {
  margin-bottom: 14px;
}

.frp-form-group label {
  display: block;
  margin-bottom: 6px;
  color: #17324f;
  font-size: 13.5px;
  font-weight: 700;
}

.frp-form-group input[type="text"],
.frp-form-group textarea,
.frp-form-group input[type="file"] {
  width: 100%;
  border: 1px solid #d5deeb;
  background: #ffffff;
  border-radius: 7px;
  padding: 12px 13px;
  color: #111827;
  font-size: 14px;
  outline: none;
  transition: 0.25s ease;
}

.frp-form-group textarea {
  height: clamp(90px, 16vh, 115px);
  resize: vertical;
}

.frp-form-group input:focus,
.frp-form-group textarea:focus {
  border-color: #0878f6;
  box-shadow: 0 0 0 3px rgba(8, 120, 246, 0.12);
}

.frp-star-selector {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
}

.frp-star-selector button {
  border: none;
  background: transparent;
  color: #004795;
  font-size: clamp(25px, 7vw, 30px);
  cursor: pointer;
  padding: 0 2px;
  transition: 0.2s ease;
}

.frp-star-selector button.frp-star-off {
  color: #d4dbe5;
}

.frp-image-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.frp-radio-option {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: #2d4057 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.frp-radio-option input {
  accent-color: #0878f6;
}

#frpPhotoInput:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.frp-submit-btn {
  width: 100%;
  margin-top: 6px;
  border: none;
  background: #004795;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.frp-submit-btn:hover {
  background: #003a79;
}

#frpFormMessage {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

#frpFormMessage.ok {
  color: #078542;
}

#frpFormMessage.error {
  color: #c02626;
}

/* LAPTOP MEDIANA */

@media (max-width: 1250px) {
  .frp-showcase-container {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }

  .frp-box {
    min-height: 270px;
  }
}

/* TABLET */

@media (max-width: 850px) {
  #frp-showcase-section {
    padding: 22px 14px;
  }

  .frp-showcase-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .frp-box {
    min-height: auto;
    padding: 24px 22px;
  }

  .frp-testimonial-body {
    padding: 0 38px;
  }
}

/* CELULAR */

@media (max-width: 520px) {
  #frpModal {
    align-items: flex-start;
    padding: 10px;
  }

  .frp-modal-card {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
    padding: 20px 16px;
  }

  .frp-testimonial-body {
    flex-direction: column;
    text-align: center;
    padding: 0 26px 30px;
    gap: 14px;
  }

  .frp-arrow {
    bottom: 12px;
  }

  .frp-arrow-left {
    left: 18px;
  }

  .frp-arrow-right {
    right: 18px;
  }

  .frp-image-options {
    flex-direction: column;
    gap: 8px;
  }

  .frp-opinion-box button {
    width: 100%;
  }
}

/* CELULAR PEQUEÑO */

@media (max-width: 380px) {
  .frp-box {
    padding: 20px 16px;
  }

  .frp-why-box li,
  .frp-sector-box li,
  .frp-client-info p,
  .frp-opinion-box p {
    font-size: 13.2px;
  }

  .frp-star-selector {
    justify-content: center;
  }

  .frp-modal-card {
    padding: 18px 14px;
  }
}
#frpClientName {
  color: #004795;
  font-weight: 800;
}

#frpClientCompany {
  color: #42546a;
  font-weight: 500;
}

.frp-sector-box {
  background: linear-gradient(135deg, #064184, #082f63);
  padding: 22px;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
}

.frp-sector-box h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
}

.frp-sector-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.frp-sector-track {
  position: relative;
  height: 310px;
}

.frp-sector-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .75s ease, transform 1.1s ease;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
}

.frp-sector-slide.frp-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.frp-sector-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Oscurece abajo para que el texto se lea bonito */
.frp-sector-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.28), rgba(0,0,0,.05));
  z-index: 1;
}

.frp-sector-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  transform: translateY(12px);
  opacity: 0;
  transition: .65s ease;
}

.frp-sector-slide.frp-active .frp-sector-overlay {
  transform: translateY(0);
  opacity: 1;
}

.frp-sector-overlay h4 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.frp-sector-overlay p {
  margin: 0;
  max-width: 470px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.94);
}

.frp-sector-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #064184;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frp-sector-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.frp-prev {
  left: 14px;
}

.frp-next {
  right: 14px;
}

.frp-sector-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.frp-sector-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.38);
  cursor: pointer;
  transition: .25s ease;
}

.frp-sector-dots button.frp-active {
  width: 28px;
  border-radius: 20px;
  background: #ffffff;
}

@media (max-width: 600px) {
  .frp-sector-box {
    padding: 18px;
  }

  .frp-sector-track {
    height: 260px;
  }

  .frp-sector-overlay {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .frp-sector-overlay h4 {
    font-size: 20px;
  }

  .frp-sector-overlay p {
    font-size: 13px;
  }
}