/**
 * Salkantay Treks Peru - Legal Pages
 */

.stp-legal-page {
  background: #f8fafc;
}

.stp-legal-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.stp-legal-summary {
  position: sticky;
  top: 110px;
  padding: 1.35rem;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(16, 42, 67, 0.08);
}

.stp-legal-summary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  color: #2d6a4f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stp-legal-summary strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #102a43;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.2;
}

.stp-legal-summary p {
  margin: 0 0 1rem;
  color: #52616b;
  line-height: 1.65;
}

.stp-legal-summary a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2d6a4f;
  font-weight: 850;
  text-decoration: none;
}

.stp-legal-summary a i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.stp-legal-summary a:hover i,
.stp-legal-summary a:focus i {
  transform: translateX(3px);
}

.stp-legal-content {
  display: grid;
  gap: 1rem;
}

.stp-legal-content > *:first-child {
  margin-top: 0;
}

.stp-legal-content h2,
.stp-legal-content h3 {
  color: #102a43;
  font-weight: 850;
  line-height: 1.25;
}

.stp-legal-content h2 {
  font-size: 1.45rem;
}

.stp-legal-content h3 {
  font-size: 1.15rem;
}

.stp-legal-content p,
.stp-legal-content li {
  color: #52616b;
  font-size: 1rem;
  line-height: 1.75;
}

.stp-legal-content a {
  color: #2d6a4f;
  font-weight: 750;
}

.stp-legal-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(16, 42, 67, 0.07);
}

.stp-legal-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e7f5ef;
  color: #2d6a4f;
}

.stp-legal-item h2 {
  margin: 0 0 0.45rem;
}

.stp-legal-item p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .stp-legal-section {
    padding: 3.5rem 0;
  }

  .stp-legal-summary {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .stp-legal-item {
    grid-template-columns: 1fr;
  }
}
