/* ==========================================================================
   Contenido documental — modales Peru Ideal Expeditions
   Estilo unificado: Términos · Privacidad · Por qué elegirnos · Servicios privados
   ========================================================================== */

.tc-content {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  color: var(--lr-white, #F8F8F8);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
}

.tc-content p,
.tc-content li,
.tc-content td,
.tc-content th,
.tc-content a,
.tc-content strong {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.tc-content a {
  color: var(--lr-gold, #D4AF37);
  text-decoration: none;
  transition: color 0.25s;
}

.tc-content a:hover {
  color: var(--lr-white, #F8F8F8);
  text-decoration: underline;
}

.tc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 12px;
  color: var(--lr-muted, rgba(248, 248, 248, 0.55));
}

.tc-meta span {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
}

.tc-meta strong { color: var(--lr-gold, #D4AF37); font-weight: 600; }

.tc-intro {
  font-size: 15px;
  color: rgba(248, 248, 248, 0.85);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.tc-intro p { margin: 0 0 14px; }
.tc-intro p:last-child { margin-bottom: 0; }

.tc-group-title {
  font-family: var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--lr-gold, #D4AF37);
  margin: 32px 0 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  letter-spacing: 0.03em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  line-height: 1.45;
}

.tc-group-title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lr-gold, #D4AF37), var(--lr-gold-dark, #B8860B));
  flex-shrink: 0;
  margin-top: 4px;
}

.tc-section {
  margin-bottom: 28px;
  animation: tcFadeIn 0.5s var(--lr-ease, ease) both;
}

@keyframes tcFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tc-section h3 {
  font-family: var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--lr-gold, #D4AF37);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.45;
}

.tc-section h3::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lr-gold, #D4AF37), var(--lr-gold-dark, #B8860B));
  flex-shrink: 0;
  margin-top: 4px;
}

.tc-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 248, 248, 0.9);
  margin: 18px 0 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tc-section p { margin: 0 0 10px; color: rgba(248, 248, 248, 0.72); }

.tc-section > div p { margin: 0 0 10px; color: rgba(248, 248, 248, 0.72); }

.tc-section ul,
.tc-section ol {
  margin: 0 0 12px;
  padding-left: 20px;
  color: rgba(248, 248, 248, 0.72);
}

.tc-section > div ul,
.tc-section > div ol {
  margin: 0 0 12px;
  padding-left: 20px;
  color: rgba(248, 248, 248, 0.72);
}

.tc-section li { margin-bottom: 6px; line-height: 1.65; }
.tc-section li::marker { color: var(--lr-gold, #D4AF37); }

.tc-table-wrap {
  overflow-x: auto;
  margin: 14px 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  -webkit-overflow-scrolling: touch;
}

.tc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 320px;
}

.tc-table th,
.tc-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-wrap: break-word;
  word-wrap: break-word;
  vertical-align: top;
}

.tc-table th {
  background: rgba(212, 175, 55, 0.12);
  color: var(--lr-gold, #D4AF37);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tc-table tr:last-child td { border-bottom: none; }
.tc-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.tc-table--compare tbody td:nth-child(2) {
  color: rgba(248, 248, 248, 0.92);
  background: rgba(212, 175, 55, 0.03);
}

.tc-table--compare thead th:last-child {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 248, 248, 0.55);
}

.tc-table--compare tbody td:first-child {
  color: rgba(248, 248, 248, 0.55);
  font-weight: 500;
  width: 34%;
}

.tc-table--compare tbody tr:hover td:nth-child(2) {
  background: rgba(212, 175, 55, 0.06);
}

.tc-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--lr-gold, #D4AF37);
  font-size: 13px;
  color: rgba(248, 248, 248, 0.75);
  margin: 12px 0;
}

.tc-contact-box {
  margin-top: 8px;
  margin-bottom: 28px;
  padding: 20px 22px;
  border-radius: var(--lr-radius, 16px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.tc-contact-box h4 {
  font-family: var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lr-gold, #D4AF37);
  margin: 0 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.tc-contact-box h4::before {
  content: '';
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lr-gold, #D4AF37), var(--lr-gold-dark, #B8860B));
  flex-shrink: 0;
  margin-top: 3px;
}

.tc-contact-box p {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(248, 248, 248, 0.78);
  line-height: 1.65;
}

.tc-closing {
  margin: 28px 0 24px;
  padding: 22px 20px;
  border-radius: var(--lr-radius, 16px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.tc-closing p {
  margin: 0;
  font-family: var(--ff-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.05rem;
  color: rgba(248, 248, 248, 0.85);
  line-height: 1.65;
}

.tc-footer-note {
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 12px;
  color: rgba(248, 248, 248, 0.4);
  text-align: center;
  line-height: 1.7;
}

.tc-footer-note a {
  color: var(--lr-gold, #D4AF37);
  text-decoration: none;
}

.tc-footer-note a:hover {
  color: var(--lr-white, #F8F8F8);
  text-decoration: underline;
}

.tc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 4px;
}

.tc-cta .btn {
  font-size: 13px;
  padding: 12px 24px;
}

.tc-cta .btn-outline {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--lr-gold, #D4AF37);
}

.tc-cta .btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--lr-gold, #D4AF37);
}

/* Encabezados modales documentales — barra dorada */
#terms-conditions-modal .lr-modal__titles h2,
#privacy-policy-modal .lr-modal__titles h2,
#why-us-modal .lr-modal__titles h2,
#private-services-modal .lr-modal__titles h2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  overflow-wrap: break-word;
  line-height: 1.35;
}

#terms-conditions-modal .lr-modal__titles h2::before,
#privacy-policy-modal .lr-modal__titles h2::before,
#why-us-modal .lr-modal__titles h2::before,
#private-services-modal .lr-modal__titles h2::before {
  content: '';
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--lr-gold, #D4AF37), var(--lr-gold-dark, #B8860B));
  flex-shrink: 0;
  margin-top: 4px;
}

#terms-conditions-modal .lr-modal__titles p,
#privacy-policy-modal .lr-modal__titles p,
#why-us-modal .lr-modal__titles p,
#private-services-modal .lr-modal__titles p {
  max-width: 100%;
  overflow-wrap: break-word;
  line-height: 1.45;
}

#terms-conditions-modal .lr-modal__body,
#privacy-policy-modal .lr-modal__body,
#why-us-modal .lr-modal__body,
#private-services-modal .lr-modal__body {
  overflow-x: hidden;
}

@media (max-width: 480px) {
  .tc-content { font-size: 13px; }
  .tc-section h3,
  .tc-group-title { font-size: 1rem; }
  .tc-table { font-size: 12px; min-width: 280px; }
  .tc-table th,
  .tc-table td { padding: 10px; }
  .tc-cta { flex-direction: column; }
  .tc-cta .btn { width: 100%; justify-content: center; }
}
