/* Reset y base              */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
 
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #fdf8fa;
  color: #2D0A1D;
  line-height: 1.6;
  overflow-x: hidden;
}
 

/* Hero Banner — base mobile */

.page-hero {
  position: relative;
  padding: 48px 16px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #D03D84 0%, #6A2B8D 50%, #6a11cb 100%);
}
 
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
 
.page-hero .label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f9e0ec;
  margin-bottom: 10px;
  font-weight: 700;
}
 
.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  word-break: break-word;
}
 
.page-hero p {
  font-size: 0.85rem;
  opacity: 0.88;
  line-height: 1.5;
}
 

/* Back Link — base mobile   */

.back-link-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 0;
}
 
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9D1D5E;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: gap 0.2s;
}
 
.back-link:hover { gap: 10px; }
 
/* Legal Wrapper & Card      */

.legal-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 12px 60px;
}
 
.legal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 24px 16px;
}
 

/* Legal Sections            */

.legal-section {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.5s ease forwards;
}
 
.legal-section:nth-child(1)  { animation-delay: 0.05s; }
.legal-section:nth-child(2)  { animation-delay: 0.10s; }
.legal-section:nth-child(3)  { animation-delay: 0.15s; }
.legal-section:nth-child(4)  { animation-delay: 0.20s; }
.legal-section:nth-child(5)  { animation-delay: 0.25s; }
.legal-section:nth-child(6)  { animation-delay: 0.30s; }
.legal-section:nth-child(7)  { animation-delay: 0.35s; }
.legal-section:nth-child(8)  { animation-delay: 0.40s; }
.legal-section:nth-child(9)  { animation-delay: 0.45s; }
.legal-section:nth-child(10) { animation-delay: 0.50s; }
 
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
 
.legal-section h2 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9D1D5E;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
 
.legal-section h2 .icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f9e0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #d03d84;
  flex-shrink: 0;
}
 
.legal-section p {
  font-size: 0.82rem;
  color: #4A1D33;
  line-height: 1.7;
  opacity: 0.85;
}
 

/* Info Box                  */

