/* ========== LEGAL PAGES (Terminos & Privacidad) ========== */

.legal-page {
   max-width: 800px;
   margin: 0 auto;
   padding: 40px 30px 60px;
   color: rgba(255, 255, 255, 0.9);
   font-family: 'Titillium Web', Arial, sans-serif;
}

.legal-page h1 {
   font-size: 32px;
   font-weight: 900;
   color: #FFDA68;
   text-align: center;
   letter-spacing: 2px;
   margin: 0 0 8px;
   text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
   animation: legalFadeIn 0.6s ease-out;
}
.legal-meta {
   text-align: center;
   color: rgba(255, 255, 255, 0.4);
   font-size: 13px;
   margin: 0 0 30px;
   letter-spacing: 1px;
}
.legal-intro {
   font-size: 15px;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.75);
   margin-bottom: 35px;
   padding-bottom: 25px;
   border-bottom: 2px solid rgba(95, 143, 73, 0.3);
}

/* Section headings */
.legal-page h2 {
   font-size: 18px;
   font-weight: 800;
   color: #FFDA68;
   margin: 40px 0 16px;
   padding: 12px 18px;
   background: linear-gradient(135deg, rgba(95, 143, 73, 0.25), rgba(30, 70, 30, 0.3));
   border-left: 4px solid #5F8F49;
   border-radius: 0 8px 8px 0;
   text-decoration: none;
   letter-spacing: 0.5px;
}
.legal-page h3 {
   font-size: 15px;
   font-weight: 700;
   color: #FFDA68;
   margin: 20px 0 10px;
   opacity: 0.9;
}

/* Body text */
.legal-page p {
   font-size: 14px;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 16px;
}
.legal-page em {
   color: rgba(255, 255, 255, 0.6);
}
.legal-page strong {
   color: #fff;
}
.legal-page a {
   color: #FFDA68;
   text-decoration: none;
   border-bottom: 1px solid rgba(255, 218, 104, 0.3);
   transition: all 0.2s ease;
}
.legal-page a:hover {
   color: #fff;
   border-bottom-color: #fff;
}

/* Lists */
.legal-page ul {
   margin: 0 0 20px;
   padding: 0 0 0 20px;
   list-style: none;
}
.legal-page ul li {
   font-size: 14px;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 10px;
   padding-left: 16px;
   position: relative;
}
.legal-page ul li::before {
   content: '';
   position: absolute;
   left: 0;
   top: 10px;
   width: 6px;
   height: 6px;
   background: #5F8F49;
   border-radius: 50%;
}

/* Tables */
.legal-page table {
   width: 100%;
   border-collapse: collapse;
   margin: 16px 0 24px;
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.legal-page thead tr {
   background: linear-gradient(135deg, #5F8F49, #3a6b2a);
}
.legal-page thead th {
   padding: 12px 14px;
   font-size: 12px;
   font-weight: 700;
   color: #fff;
   text-align: left;
   text-transform: uppercase;
   letter-spacing: 1px;
   border: none;
}
.legal-page tbody tr {
   background: rgba(25, 47, 26, 0.5);
   transition: background 0.2s ease;
}
.legal-page tbody tr:nth-child(even) {
   background: rgba(19, 33, 20, 0.5);
}
.legal-page tbody tr:hover {
   background: rgba(95, 143, 73, 0.15);
}
.legal-page tbody td {
   padding: 11px 14px;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.8);
   border: none;
   border-bottom: 1px solid rgba(95, 143, 73, 0.15);
}
.legal-page tbody td strong {
   color: #FFDA68;
}

/* Code */
.legal-page code {
   background: rgba(0, 0, 0, 0.3);
   padding: 2px 8px;
   border-radius: 4px;
   font-size: 12px;
   color: #7ab362;
}

/* Footer links */
.legal-footer {
   margin-top: 50px;
   padding-top: 25px;
   border-top: 2px solid rgba(95, 143, 73, 0.3);
   text-align: center;
   font-size: 13px;
}
.legal-footer a {
   color: rgba(255, 255, 255, 0.5);
   margin: 0 12px;
   border-bottom: none;
}
.legal-footer a:hover {
   color: #FFDA68;
}

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

/* Responsive */
@media (max-width: 768px) {
   .legal-page {
      padding: 25px 16px 40px;
   }
   .legal-page h1 {
      font-size: 24px;
   }
   .legal-page h2 {
      font-size: 16px;
   }
   .legal-page table {
      display: block;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
   }
}
