/* Testimonios Section */
.testimonios-section {
  padding: 100px 0;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.testimonios-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle fill="%23ffffff" opacity="0.02" cx="10" cy="10" r="1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.testimonios-section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonios-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.testimonios-review-btn {
  background: transparent;
  color: #373f3f;
  border: 2px solid #373f3f;
  padding: 12px 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.testimonios-review-btn:hover {
  background: #373f3f;
  color: white;
  transform: translateY(-2px);
}

.testimonios-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonios-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 30px;
}

.testimonio-card {
  flex: 0 0 calc(33.333% - 20px);
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  position: relative;
  border: 1px solid rgba(55, 63, 63, 0.1);
  overflow: hidden;
  cursor: pointer;
}

.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #373f3f;
  border-radius: 20px 20px 0 0;
}

.testimonio-card.expanded {
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  height: auto;
  min-height: 450px;
}

.testimonio-card:hover:not(.expanded) {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.tripadvisor-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 50px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.testimonio-card:hover .tripadvisor-logo {
  opacity: 1;
}

.testimonio-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonio-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 5px;
}

.testimonio-name {
  font-size: 1.3rem;
  font-weight: 300;
  color: #2c3e50;
  margin: 0;
  font-family: 'Roboto Condensed', 'sans-serif';
}

.testimonio-date {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 300;
}

.testimonio-rating {
  margin-bottom: 20px;
  display: flex;
  gap: 2px;
}