.info-box {
  background: linear-gradient(135deg, #fdf0f6, #f5e6f5);
  border-left: 4px solid #E94B8B;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}
 
.info-box p {
  font-size: 0.82rem;
  color: #2D0A1D;
  line-height: 1.8;
  opacity: 1;
  word-break: break-word;
}
 
.info-box strong { color: #9D1D5E; }
 
.info-box a,
.legal-section a {
  color: #d03d84;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}
 
.info-box a:hover,
.legal-section a:hover {
  text-decoration: underline;
}
 

/* Legal List                */

.legal-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
 
.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #4A1D33;
  line-height: 1.6;
  opacity: 0.85;
}
 
.legal-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #E94B8B;
  flex-shrink: 0;
  margin-top: 7px;
}
 

/* Rights Grid               */

.rights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
 
.right-item {
  background: #fdf0f6;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #2D0A1D;
  font-weight: 600;
}
 
.right-item i { color: #d03d84; font-size: 0.95rem; }
 

/* Divider & Copyright*/

.legal-divider {
  border: none;
  border-top: 1px solid #f0dde8;
  margin: 0 0 28px;
}
 
.legal-copy {
  text-align: center;
  font-size: 0.72rem;
  color: #9D1D5E;
  font-weight: 600;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #f0dde8;
}
 

/* Footer*/

.footer {
  background-color: #0d0d1a;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.65rem;
  color: #555;
  letter-spacing: 0.5px;
}
 

@media (max-width: 319px) {
  .page-hero {
    padding: 36px 10px 28px;
  }
 
  .page-hero h1 {
    font-size: 1.25rem;
    line-height: 1.25;
  }
 
  .page-hero .label {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
  }
 
  .page-hero p {
    font-size: 0.75rem;
  }
 
  .back-link-wrap {
    padding: 14px 10px 0;
  }
 
  .back-link {
    font-size: 0.72rem;
  }
 
  .legal-wrapper {
    padding: 14px 8px 48px;
  }
 
  .legal-card {
    padding: 18px 12px;
    border-radius: 12px;
  }
 
  .legal-section {
    margin-bottom: 20px;
  }
 
  .legal-section h2 {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    gap: 6px;
  }
 
  .legal-section h2 .icon-badge {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
 
  .legal-section p,
  .legal-list li,
  .right-item,
  .info-box p {
    font-size: 0.75rem;
  }
 
  .info-box {
    padding: 12px 10px;
  }
 
  .right-item {
    padding: 10px 10px;
    font-size: 0.75rem;
  }
 
  .legal-divider {
    margin: 0 0 20px;
  }
 
  .footer {
    font-size: 0.58rem;
    padding: 14px 8px;
  }
}
 
/* ============================================================ */
/* BREAKPOINT: móviles 320px–479px (base ya cubre esto,         */
/* ajustes menores de comodidad)                                */
/* ============================================================ */
@media (min-width: 320px) {
  .page-hero {
    padding: 52px 20px 44px;
  }
 
  .page-hero h1 {
    font-size: 1.75rem;
  }
 
  .page-hero p {
    font-size: 0.88rem;
  }
 
  .back-link-wrap {
    padding: 22px 20px 0;
  }
 
  .legal-wrapper {
    padding: 24px 16px 64px;
  }
 
  .legal-card {
    padding: 28px 20px;
  }
 
  .legal-section h2 {
    font-size: 0.85rem;
  }
 
  .legal-section p,
  .legal-list li,
  .info-box p {
    font-size: 0.85rem;
  }
}
 
/* ============================================================ */
/* BREAKPOINT: móviles grandes / phablets 480px–767px           */
/* ============================================================ */
@media (min-width: 480px) {
  .page-hero {
    padding: 60px 24px 50px;
  }
 
  .page-hero h1 {
    font-size: 2rem;
  }
 
  .page-hero .label {
    font-size: 0.62rem;
    letter-spacing: 2.5px;
  }
 
  .page-hero p {
    font-size: 0.95rem;
  }
 
  .legal-wrapper {
    padding: 28px 20px 72px;
  }
 
  .legal-card {
    padding: 32px 28px;
    border-radius: 20px;
  }
 
  .legal-section {
    margin-bottom: 32px;
  }
 
  .legal-section h2 {
    font-size: 0.9rem;
    letter-spacing: 1.2px;
  }
 
  .legal-section h2 .icon-badge {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
 
  .legal-section p,
  .legal-list li,
  .info-box p {
    font-size: 0.88rem;
  }
 
  .right-item {
    font-size: 0.85rem;
    padding: 13px 16px;
  }
 
  /* 2 columnas de derechos en pantallas medianas */
  .rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .legal-divider {
    margin: 0 0 32px;
  }
}
 
/* ============================================================ */
/* BREAKPOINT: tablet 768px–1023px                              */
/* ============================================================ */
@media (min-width: 768px) {
  .page-hero {
    padding: 72px 32px 56px;
  }
 
  .page-hero h1 {
    font-size: 2.4rem;
    line-height: 1.15;
  }
 
  .page-hero .label {
    font-size: 0.65rem;
    letter-spacing: 3px;
  }
 
  .page-hero p {
    font-size: 1rem;
  }
 
  .back-link-wrap {
    padding: 28px 32px 0;
  }
 
  .back-link {
    font-size: 0.85rem;
  }
 
  .legal-wrapper {
    padding: 32px 32px 80px;
  }
 
  .legal-card {
    padding: 40px 36px;
    border-radius: 22px;
  }
 
  .legal-section {
    margin-bottom: 36px;
  }
 
  .legal-section h2 {
    font-size: 0.95rem;
    letter-spacing: 1.4px;
    gap: 10px;
  }
 
  .legal-section h2 .icon-badge {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
 
  .legal-section p,
  .legal-list li,
  .info-box p {
    font-size: 0.9rem;
  }
 
  .info-box {
    padding: 18px 22px;
  }
 
  /* 3 columnas de derechos en tablet */
  .rights-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
 
  .right-item {
    font-size: 0.88rem;
    padding: 14px 18px;
  }
 
  .legal-divider {
    margin: 0 0 36px;
  }
 
  .legal-copy {
    font-size: 0.76rem;
    margin-top: 44px;
  }
 
  .footer {
    font-size: 0.7rem;
    padding: 18px 24px;
  }
}
 
/* ============================================================ */
/* BREAKPOINT: desktop 1024px+                                  */
/* ============================================================ */
@media (min-width: 1024px) {
  .page-hero {
    padding: 90px 40px 70px;
  }
 
  .page-hero h1 {
    font-size: 2.8rem;
  }
 
  .page-hero p {
    font-size: 1.1rem;
  }
 
  .back-link-wrap {
    padding: 32px 0 0;
  }
 
  .legal-wrapper {
    padding: 36px 0 100px;
  }
 
  .legal-card {
    padding: 48px 56px;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.08);
  }
 
  .legal-section {
    margin-bottom: 40px;
  }
 
  .legal-section h2 {
    font-size: 1rem;
    letter-spacing: 1.5px;
  }
 
  .legal-section p,
  .legal-list li,
  .info-box p {
    font-size: 0.92rem;
    line-height: 1.75;
  }
 
  .info-box {
    padding: 20px 24px;
  }
 
  .right-item {
    font-size: 0.9rem;
    padding: 14px 18px;
  }
 
  .legal-divider {
    margin: 0 0 40px;
  }
 
  .legal-copy {
    font-size: 0.78rem;
    margin-top: 48px;
    padding-top: 24px;
  }
 
  .footer {
    font-size: 0.72rem;
    padding: 20px 24px;
    letter-spacing: 0.6px;
  }
}
 
/* ============================================================ */
/* Accesibilidad: respeta preferencias de movimiento reducido   */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .legal-section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}