/* Import base design tokens */
@import url("/assets/base/base-73b08c68.css");

/* === SECCIÓN LEGALES / REQUISITOS === */
.legales-section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-surface) 100%);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

/* TITULOS Y TEXTOS */
.section.legales-section h2 {
  color: var(--color-primary-dark);
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 1rem;
}


.legales-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: var(--color-text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* CONTENEDOR DE ACORDEONES */
.legales-acordeones {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* BLOQUES <details> */
.legales-acordeones details {
  background: var(--color-surface);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.2rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.legales-acordeones details:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* TITULO DEL ACORDEON */
.legales-acordeones summary {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
}

.legales-acordeones summary::-webkit-details-marker {
  display: none;
}

/* CONTENIDO */
.legales-acordeones p,
.legales-acordeones ul {
  color: var(--color-text-primary);
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
}

.legales-acordeones ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.6rem 0;
}

.legales-acordeones li {
  margin-bottom: 0.4rem;
  color: var(--color-text-primary);
  line-height: 1.6;
}


/* BANDERA ARGENTINA */
.flag-icon {
  width: 26px;
  height: 18px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-xs);
  object-fit: cover;
}

/* ====== RESPONSIVE ====== */
body, html {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 768px) {
  .legales-section {
    padding: 3rem 1rem;
  }

  .legales-section h2 {
    font-size: 1.8rem;
  }

  .legales-acordeones summary {
    font-size: 1rem;
  }

  .legales-acordeones p,
  .legales-acordeones li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .legales-section {
    padding: 2.5rem 0.8rem;
    border-radius: 0;
    box-shadow: none;
  }

  .legales-section h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .legales-intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .legales-acordeones details {
    padding: 0.8rem;
  }
}

.legales-block {
  background: var(--color-surface);
  border-radius: var(--border-radius-md);
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  text-align: left;
}

.legales-block h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.legales-block p,
.legales-block ul {
  color: var(--color-text-primary);
  line-height: 1.6;
  font-size: 1rem;
}

.legales-block ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.info-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 600px) {
  .legales-block h3 {
    font-size: 1.1rem;
  }
  .legales-block p, .legales-block li {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