.star {
  color: #f39c12;
  font-size: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonio-text {
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
  font-weight: 400;
  max-height: 4.2em;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.testimonio-card.expanded .testimonio-text {
  max-height: none;
}

.testimonio-text.full-text {
  display: none;
}

.testimonio-card.expanded .testimonio-text.preview-text {
  display: none;
}

.testimonio-card.expanded .testimonio-text.full-text {
  display: block;
  max-height: none;
}

.testimonio-btn {
  align-self: flex-start;
  padding: 12px 24px;
  background: transparent;
  color: #373f3f;
  border: 2px solid #373f3f;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.testimonio-btn:hover {
  transform: translateY(-2px);
  background: #373f3f;
  color: white;
}

.testimonios-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
}

.testimonios-btn-prev,
.testimonios-btn-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #373f3f;
  background: white;
  color: #373f3f;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonios-btn-prev:hover,
.testimonios-btn-next:hover {
  background: #373f3f;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(55, 63, 63, 0.3);
}

.testimonios-dots {
  display: flex;
  gap: 10px;
}

.testimonios-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdc3c7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonios-dot.active {
  background: #373f3f;
  transform: scale(1.2);
}

.testimonios-dot:hover {
  background: #373f3f;
}

/* Responsive Styles */
@media (max-width: 1399px) and (min-width: 1024px) {
  .testimonios-section {
    padding: 80px 0;
  }
  
  .testimonios-header {
    margin-bottom: 50px;
  }
  
  .testimonios-logo {
    max-width: 320px;
    margin-bottom: 25px;
  }
  
  .testimonio-card {
    padding: 35px 25px;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .testimonios-section {
    padding: 70px 0;
  }
  
  .testimonios-header {
    margin-bottom: 40px;
  }
  
  .testimonios-logo {
    max-width: 280px;
    margin-bottom: 22px;
  }
  
  .testimonio-card {
    flex: 0 0 calc(50% - 15px);
    padding: 30px 20px;
  }
  
  .testimonios-carousel {
    gap: 20px;
  }
  
  .tripadvisor-logo {
    width: 45px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 767px) and (min-width: 600px) {
  .testimonios-section {
    padding: 60px 0;
  }
  
  .testimonios-section-container {
    padding: 0 15px;
  }
  
  .testimonios-header {
    margin-bottom: 35px;
  }
  
  .testimonios-logo {
    max-width: 250px;
    margin-bottom: 20px;
  }
  
  .testimonios-review-btn {
    font-size: 0.85rem;
    padding: 10px 20px;
  }
  
  .testimonio-card {
    flex: 0 0 100%;
    padding: 25px 18px;
  }
  
  .testimonios-carousel {
    gap: 15px;
  }
  
  .testimonio-name {
    font-size: 1.2rem;
  }
  
  .tripadvisor-logo {
    width: 40px;
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 599px) and (min-width: 480px) {
  .testimonios-section {
    padding: 50px 0;
  }
  
  .testimonios-section-container {
    padding: 0 12px;
  }
  
  .testimonios-header {
    margin-bottom: 30px;
  }
  
  .testimonios-logo {
    max-width: 220px;
    margin-bottom: 18px;
  }
  
  .testimonios-review-btn {
    font-size: 0.8rem;
    padding: 10px 18px;
  }
  
  .testimonio-card {
    padding: 20px 15px;
  }
  
  .testimonio-name {
    font-size: 1.1rem;
  }
  
  .testimonio-text {
    font-size: 0.95rem;
  }
  
  .testimonios-btn-prev,
  .testimonios-btn-next {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .tripadvisor-logo {
    width: 35px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 479px) {
  .testimonios-section {
    padding: 40px 0;
  }
  
  .testimonios-section-container {
    padding: 0 10px;
  }
  
  .testimonios-header {
    margin-bottom: 25px;
  }
  
  .testimonios-logo {
    max-width: 200px;
    margin-bottom: 15px;
  }
  
  .testimonios-review-btn {
    font-size: 0.75rem;
    padding: 9px 16px;
  }
  
  .testimonio-card {
    flex: 0 0 100%;
    padding: 18px 12px;
  }
  
  .testimonio-name {
    font-size: 1rem;
  }
  
  .testimonio-date {
    font-size: 0.8rem;
  }
  
  .testimonio-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .testimonio-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .testimonios-btn-prev,
  .testimonios-btn-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .testimonios-navigation {
    gap: 20px;
    margin-top: 30px;
  }
  
  .tripadvisor-logo {
    width: 30px;
    top: 8px;
    right: 8px;
  }
}

/* New Testimonial Design - Green Circles */
.testimonio-location {
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 300;
  margin: 5px 0 15px 0;
}

.testimonio-rating-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tripadvisor-logo-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.testimonio-rating {
  display: flex;
  gap: 4px;
  align-items: center;
}

.rating-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #00852f;
  background: transparent;
  transition: all 0.3s ease;
}

.rating-circle.filled {
  background: #00852f;
}

.testimonio-titulo {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2c3e50;
  margin: 0 0 12px 0;
  font-family: 'Roboto Condensed', sans-serif;
}

.testimonio-date {
  font-size: 0.85rem;
  color: #95a5a6;
  margin-bottom: 10px;
}

/* Modal Styles */
.testimonial-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.testimonial-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: #373f3f;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  background: #2c3232;
  transform: rotate(90deg) scale(1.1);
}

.modal-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e0e0e0;
}

.modal-nav-arrow {
  width: 35px;
  height: 35px;
  border: 2px solid #00852f;
  background: white;
  color: #00852f;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-nav-arrow:hover {
  background: #00852f;
  color: white;
  transform: scale(1.1);
}

.modal-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.modal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #00852f;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-dot.active {
  background: #00852f;
  transform: scale(1.2);
}

.modal-dot:hover {
  background: #00852f;
  transform: scale(1.15);
}

.modal-body {
  padding: 50px 40px 40px;
}

.modal-name {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2c3e50;
  margin: 0 0 8px 0;
  font-family: 'Roboto Condensed', sans-serif;
}

.modal-location {
  font-size: 1rem;
  color: #7f8c8d;
  font-weight: 300;
  margin: 0 0 20px 0;
}

.modal-rating-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.modal-rating {
  display: flex;
  gap: 5px;
}

.modal-rating .rating-circle {
  width: 14px;
  height: 14px;
}

.modal-date {
  font-size: 0.9rem;
  color: #95a5a6;
  margin-bottom: 15px;
}

.modal-titulo {
  font-size: 1.3rem;
  font-weight: 500;
  color: #2c3e50;
  margin: 0 0 20px 0;
  font-family: 'Roboto Condensed', sans-serif;
}

.modal-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
  font-weight: 400;
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal-content {
    max-width: 90%;
    max-height: 90vh;
  }
  
  .modal-body {
    padding: 45px 25px 30px;
  }
  
  .modal-nav-arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  
  .modal-navigation {
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
  }
  
  .modal-dots {
    gap: 6px;
  }
  
  .modal-dot {
    width: 9px;
    height: 9px;
  }
  
  .modal-name {
    font-size: 1.5rem;
  }
  
  .modal-titulo {
    font-size: 1.2rem;
  }
  
  .modal-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-modal {
    padding: 10px;
  }
  
  .modal-body {
    padding: 40px 20px 25px;
  }
  
  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 20px;
    top: 15px;
    right: 15px;
  }
  
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .modal-prev,
  .modal-next {
    display: none; /* Hide arrows on very small screens */
  }
  
  .modal-name {
    font-size: 1.3rem;
  }
  
  .modal-location {
    font-size: 0.9rem;
  }
  
  .modal-titulo {
    font-size: 1.1rem;
  }
  
  .modal-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}
